Package net.minecraft.nbt
Enum Class SnbtParsing.ArrayType
- All Implemented Interfaces:
Serializable,Comparable<SnbtParsing.ArrayType>,Constable
- Enclosing class:
SnbtParsing
- Mappings:
Namespace Name named net/minecraft/nbt/SnbtParsing$ArrayTypeintermediary net/minecraft/class_10900$class_10901official vu$a
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Set<SnbtParsing.NumericType> private final SnbtParsing.NumericType -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateArrayType(SnbtParsing.NumericType elementType, SnbtParsing.NumericType[] castableTypes) -
Method Summary
Modifier and TypeMethodDescriptionabstract <T> TcreateEmpty(com.mojang.serialization.DynamicOps<T> ops) abstract <T> @Nullable Tdecode(com.mojang.serialization.DynamicOps<T> ops, List<SnbtParsing.IntValue> values, ParsingState<?> state) protected @Nullable Numberdecode(SnbtParsing.IntValue value, ParsingState<?> state) private @Nullable SnbtParsing.NumericTypegetType(SnbtParsing.NumberSuffix suffix) booleanstatic SnbtParsing.ArrayTypeReturns the enum constant of this class with the specified name.static SnbtParsing.ArrayType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BYTE
- Mappings:
Namespace Name Mixin selector named BYTELnet/minecraft/nbt/SnbtParsing$ArrayType;BYTE:Lnet/minecraft/nbt/SnbtParsing$ArrayType;intermediary field_58002Lnet/minecraft/class_10900$class_10901;field_58002:Lnet/minecraft/class_10900$class_10901;official aLvu$a;a:Lvu$a;
-
INT
- Mappings:
Namespace Name Mixin selector named INTLnet/minecraft/nbt/SnbtParsing$ArrayType;INT:Lnet/minecraft/nbt/SnbtParsing$ArrayType;intermediary field_58003Lnet/minecraft/class_10900$class_10901;field_58003:Lnet/minecraft/class_10900$class_10901;official bLvu$a;b:Lvu$a;
-
LONG
- Mappings:
Namespace Name Mixin selector named LONGLnet/minecraft/nbt/SnbtParsing$ArrayType;LONG:Lnet/minecraft/nbt/SnbtParsing$ArrayType;intermediary field_58004Lnet/minecraft/class_10900$class_10901;field_58004:Lnet/minecraft/class_10900$class_10901;official cLvu$a;c:Lvu$a;
-
-
Field Details
-
elementType
- Mappings:
Namespace Name Mixin selector named elementTypeLnet/minecraft/nbt/SnbtParsing$ArrayType;elementType:Lnet/minecraft/nbt/SnbtParsing$NumericType;intermediary field_58005Lnet/minecraft/class_10900$class_10901;field_58005:Lnet/minecraft/class_10900$class_10909;official dLvu$a;d:Lvu$i;
-
castableTypes
- Mappings:
Namespace Name Mixin selector named castableTypesLnet/minecraft/nbt/SnbtParsing$ArrayType;castableTypes:Ljava/util/Set;intermediary field_58006Lnet/minecraft/class_10900$class_10901;field_58006:Ljava/util/Set;official eLvu$a;e:Ljava/util/Set;
-
-
Constructor Details
-
ArrayType
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/nbt/SnbtParsing$ArrayType;<init>(Ljava/lang/String;ILnet/minecraft/nbt/SnbtParsing$NumericType;[Lnet/minecraft/nbt/SnbtParsing$NumericType;)Vintermediary <init>Lnet/minecraft/class_10900$class_10901;<init>(Ljava/lang/String;ILnet/minecraft/class_10900$class_10909;[Lnet/minecraft/class_10900$class_10909;)Vofficial <init>Lvu$a;<init>(Ljava/lang/String;ILvu$i;[Lvu$i;)V
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
isTypeAllowed
- Mappings:
Namespace Name Mixin selector named isTypeAllowedLnet/minecraft/nbt/SnbtParsing$ArrayType;isTypeAllowed(Lnet/minecraft/nbt/SnbtParsing$NumericType;)Zintermediary method_68647Lnet/minecraft/class_10900$class_10901;method_68647(Lnet/minecraft/class_10900$class_10909;)Zofficial aLvu$a;a(Lvu$i;)Z
-
createEmpty
public abstract <T> T createEmpty(com.mojang.serialization.DynamicOps<T> ops) - Mappings:
Namespace Name Mixin selector named createEmptyLnet/minecraft/nbt/SnbtParsing$ArrayType;createEmpty(Lcom/mojang/serialization/DynamicOps;)Ljava/lang/Object;intermediary method_68643Lnet/minecraft/class_10900$class_10901;method_68643(Lcom/mojang/serialization/DynamicOps;)Ljava/lang/Object;official aLvu$a;a(Lcom/mojang/serialization/DynamicOps;)Ljava/lang/Object;
-
decode
public abstract <T> @Nullable T decode(com.mojang.serialization.DynamicOps<T> ops, List<SnbtParsing.IntValue> values, ParsingState<?> state) - Mappings:
Namespace Name Mixin selector named decodeLnet/minecraft/nbt/SnbtParsing$ArrayType;decode(Lcom/mojang/serialization/DynamicOps;Ljava/util/List;Lnet/minecraft/util/packrat/ParsingState;)Ljava/lang/Object;intermediary method_68644Lnet/minecraft/class_10900$class_10901;method_68644(Lcom/mojang/serialization/DynamicOps;Ljava/util/List;Lnet/minecraft/class_9393;)Ljava/lang/Object;official aLvu$a;a(Lcom/mojang/serialization/DynamicOps;Ljava/util/List;Lbyc;)Ljava/lang/Object;
-
decode
- Mappings:
Namespace Name Mixin selector named decodeLnet/minecraft/nbt/SnbtParsing$ArrayType;decode(Lnet/minecraft/nbt/SnbtParsing$IntValue;Lnet/minecraft/util/packrat/ParsingState;)Ljava/lang/Number;intermediary method_68645Lnet/minecraft/class_10900$class_10901;method_68645(Lnet/minecraft/class_10900$class_10903;Lnet/minecraft/class_9393;)Ljava/lang/Number;official aLvu$a;a(Lvu$c;Lbyc;)Ljava/lang/Number;
-
getType
- Mappings:
Namespace Name Mixin selector named getTypeLnet/minecraft/nbt/SnbtParsing$ArrayType;getType(Lnet/minecraft/nbt/SnbtParsing$NumberSuffix;)Lnet/minecraft/nbt/SnbtParsing$NumericType;intermediary method_68646Lnet/minecraft/class_10900$class_10901;method_68646(Lnet/minecraft/class_10900$class_10904;)Lnet/minecraft/class_10900$class_10909;official aLvu$a;a(Lvu$d;)Lvu$i;
-