Package net.minecraft.nbt.scanner
Enum Class NbtScanner.Result
- All Implemented Interfaces:
Serializable
,Comparable<NbtScanner.Result>
,Constable
- Enclosing interface:
NbtScanner
- Mappings:
Namespace Name official rn$b
intermediary net/minecraft/class_6836$class_6838
named 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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic NbtScanner.Result
Returns 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 a
Lrn$b;a:Lrn$b;
intermediary field_36253
Lnet/minecraft/class_6836$class_6838;field_36253:Lnet/minecraft/class_6836$class_6838;
named CONTINUE
Lnet/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 b
Lrn$b;b:Lrn$b;
intermediary field_36254
Lnet/minecraft/class_6836$class_6838;field_36254:Lnet/minecraft/class_6836$class_6838;
named BREAK
Lnet/minecraft/nbt/scanner/NbtScanner$Result;BREAK:Lnet/minecraft/nbt/scanner/NbtScanner$Result;
-
HALT
Halts the whole scanning completely.- Mappings:
Namespace Name Mixin selector official c
Lrn$b;c:Lrn$b;
intermediary field_36255
Lnet/minecraft/class_6836$class_6838;field_36255:Lnet/minecraft/class_6836$class_6838;
named HALT
Lnet/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
-