Enum WorldBorderS2CPacket.Type
java.lang.Object
java.lang.Enum<WorldBorderS2CPacket.Type>
net.minecraft.network.packet.s2c.play.WorldBorderS2CPacket.Type
- All Implemented Interfaces:
Serializable,Comparable<WorldBorderS2CPacket.Type>,java.lang.constant.Constable
- Enclosing class:
- WorldBorderS2CPacket
public static enum WorldBorderS2CPacket.Type extends Enum<WorldBorderS2CPacket.Type>
- Mappings:
Namespace Name official hg$aintermediary net/minecraft/class_1522$class_1523named net/minecraft/network/packet/s2c/play/WorldBorderS2CPacket$Type
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants Enum Constant Description INITIALIZELERP_SIZESET_CENTERSET_SIZESET_WARNING_BLOCKSSET_WARNING_TIME -
Constructor Summary
Constructors Modifier Constructor Description privateType() -
Method Summary
Modifier and Type Method Description static WorldBorderS2CPacket.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static WorldBorderS2CPacket.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SET_SIZE
- Mappings:
Namespace Name Mixin selector official aLhg$a;a:Lhg$a;intermediary field_6286Lnet/minecraft/class_1522$class_1523;field_6286:Lnet/minecraft/class_1522$class_1523;named SET_SIZELnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket$Type;SET_SIZE:Lnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket$Type;
-
LERP_SIZE
- Mappings:
Namespace Name Mixin selector official bLhg$a;b:Lhg$a;intermediary field_6287Lnet/minecraft/class_1522$class_1523;field_6287:Lnet/minecraft/class_1522$class_1523;named LERP_SIZELnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket$Type;LERP_SIZE:Lnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket$Type;
-
SET_CENTER
- Mappings:
Namespace Name Mixin selector official cLhg$a;c:Lhg$a;intermediary field_6288Lnet/minecraft/class_1522$class_1523;field_6288:Lnet/minecraft/class_1522$class_1523;named SET_CENTERLnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket$Type;SET_CENTER:Lnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket$Type;
-
INITIALIZE
- Mappings:
Namespace Name Mixin selector official dLhg$a;d:Lhg$a;intermediary field_6289Lnet/minecraft/class_1522$class_1523;field_6289:Lnet/minecraft/class_1522$class_1523;named INITIALIZELnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket$Type;INITIALIZE:Lnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket$Type;
-
SET_WARNING_TIME
- Mappings:
Namespace Name Mixin selector official eLhg$a;e:Lhg$a;intermediary field_6290Lnet/minecraft/class_1522$class_1523;field_6290:Lnet/minecraft/class_1522$class_1523;named SET_WARNING_TIMELnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket$Type;SET_WARNING_TIME:Lnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket$Type;
-
SET_WARNING_BLOCKS
- Mappings:
Namespace Name Mixin selector official fLhg$a;f:Lhg$a;intermediary field_6291Lnet/minecraft/class_1522$class_1523;field_6291:Lnet/minecraft/class_1522$class_1523;named SET_WARNING_BLOCKSLnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket$Type;SET_WARNING_BLOCKS:Lnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket$Type;
-
-
Constructor Details
-
Type
private Type()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-