Enum Class EntityPacketType

java.lang.Object
java.lang.Enum<EntityPacketType>
zombie.entity.network.EntityPacketType
All Implemented Interfaces:
Serializable, Comparable<EntityPacketType>, Constable

public enum EntityPacketType extends Enum<EntityPacketType>
  • Enum Constant Details

  • Method Details

    • values

      public static EntityPacketType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static EntityPacketType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getGroup

      public PacketGroup getGroup()
    • isEntityPacket

      public boolean isEntityPacket()
    • isComponentPacket

      public boolean isComponentPacket()
    • saveToByteBuffer

      public void saveToByteBuffer(ByteBufferWriter byteBufferWriter)
    • saveToByteBuffer

      public void saveToByteBuffer(ByteBuffer byteBuffer)
    • FromByteBuffer

      public static EntityPacketType FromByteBuffer(ByteBuffer byteBuffer)