|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEntityAdditionalSpawnData
A interface for Entities that need extra information to be communicated between the server and client when they are spawned.
Method Summary | |
---|---|
void |
readSpawnData(com.google.common.io.ByteArrayDataInput data)
Called by the client when it receives a Entity spawn packet. |
void |
writeSpawnData(com.google.common.io.ByteArrayDataOutput data)
Called by the server when constructing the spawn packet. |
Method Detail |
---|
void writeSpawnData(com.google.common.io.ByteArrayDataOutput data)
data
- The packet data streamvoid readSpawnData(com.google.common.io.ByteArrayDataInput data)
data
- The packet data stream
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |