Enum Class Network2C

java.lang.Object
java.lang.Enum<Network2C>
com.beansgalaxy.backpacks.network.Network2C
All Implemented Interfaces:
Serializable, Comparable<Network2C>, Constable

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

    • SYNC_VIEWERS_2C

      public static final Network2C SYNC_VIEWERS_2C
    • SYNC_BACK_SLOT_2C

      public static final Network2C SYNC_BACK_SLOT_2C
    • SYNC_BACK_INV_2C

      public static final Network2C SYNC_BACK_INV_2C
    • CONFIG_TRAITS_2C

      public static final Network2C CONFIG_TRAITS_2C
    • CONFIG_LISTS_2C

      public static final Network2C CONFIG_LISTS_2C
    • ENDER_POS_2C

      public static final Network2C ENDER_POS_2C
    • SEND_ENDER_DATA_2C

      public static final Network2C SEND_ENDER_DATA_2C
  • Field Details

    • packet

      public final Network2C.Packet<? extends Packet2C> packet
    • id

      public final net.minecraft.resources.ResourceLocation id
  • Method Details

    • values

      public static Network2C[] 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 Network2C 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
    • debugMsgEncode

      public void debugMsgEncode()
    • debugMsgDecode

      public void debugMsgDecode()