Package net.minecraft.nbt.scanner
Enum Class NbtScanner.NestedResult
- All Implemented Interfaces:
Serializable
,Comparable<NbtScanner.NestedResult>
,Constable
- Enclosing interface:
NbtScanner
- Mappings:
Namespace Name official th$a
intermediary net/minecraft/class_6836$class_6837
named net/minecraft/nbt/scanner/NbtScanner$NestedResult
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic NbtScanner.NestedResult
Returns the enum constant of this class with the specified name.static NbtScanner.NestedResult[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ENTER
Proceeds to visit more data of this element, or to enter this element. (this element is a list element or a sub NBT)- Mappings:
Namespace Name Mixin selector official a
Lth$a;a:Lth$a;
intermediary field_36248
Lnet/minecraft/class_6836$class_6837;field_36248:Lnet/minecraft/class_6836$class_6837;
named ENTER
Lnet/minecraft/nbt/scanner/NbtScanner$NestedResult;ENTER:Lnet/minecraft/nbt/scanner/NbtScanner$NestedResult;
-
SKIP
Skips this element and visit the next list element or sub NBT.- Mappings:
Namespace Name Mixin selector official b
Lth$a;b:Lth$a;
intermediary field_36249
Lnet/minecraft/class_6836$class_6837;field_36249:Lnet/minecraft/class_6836$class_6837;
named SKIP
Lnet/minecraft/nbt/scanner/NbtScanner$NestedResult;SKIP:Lnet/minecraft/nbt/scanner/NbtScanner$NestedResult;
-
BREAK
Skips the whole list or compound NBT currently under scan. Will make a call toNbtScanner.endNested()
.- Mappings:
Namespace Name Mixin selector official c
Lth$a;c:Lth$a;
intermediary field_36250
Lnet/minecraft/class_6836$class_6837;field_36250:Lnet/minecraft/class_6836$class_6837;
named BREAK
Lnet/minecraft/nbt/scanner/NbtScanner$NestedResult;BREAK:Lnet/minecraft/nbt/scanner/NbtScanner$NestedResult;
-
HALT
Halts the whole scanning completely.- Mappings:
Namespace Name Mixin selector official d
Lth$a;d:Lth$a;
intermediary field_36251
Lnet/minecraft/class_6836$class_6837;field_36251:Lnet/minecraft/class_6836$class_6837;
named HALT
Lnet/minecraft/nbt/scanner/NbtScanner$NestedResult;HALT:Lnet/minecraft/nbt/scanner/NbtScanner$NestedResult;
-
-
Constructor Details
-
NestedResult
private NestedResult()
-
-
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
-