Package | Description |
---|---|
com.comphenix.protocol | |
com.comphenix.protocol.async | |
com.comphenix.protocol.injector | |
com.comphenix.protocol.reflect | |
com.comphenix.protocol.reflect.compiler |
Modifier and Type | Method and Description |
---|---|
static java.util.Set<java.lang.Integer> |
Packets.Server.getSupported()
Retrieve every client packet the current version of Minecraft is aware of.
|
static java.util.Set<java.lang.Integer> |
Packets.Client.getSupported()
Retrieve every client packet the current version of Minecraft is aware of.
|
static boolean |
Packets.Server.isSupported(int packetID)
Determine if the given packet is a valid server packet in the current version of Minecraft.
|
static boolean |
Packets.Client.isSupported(int packetID)
Determine if the given packet is a valid client packet in the current version of Minecraft.
|
void |
ProtocolManager.updateEntity(org.bukkit.entity.Entity entity,
java.util.List<org.bukkit.entity.Player> observers)
Completely refresh all clients about an entity.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AsyncMarker.isMinecraftAsync(PacketEvent event)
Determine if Minecraft allows asynchronous processing of this packet.
|
Modifier and Type | Method and Description |
---|---|
PacketContainer |
PacketConstructor.createPacket(java.lang.Object... values)
Construct a packet using the special builtin Minecraft constructors.
|
static java.util.Set<java.lang.Integer> |
PacketFilterManager.getClientPackets()
Retrieve every known and supported client packet.
|
static java.util.Set<java.lang.Integer> |
PacketFilterManager.getServerPackets()
Retrieve every known and supported server packet.
|
void |
PacketFilterManager.updateEntity(org.bukkit.entity.Entity entity,
java.util.List<org.bukkit.entity.Player> observers) |
Modifier and Type | Method and Description |
---|---|
static FieldAccessException |
FieldAccessException.fromFormat(java.lang.String message,
java.lang.Object... params) |
Modifier and Type | Method and Description |
---|---|
java.util.List<TField> |
StructureModifier.getValues()
Retrieve every value stored in the fields of the current type.
|
StructureModifier<TField> |
StructureModifier.modify(int fieldIndex,
com.google.common.base.Function<TField,TField> select)
Correctly modifies the value of a field.
|
TField |
StructureModifier.read(int fieldIndex)
Reads the value of a field given its index.
|
TField |
StructureModifier.readSafely(int fieldIndex)
Reads the value of a field if and ONLY IF it exists.
|
void |
StructureModifierTest.test() |
StructureModifier<TField> |
StructureModifier.write(int fieldIndex,
TField value)
Writes the value of a field given its index.
|
StructureModifier<TField> |
StructureModifier.writeDefaults()
Sets all non-primitive fields to a more fitting default value.
|
StructureModifier<TField> |
StructureModifier.writeSafely(int fieldIndex,
TField value)
Writes the value of a given field IF and ONLY if it exists.
|
Modifier and Type | Method and Description |
---|---|
TField |
CompiledStructureModifier.read(int fieldIndex) |
protected abstract java.lang.Object |
CompiledStructureModifier.readGenerated(int fieldIndex) |
protected java.lang.Object |
CompiledStructureModifier.readReflected(int index)
Read the given field index using reflection.
|
StructureModifier<TField> |
CompiledStructureModifier.write(int index,
java.lang.Object value) |
StructureModifier<TField> |
CompiledStructureModifier.writeDefaults() |
protected abstract StructureModifier<TField> |
CompiledStructureModifier.writeGenerated(int index,
java.lang.Object value) |
protected void |
CompiledStructureModifier.writeReflected(int index,
java.lang.Object value)
Write the given field using reflection.
|