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