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 rl$a
intermediary net/minecraft/class_2730$class_2731
named 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 INITIALIZE
LERP_SIZE
SET_CENTER
SET_SIZE
SET_WARNING_BLOCKS
SET_WARNING_TIME
-
Constructor Summary
Constructors Modifier Constructor Description private
Type()
-
Method Summary
Modifier and Type Method Description static WorldBorderS2CPacket.Type
valueOf(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 a
Lrl$a;a:Lrl$a;
intermediary field_12456
Lnet/minecraft/class_2730$class_2731;field_12456:Lnet/minecraft/class_2730$class_2731;
named SET_SIZE
Lnet/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 b
Lrl$a;b:Lrl$a;
intermediary field_12452
Lnet/minecraft/class_2730$class_2731;field_12452:Lnet/minecraft/class_2730$class_2731;
named LERP_SIZE
Lnet/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 c
Lrl$a;c:Lrl$a;
intermediary field_12450
Lnet/minecraft/class_2730$class_2731;field_12450:Lnet/minecraft/class_2730$class_2731;
named SET_CENTER
Lnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket$Type;SET_CENTER:Lnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket$Type;
-
INITIALIZE
- Mappings:
Namespace Name Mixin selector official d
Lrl$a;d:Lrl$a;
intermediary field_12454
Lnet/minecraft/class_2730$class_2731;field_12454:Lnet/minecraft/class_2730$class_2731;
named INITIALIZE
Lnet/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 e
Lrl$a;e:Lrl$a;
intermediary field_12455
Lnet/minecraft/class_2730$class_2731;field_12455:Lnet/minecraft/class_2730$class_2731;
named SET_WARNING_TIME
Lnet/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 f
Lrl$a;f:Lrl$a;
intermediary field_12451
Lnet/minecraft/class_2730$class_2731;field_12451:Lnet/minecraft/class_2730$class_2731;
named SET_WARNING_BLOCKS
Lnet/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
-