Package | Description |
---|---|
com.comphenix.protocol | |
com.comphenix.protocol.injector |
Modifier and Type | Method and Description |
---|---|
PacketConstructor |
ProtocolManager.createPacketConstructor(int id,
java.lang.Object... arguments)
Construct a packet using the special builtin Minecraft constructors.
|
Modifier and Type | Field and Description |
---|---|
static PacketConstructor |
PacketConstructor.DEFAULT
A packet constructor that automatically converts Bukkit types to their NMS conterpart.
|
Modifier and Type | Method and Description |
---|---|
PacketConstructor |
PacketFilterManager.createPacketConstructor(int id,
java.lang.Object... arguments) |
PacketConstructor |
PacketConstructor.withPacket(int id,
java.lang.Object[] values)
Create a packet constructor that creates packets using the given types.
|
PacketConstructor |
PacketConstructor.withUnwrappers(java.util.List<PacketConstructor.Unwrapper> unwrappers)
Return a copy of the current constructor with a different list of unwrappers.
|