Package net.minecraft.nbt.scanner
Enum Class NbtScanner.Result
- All Implemented Interfaces:
Serializable,Comparable<NbtScanner.Result>,Constable
- Enclosing interface:
NbtScanner
- Mappings:
Namespace Name official rh$bintermediary net/minecraft/class_6836$class_6838named net/minecraft/nbt/scanner/NbtScanner$Result
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic NbtScanner.ResultReturns the enum constant of this class with the specified name.static NbtScanner.Result[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CONTINUE
Proceed to visit more data of this element.- Mappings:
Namespace Name Mixin selector official aLrh$b;a:Lrh$b;intermediary field_36253Lnet/minecraft/class_6836$class_6838;field_36253:Lnet/minecraft/class_6836$class_6838;named CONTINUELnet/minecraft/nbt/scanner/NbtScanner$Result;CONTINUE:Lnet/minecraft/nbt/scanner/NbtScanner$Result;
-
BREAK
Skips the current element under scan.- Mappings:
Namespace Name Mixin selector official bLrh$b;b:Lrh$b;intermediary field_36254Lnet/minecraft/class_6836$class_6838;field_36254:Lnet/minecraft/class_6836$class_6838;named BREAKLnet/minecraft/nbt/scanner/NbtScanner$Result;BREAK:Lnet/minecraft/nbt/scanner/NbtScanner$Result;
-
HALT
Halts the whole scanning completely.- Mappings:
Namespace Name Mixin selector official cLrh$b;c:Lrh$b;intermediary field_36255Lnet/minecraft/class_6836$class_6838;field_36255:Lnet/minecraft/class_6836$class_6838;named HALTLnet/minecraft/nbt/scanner/NbtScanner$Result;HALT:Lnet/minecraft/nbt/scanner/NbtScanner$Result;
-
-
Constructor Details
-
Result
private Result()
-
-
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
-