public interface IEntityAdditionalSpawnData
Modifier and Type | Method and Description |
---|---|
void |
readSpawnData(PacketBuffer additionalData)
Called by the client when it receives a Entity spawn packet.
|
void |
writeSpawnData(PacketBuffer buffer)
Called by the server when constructing the spawn packet.
|
void writeSpawnData(PacketBuffer buffer)
buffer
- The packet data streamvoid readSpawnData(PacketBuffer additionalData)
additionalData
- The packet data stream