| Package | Description |
|---|---|
| com.comphenix.protocol |
Contains classes for retrieving the main ProtocolMananger object.
|
| com.comphenix.protocol.async | |
| com.comphenix.protocol.injector | |
| com.comphenix.protocol.injector.packet | |
| com.comphenix.protocol.reflect | |
| com.comphenix.protocol.reflect.compiler |
| Modifier and Type | Method and Description |
|---|---|
org.bukkit.entity.Entity |
ProtocolManager.getEntityFromID(org.bukkit.World container,
int id)
Retrieve the associated entity.
|
List<org.bukkit.entity.Player> |
ProtocolManager.getEntityTrackers(org.bukkit.entity.Entity entity)
Retrieve every client that is receiving information about a given entity.
|
void |
ProtocolManager.updateEntity(org.bukkit.entity.Entity entity,
List<org.bukkit.entity.Player> observers)
Completely resend an entity to a list of clients.
|
| 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(Object... values)
Construct a packet using the special builtin Minecraft constructors.
|
| Modifier and Type | Method and Description |
|---|---|
static Set<Integer> |
PacketRegistry.getClientPackets()
Deprecated.
|
static Set<Integer> |
PacketRegistry.getServerPackets()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static FieldAccessException |
FieldAccessException.fromFormat(String message,
Object... params) |
| Modifier and Type | Method and Description |
|---|---|
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 only if it exists.
|
void |
StructureModifier.setReadOnly(int fieldIndex,
boolean value)
Set whether or not a field should be treated as read only.
|
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 |
|---|---|
Object |
CompiledStructureModifier.read(int fieldIndex) |
protected abstract Object |
CompiledStructureModifier.readGenerated(int fieldIndex) |
protected Object |
CompiledStructureModifier.readReflected(int index)
Read the given field index using reflection.
|
void |
CompiledStructureModifier.setReadOnly(int fieldIndex,
boolean value) |
StructureModifier<Object> |
CompiledStructureModifier.write(int index,
Object value) |
StructureModifier<Object> |
CompiledStructureModifier.writeDefaults() |
protected abstract StructureModifier<Object> |
CompiledStructureModifier.writeGenerated(int index,
Object value) |
protected void |
CompiledStructureModifier.writeReflected(int index,
Object value)
Write the given field using reflection.
|
Copyright © 2012–2017 Comphenix and dmulloy2. Licensed under the GNU GPL v2.