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