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$ArrayType
intermediary net/minecraft/class_10900$class_10901
official uu$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
ConstructorsModifierConstructorDescriptionprivate
ArrayType
(SnbtParsing.NumericType elementType, SnbtParsing.NumericType[] castableTypes) -
Method Summary
Modifier and TypeMethodDescriptionabstract <T> T
createEmpty
(com.mojang.serialization.DynamicOps<T> ops) abstract <T> T
decode
(com.mojang.serialization.DynamicOps<T> ops, List<SnbtParsing.IntValue> values, ParsingState<?> state) decode
(SnbtParsing.IntValue value, ParsingState<?> state) private @Nullable SnbtParsing.NumericType
getType
(SnbtParsing.NumberSuffix suffix) boolean
static SnbtParsing.ArrayType
Returns 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 BYTE
Lnet/minecraft/nbt/SnbtParsing$ArrayType;BYTE:Lnet/minecraft/nbt/SnbtParsing$ArrayType;
intermediary field_58002
Lnet/minecraft/class_10900$class_10901;field_58002:Lnet/minecraft/class_10900$class_10901;
official a
Luu$a;a:Luu$a;
-
INT
- Mappings:
Namespace Name Mixin selector named INT
Lnet/minecraft/nbt/SnbtParsing$ArrayType;INT:Lnet/minecraft/nbt/SnbtParsing$ArrayType;
intermediary field_58003
Lnet/minecraft/class_10900$class_10901;field_58003:Lnet/minecraft/class_10900$class_10901;
official b
Luu$a;b:Luu$a;
-
LONG
- Mappings:
Namespace Name Mixin selector named LONG
Lnet/minecraft/nbt/SnbtParsing$ArrayType;LONG:Lnet/minecraft/nbt/SnbtParsing$ArrayType;
intermediary field_58004
Lnet/minecraft/class_10900$class_10901;field_58004:Lnet/minecraft/class_10900$class_10901;
official c
Luu$a;c:Luu$a;
-
-
Field Details
-
elementType
- Mappings:
Namespace Name Mixin selector named elementType
Lnet/minecraft/nbt/SnbtParsing$ArrayType;elementType:Lnet/minecraft/nbt/SnbtParsing$NumericType;
intermediary field_58005
Lnet/minecraft/class_10900$class_10901;field_58005:Lnet/minecraft/class_10900$class_10909;
official d
Luu$a;d:Luu$i;
-
castableTypes
- Mappings:
Namespace Name Mixin selector named castableTypes
Lnet/minecraft/nbt/SnbtParsing$ArrayType;castableTypes:Ljava/util/Set;
intermediary field_58006
Lnet/minecraft/class_10900$class_10901;field_58006:Ljava/util/Set;
official e
Luu$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;)V
intermediary <init>
Lnet/minecraft/class_10900$class_10901;<init>(Ljava/lang/String;ILnet/minecraft/class_10900$class_10909;[Lnet/minecraft/class_10900$class_10909;)V
official <init>
Luu$a;<init>(Ljava/lang/String;ILuu$i;[Luu$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 isTypeAllowed
Lnet/minecraft/nbt/SnbtParsing$ArrayType;isTypeAllowed(Lnet/minecraft/nbt/SnbtParsing$NumericType;)Z
intermediary method_68647
Lnet/minecraft/class_10900$class_10901;method_68647(Lnet/minecraft/class_10900$class_10909;)Z
official a
Luu$a;a(Luu$i;)Z
-
createEmpty
public abstract <T> T createEmpty(com.mojang.serialization.DynamicOps<T> ops) - Mappings:
Namespace Name Mixin selector named createEmpty
Lnet/minecraft/nbt/SnbtParsing$ArrayType;createEmpty(Lcom/mojang/serialization/DynamicOps;)Ljava/lang/Object;
intermediary method_68643
Lnet/minecraft/class_10900$class_10901;method_68643(Lcom/mojang/serialization/DynamicOps;)Ljava/lang/Object;
official a
Luu$a;a(Lcom/mojang/serialization/DynamicOps;)Ljava/lang/Object;
-
decode
@Nullable public abstract <T> T decode(com.mojang.serialization.DynamicOps<T> ops, List<SnbtParsing.IntValue> values, ParsingState<?> state) - Mappings:
Namespace Name Mixin selector named decode
Lnet/minecraft/nbt/SnbtParsing$ArrayType;decode(Lcom/mojang/serialization/DynamicOps;Ljava/util/List;Lnet/minecraft/util/packrat/ParsingState;)Ljava/lang/Object;
intermediary method_68644
Lnet/minecraft/class_10900$class_10901;method_68644(Lcom/mojang/serialization/DynamicOps;Ljava/util/List;Lnet/minecraft/class_9393;)Ljava/lang/Object;
official a
Luu$a;a(Lcom/mojang/serialization/DynamicOps;Ljava/util/List;Lbqk;)Ljava/lang/Object;
-
decode
- Mappings:
Namespace Name Mixin selector named decode
Lnet/minecraft/nbt/SnbtParsing$ArrayType;decode(Lnet/minecraft/nbt/SnbtParsing$IntValue;Lnet/minecraft/util/packrat/ParsingState;)Ljava/lang/Number;
intermediary method_68645
Lnet/minecraft/class_10900$class_10901;method_68645(Lnet/minecraft/class_10900$class_10903;Lnet/minecraft/class_9393;)Ljava/lang/Number;
official a
Luu$a;a(Luu$c;Lbqk;)Ljava/lang/Number;
-
getType
- Mappings:
Namespace Name Mixin selector named getType
Lnet/minecraft/nbt/SnbtParsing$ArrayType;getType(Lnet/minecraft/nbt/SnbtParsing$NumberSuffix;)Lnet/minecraft/nbt/SnbtParsing$NumericType;
intermediary method_68646
Lnet/minecraft/class_10900$class_10901;method_68646(Lnet/minecraft/class_10900$class_10904;)Lnet/minecraft/class_10900$class_10909;
official a
Luu$a;a(Luu$d;)Luu$i;
-