Package | Description |
---|---|
com.comphenix.protocol |
Contains classes for retrieving the main ProtocolMananger object.
|
com.comphenix.protocol.events | |
com.comphenix.protocol.injector | |
com.comphenix.protocol.utility | |
com.comphenix.protocol.wrappers |
Modifier and Type | Method and Description |
---|---|
PacketContainer |
ProtocolManager.createPacket(int id)
Deprecated.
|
PacketContainer |
ProtocolManager.createPacket(int id,
boolean forceDefaults)
Deprecated.
|
PacketContainer |
ProtocolManager.createPacket(PacketType type)
Constructs a new encapsulated Minecraft packet with the given ID.
|
PacketContainer |
ProtocolManager.createPacket(PacketType type,
boolean forceDefaults)
Constructs a new encapsulated Minecraft packet with the given ID.
|
Modifier and Type | Method and Description |
---|---|
void |
ProtocolManager.broadcastServerPacket(PacketContainer packet)
Broadcast a given packet to every connected player on the server.
|
void |
ProtocolManager.broadcastServerPacket(PacketContainer packet,
org.bukkit.entity.Entity entity,
boolean includeTracker)
Broadcast a packet to every player that is receiving information about a given entity.
|
void |
ProtocolManager.broadcastServerPacket(PacketContainer packet,
org.bukkit.Location origin,
int maxObserverDistance)
Broadcast a packet to every player within the given maximum observer distance.
|
void |
PacketStream.recieveClientPacket(org.bukkit.entity.Player sender,
PacketContainer packet)
Simulate recieving a certain packet from a given player.
|
void |
ProtocolManager.recieveClientPacket(org.bukkit.entity.Player sender,
PacketContainer packet,
boolean filters)
Simulate receiving a certain packet from a given player.
|
void |
PacketStream.recieveClientPacket(org.bukkit.entity.Player sender,
PacketContainer packet,
boolean filters)
Simulate recieving a certain packet from a given player.
|
void |
PacketStream.recieveClientPacket(org.bukkit.entity.Player sender,
PacketContainer packet,
NetworkMarker marker,
boolean filters)
Simulate recieving a certain packet from a given player.
|
void |
PacketStream.sendServerPacket(org.bukkit.entity.Player receiver,
PacketContainer packet)
Send a packet to the given player.
|
void |
ProtocolManager.sendServerPacket(org.bukkit.entity.Player receiver,
PacketContainer packet,
boolean filters)
Send a packet to the given player.
|
void |
PacketStream.sendServerPacket(org.bukkit.entity.Player receiver,
PacketContainer packet,
boolean filters)
Send a packet to the given player.
|
void |
PacketStream.sendServerPacket(org.bukkit.entity.Player receiver,
PacketContainer packet,
NetworkMarker marker,
boolean filters)
Send a packet to the given player.
|
Modifier and Type | Method and Description |
---|---|
PacketContainer |
PacketContainer.deepClone()
Create a deep copy of the current packet.
|
PacketContainer |
PacketEvent.getPacket()
Retrieves the packet that will be sent to the player.
|
PacketContainer |
PacketContainer.shallowClone()
Create a shallow copy of the current packet.
|
Modifier and Type | Method and Description |
---|---|
static PacketEvent |
PacketEvent.fromClient(java.lang.Object source,
PacketContainer packet,
NetworkMarker marker,
org.bukkit.entity.Player client)
Creates an event representing a client packet transmission.
|
static PacketEvent |
PacketEvent.fromClient(java.lang.Object source,
PacketContainer packet,
org.bukkit.entity.Player client)
Creates an event representing a client packet transmission.
|
static PacketEvent |
PacketEvent.fromServer(java.lang.Object source,
PacketContainer packet,
NetworkMarker marker,
org.bukkit.entity.Player recipient)
Creates an event representing a server packet transmission.
|
static PacketEvent |
PacketEvent.fromServer(java.lang.Object source,
PacketContainer packet,
org.bukkit.entity.Player recipient)
Creates an event representing a server packet transmission.
|
void |
PacketEvent.setPacket(PacketContainer packet)
Replace the packet that will be sent to the player.
|
Modifier and Type | Method and Description |
---|---|
PacketContainer |
DelayedPacketManager.createPacket(int id)
Deprecated.
|
PacketContainer |
PacketFilterManager.createPacket(int id)
Deprecated.
|
PacketContainer |
DelayedPacketManager.createPacket(int id,
boolean forceDefaults)
Deprecated.
|
PacketContainer |
PacketFilterManager.createPacket(int id,
boolean forceDefaults)
Deprecated.
|
PacketContainer |
PacketConstructor.createPacket(java.lang.Object... values)
Construct a packet using the special builtin Minecraft constructors.
|
PacketContainer |
DelayedPacketManager.createPacket(PacketType type) |
PacketContainer |
PacketFilterManager.createPacket(PacketType type) |
PacketContainer |
DelayedPacketManager.createPacket(PacketType type,
boolean forceDefaults) |
PacketContainer |
PacketFilterManager.createPacket(PacketType type,
boolean forceDefaults) |
Modifier and Type | Method and Description |
---|---|
void |
DelayedPacketManager.broadcastServerPacket(PacketContainer packet) |
void |
PacketFilterManager.broadcastServerPacket(PacketContainer packet) |
void |
DelayedPacketManager.broadcastServerPacket(PacketContainer packet,
org.bukkit.entity.Entity entity,
boolean includeTracker) |
void |
PacketFilterManager.broadcastServerPacket(PacketContainer packet,
org.bukkit.entity.Entity entity,
boolean includeTracker) |
void |
DelayedPacketManager.broadcastServerPacket(PacketContainer packet,
org.bukkit.Location origin,
int maxObserverDistance) |
void |
PacketFilterManager.broadcastServerPacket(PacketContainer packet,
org.bukkit.Location origin,
int maxObserverDistance) |
void |
DelayedPacketManager.recieveClientPacket(org.bukkit.entity.Player sender,
PacketContainer packet) |
void |
PacketFilterManager.recieveClientPacket(org.bukkit.entity.Player sender,
PacketContainer packet) |
void |
DelayedPacketManager.recieveClientPacket(org.bukkit.entity.Player sender,
PacketContainer packet,
boolean filters) |
void |
PacketFilterManager.recieveClientPacket(org.bukkit.entity.Player sender,
PacketContainer packet,
boolean filters) |
void |
DelayedPacketManager.recieveClientPacket(org.bukkit.entity.Player sender,
PacketContainer packet,
NetworkMarker marker,
boolean filters) |
void |
PacketFilterManager.recieveClientPacket(org.bukkit.entity.Player sender,
PacketContainer packet,
NetworkMarker marker,
boolean filters) |
void |
DelayedPacketManager.sendServerPacket(org.bukkit.entity.Player receiver,
PacketContainer packet) |
void |
PacketFilterManager.sendServerPacket(org.bukkit.entity.Player reciever,
PacketContainer packet) |
void |
DelayedPacketManager.sendServerPacket(org.bukkit.entity.Player receiver,
PacketContainer packet,
boolean filters) |
void |
PacketFilterManager.sendServerPacket(org.bukkit.entity.Player reciever,
PacketContainer packet,
boolean filters) |
void |
DelayedPacketManager.sendServerPacket(org.bukkit.entity.Player receiver,
PacketContainer packet,
NetworkMarker marker,
boolean filters) |
void |
PacketFilterManager.sendServerPacket(org.bukkit.entity.Player receiver,
PacketContainer packet,
NetworkMarker marker,
boolean filters) |
Modifier and Type | Method and Description |
---|---|
static PacketContainer[] |
ChatExtensions.createChatPackets(java.lang.String message)
Construct chat packet to send in order to display a given message.
|
Modifier and Type | Method and Description |
---|---|
PacketContainer |
WrappedAttribute.getParentPacket()
Retrieve the parent update attributes packet.
|
Modifier and Type | Method and Description |
---|---|
WrappedAttribute.Builder |
WrappedAttribute.Builder.packet(PacketContainer packet)
Set the parent update attributes packet (44).
|