| Package | Description |
|---|---|
| com.comphenix.protocol |
Contains classes for retrieving the main ProtocolMananger object.
|
| com.comphenix.protocol.injector |
| Modifier and Type | Method and Description |
|---|---|
PacketConstructor |
ProtocolManager.createPacketConstructor(int id,
Object... arguments)
Deprecated.
|
PacketConstructor |
ProtocolManager.createPacketConstructor(PacketType type,
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 |
PacketConstructor.withPacket(int id,
Object[] values)
Deprecated.
|
PacketConstructor |
PacketConstructor.withPacket(PacketType type,
Object[] values)
Create a packet constructor that creates packets using the given types.
|
PacketConstructor |
PacketConstructor.withUnwrappers(List<PacketConstructor.Unwrapper> unwrappers)
Return a copy of the current constructor with a different list of unwrappers.
|
Copyright © 2012–2017 Comphenix and dmulloy2. Licensed under the GNU GPL v2.