Enum Class TeamS2CPacket.Operation

java.lang.Object
java.lang.Enum<TeamS2CPacket.Operation>
net.minecraft.network.packet.s2c.play.TeamS2CPacket.Operation
All Implemented Interfaces:
Serializable, Comparable<TeamS2CPacket.Operation>, Constable
Enclosing class:
TeamS2CPacket

public static enum TeamS2CPacket.Operation extends Enum<TeamS2CPacket.Operation>
Mappings:
Namespace Name
official tw$a
intermediary net/minecraft/class_5900$class_5901
named net/minecraft/network/packet/s2c/play/TeamS2CPacket$Operation
  • Enum Constant Details

    • ADD

      public static final TeamS2CPacket.Operation ADD
      Mappings:
      Namespace Name Mixin selector
      official a Ltw$a;a:Ltw$a;
      intermediary field_29155 Lnet/minecraft/class_5900$class_5901;field_29155:Lnet/minecraft/class_5900$class_5901;
      named ADD Lnet/minecraft/network/packet/s2c/play/TeamS2CPacket$Operation;ADD:Lnet/minecraft/network/packet/s2c/play/TeamS2CPacket$Operation;
    • REMOVE

      public static final TeamS2CPacket.Operation REMOVE
      Mappings:
      Namespace Name Mixin selector
      official b Ltw$a;b:Ltw$a;
      intermediary field_29156 Lnet/minecraft/class_5900$class_5901;field_29156:Lnet/minecraft/class_5900$class_5901;
      named REMOVE Lnet/minecraft/network/packet/s2c/play/TeamS2CPacket$Operation;REMOVE:Lnet/minecraft/network/packet/s2c/play/TeamS2CPacket$Operation;
  • Constructor Details

    • Operation

      private Operation()
  • Method Details

    • values

      public static TeamS2CPacket.Operation[] 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 TeamS2CPacket.Operation 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