Package net.minecraft.nbt.scanner
Interface SimpleNbtScanner
- All Superinterfaces:
NbtScanner
A simple NBT scanner visits all elements shallowly, allowing
implementations to override it and perform more actions.
- Mappings:
Namespace Name named net/minecraft/nbt/scanner/SimpleNbtScanner
intermediary net/minecraft/class_6845
official wf
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.nbt.scanner.NbtScanner
NbtScanner.NestedResult, NbtScanner.Result
-
Field Summary
Modifier and TypeFieldDescriptionstatic final SimpleNbtScanner
The simple NBT scanner that performs no action. -
Method Summary
Modifier and TypeMethodDescriptiondefault NbtScanner.Result
Ends a nested visit.default NbtScanner.Result
Starts a visit to an NBT structure.default NbtScanner.NestedResult
startListItem
(NbtType<?> type, int index) Starts a visit to an NBT structure in an element of a list NBT.default NbtScanner.NestedResult
startSubNbt
(NbtType<?> type, String key) Starts a visit to an NBT structure in the sub NBT of a compound NBT.default NbtScanner.Result
visitByte
(byte value) default NbtScanner.Result
visitByteArray
(byte[] value) default NbtScanner.Result
visitDouble
(double value) default NbtScanner.Result
visitEnd()
default NbtScanner.Result
visitFloat
(float value) default NbtScanner.Result
visitInt
(int value) default NbtScanner.Result
visitIntArray
(int[] value) default NbtScanner.Result
visitListMeta
(NbtType<?> entryType, int length) default NbtScanner.Result
visitLong
(long value) default NbtScanner.Result
visitLongArray
(long[] value) default NbtScanner.Result
visitShort
(short value) default NbtScanner.Result
visitString
(String value) default NbtScanner.NestedResult
visitSubNbtType
(NbtType<?> type)
-
Field Details
-
NOOP
The simple NBT scanner that performs no action.- Mappings:
Namespace Name Mixin selector named NOOP
Lnet/minecraft/nbt/scanner/SimpleNbtScanner;NOOP:Lnet/minecraft/nbt/scanner/SimpleNbtScanner;
intermediary field_36264
Lnet/minecraft/class_6845;field_36264:Lnet/minecraft/class_6845;
official a
Lwf;a:Lwf;
-
-
Method Details
-
visitEnd
- Specified by:
visitEnd
in interfaceNbtScanner
- Mappings:
Namespace Name Mixin selector named visitEnd
Lnet/minecraft/nbt/scanner/NbtScanner;visitEnd()Lnet/minecraft/nbt/scanner/NbtScanner$Result;
intermediary method_39856
Lnet/minecraft/class_6836;method_39856()Lnet/minecraft/class_6836$class_6838;
official a
Lvr;a()Lvr$b;
-
visitString
- Specified by:
visitString
in interfaceNbtScanner
- Mappings:
Namespace Name Mixin selector named visitString
Lnet/minecraft/nbt/scanner/NbtScanner;visitString(Ljava/lang/String;)Lnet/minecraft/nbt/scanner/NbtScanner$Result;
intermediary method_39862
Lnet/minecraft/class_6836;method_39862(Ljava/lang/String;)Lnet/minecraft/class_6836$class_6838;
official a
Lvr;a(Ljava/lang/String;)Lvr$b;
-
visitByte
- Specified by:
visitByte
in interfaceNbtScanner
- Mappings:
Namespace Name Mixin selector named visitByte
Lnet/minecraft/nbt/scanner/NbtScanner;visitByte(B)Lnet/minecraft/nbt/scanner/NbtScanner$Result;
intermediary method_39857
Lnet/minecraft/class_6836;method_39857(B)Lnet/minecraft/class_6836$class_6838;
official a
Lvr;a(B)Lvr$b;
-
visitShort
- Specified by:
visitShort
in interfaceNbtScanner
- Mappings:
Namespace Name Mixin selector named visitShort
Lnet/minecraft/nbt/scanner/NbtScanner;visitShort(S)Lnet/minecraft/nbt/scanner/NbtScanner$Result;
intermediary method_39866
Lnet/minecraft/class_6836;method_39866(S)Lnet/minecraft/class_6836$class_6838;
official a
Lvr;a(S)Lvr$b;
-
visitInt
- Specified by:
visitInt
in interfaceNbtScanner
- Mappings:
Namespace Name Mixin selector named visitInt
Lnet/minecraft/nbt/scanner/NbtScanner;visitInt(I)Lnet/minecraft/nbt/scanner/NbtScanner$Result;
intermediary method_39860
Lnet/minecraft/class_6836;method_39860(I)Lnet/minecraft/class_6836$class_6838;
official a
Lvr;a(I)Lvr$b;
-
visitLong
- Specified by:
visitLong
in interfaceNbtScanner
- Mappings:
Namespace Name Mixin selector named visitLong
Lnet/minecraft/nbt/scanner/NbtScanner;visitLong(J)Lnet/minecraft/nbt/scanner/NbtScanner$Result;
intermediary method_39861
Lnet/minecraft/class_6836;method_39861(J)Lnet/minecraft/class_6836$class_6838;
official a
Lvr;a(J)Lvr$b;
-
visitFloat
- Specified by:
visitFloat
in interfaceNbtScanner
- Mappings:
Namespace Name Mixin selector named visitFloat
Lnet/minecraft/nbt/scanner/NbtScanner;visitFloat(F)Lnet/minecraft/nbt/scanner/NbtScanner$Result;
intermediary method_39859
Lnet/minecraft/class_6836;method_39859(F)Lnet/minecraft/class_6836$class_6838;
official a
Lvr;a(F)Lvr$b;
-
visitDouble
- Specified by:
visitDouble
in interfaceNbtScanner
- Mappings:
Namespace Name Mixin selector named visitDouble
Lnet/minecraft/nbt/scanner/NbtScanner;visitDouble(D)Lnet/minecraft/nbt/scanner/NbtScanner$Result;
intermediary method_39858
Lnet/minecraft/class_6836;method_39858(D)Lnet/minecraft/class_6836$class_6838;
official a
Lvr;a(D)Lvr$b;
-
visitByteArray
- Specified by:
visitByteArray
in interfaceNbtScanner
- Mappings:
Namespace Name Mixin selector named visitByteArray
Lnet/minecraft/nbt/scanner/NbtScanner;visitByteArray([B)Lnet/minecraft/nbt/scanner/NbtScanner$Result;
intermediary method_39867
Lnet/minecraft/class_6836;method_39867([B)Lnet/minecraft/class_6836$class_6838;
official a
Lvr;a([B)Lvr$b;
-
visitIntArray
- Specified by:
visitIntArray
in interfaceNbtScanner
- Mappings:
Namespace Name Mixin selector named visitIntArray
Lnet/minecraft/nbt/scanner/NbtScanner;visitIntArray([I)Lnet/minecraft/nbt/scanner/NbtScanner$Result;
intermediary method_39868
Lnet/minecraft/class_6836;method_39868([I)Lnet/minecraft/class_6836$class_6838;
official a
Lvr;a([I)Lvr$b;
-
visitLongArray
- Specified by:
visitLongArray
in interfaceNbtScanner
- Mappings:
Namespace Name Mixin selector named visitLongArray
Lnet/minecraft/nbt/scanner/NbtScanner;visitLongArray([J)Lnet/minecraft/nbt/scanner/NbtScanner$Result;
intermediary method_39869
Lnet/minecraft/class_6836;method_39869([J)Lnet/minecraft/class_6836$class_6838;
official a
Lvr;a([J)Lvr$b;
-
visitListMeta
- Specified by:
visitListMeta
in interfaceNbtScanner
- Mappings:
Namespace Name Mixin selector named visitListMeta
Lnet/minecraft/nbt/scanner/NbtScanner;visitListMeta(Lnet/minecraft/nbt/NbtType;I)Lnet/minecraft/nbt/scanner/NbtScanner$Result;
intermediary method_39864
Lnet/minecraft/class_6836;method_39864(Lnet/minecraft/class_4614;I)Lnet/minecraft/class_6836$class_6838;
official a
Lvr;a(Lvw;I)Lvr$b;
-
startListItem
Starts a visit to an NBT structure in an element of a list NBT.- Specified by:
startListItem
in interfaceNbtScanner
- See Also:
- Mappings:
Namespace Name Mixin selector named startListItem
Lnet/minecraft/nbt/scanner/NbtScanner;startListItem(Lnet/minecraft/nbt/NbtType;I)Lnet/minecraft/nbt/scanner/NbtScanner$NestedResult;
intermediary method_39872
Lnet/minecraft/class_6836;method_39872(Lnet/minecraft/class_4614;I)Lnet/minecraft/class_6836$class_6837;
official b
Lvr;b(Lvw;I)Lvr$a;
-
visitSubNbtType
- Specified by:
visitSubNbtType
in interfaceNbtScanner
- Mappings:
Namespace Name Mixin selector named visitSubNbtType
Lnet/minecraft/nbt/scanner/NbtScanner;visitSubNbtType(Lnet/minecraft/nbt/NbtType;)Lnet/minecraft/nbt/scanner/NbtScanner$NestedResult;
intermediary method_39863
Lnet/minecraft/class_6836;method_39863(Lnet/minecraft/class_4614;)Lnet/minecraft/class_6836$class_6837;
official a
Lvr;a(Lvw;)Lvr$a;
-
startSubNbt
Starts a visit to an NBT structure in the sub NBT of a compound NBT.- Specified by:
startSubNbt
in interfaceNbtScanner
- See Also:
- Mappings:
Namespace Name Mixin selector named startSubNbt
Lnet/minecraft/nbt/scanner/NbtScanner;startSubNbt(Lnet/minecraft/nbt/NbtType;Ljava/lang/String;)Lnet/minecraft/nbt/scanner/NbtScanner$NestedResult;
intermediary method_39865
Lnet/minecraft/class_6836;method_39865(Lnet/minecraft/class_4614;Ljava/lang/String;)Lnet/minecraft/class_6836$class_6837;
official a
Lvr;a(Lvw;Ljava/lang/String;)Lvr$a;
-
endNested
Ends a nested visit.This is guaranteed to be called once for each call to
start(net.minecraft.nbt.NbtType<?>)
,visitSubNbtType(net.minecraft.nbt.NbtType<?>)
, andstartListItem(net.minecraft.nbt.NbtType<?>, int)
where the list or the compound NBT type is passed, unless the visit is halted.- Specified by:
endNested
in interfaceNbtScanner
- Mappings:
Namespace Name Mixin selector named endNested
Lnet/minecraft/nbt/scanner/NbtScanner;endNested()Lnet/minecraft/nbt/scanner/NbtScanner$Result;
intermediary method_39870
Lnet/minecraft/class_6836;method_39870()Lnet/minecraft/class_6836$class_6838;
official b
Lvr;b()Lvr$b;
-
start
Starts a visit to an NBT structure.- Specified by:
start
in interfaceNbtScanner
- See Also:
- Mappings:
Namespace Name Mixin selector named start
Lnet/minecraft/nbt/scanner/NbtScanner;start(Lnet/minecraft/nbt/NbtType;)Lnet/minecraft/nbt/scanner/NbtScanner$Result;
intermediary method_39871
Lnet/minecraft/class_6836;method_39871(Lnet/minecraft/class_4614;)Lnet/minecraft/class_6836$class_6838;
official b
Lvr;b(Lvw;)Lvr$b;
-