From dc3df3edd5843bde0c1335d6a8e460b2c832aa48 Mon Sep 17 00:00:00 2001 From: Foghrye4 Date: Sat, 17 Jun 2017 08:12:18 +0300 Subject: full project files --- .../registry/IEntityAdditionalSpawnData.html | 229 +++++++++++++++++++++ 1 file changed, 229 insertions(+) create mode 100644 javadoc/cpw/mods/fml/common/registry/IEntityAdditionalSpawnData.html (limited to 'javadoc/cpw/mods/fml/common/registry/IEntityAdditionalSpawnData.html') diff --git a/javadoc/cpw/mods/fml/common/registry/IEntityAdditionalSpawnData.html b/javadoc/cpw/mods/fml/common/registry/IEntityAdditionalSpawnData.html new file mode 100644 index 0000000..5c947c2 --- /dev/null +++ b/javadoc/cpw/mods/fml/common/registry/IEntityAdditionalSpawnData.html @@ -0,0 +1,229 @@ + + + + + +IEntityAdditionalSpawnData (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
cpw.mods.fml.common.registry
+

Interface IEntityAdditionalSpawnData

+
+
+
+
    +
  • +
    +
    +
    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

      + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      voidreadSpawnData(io.netty.buffer.ByteBuf additionalData) +
      Called by the client when it receives a Entity spawn packet.
      +
      voidwriteSpawnData(io.netty.buffer.ByteBuf buffer) +
      Called by the server when constructing the spawn packet.
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        writeSpawnData

        +
        void writeSpawnData(io.netty.buffer.ByteBuf buffer)
        +
        Called by the server when constructing the spawn packet. + Data should be added to the provided stream.
        +
        Parameters:
        buffer - The packet data stream
        +
      • +
      + + + +
        +
      • +

        readSpawnData

        +
        void readSpawnData(io.netty.buffer.ByteBuf additionalData)
        +
        Called by the client when it receives a Entity spawn packet. + Data should be read out of the stream in the same way as it was written.
        +
        Parameters:
        data - The packet data stream
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + -- cgit v1.2.3