Package net.minecraft.text
Interface NbtDataSource
- All Known Implementing Classes:
BlockNbtDataSource
,EntityNbtDataSource
,StorageNbtDataSource
public interface NbtDataSource
A data source for the NBT text content. Unmodifiable.
- Mappings:
Namespace Name named net/minecraft/text/NbtDataSource
intermediary net/minecraft/class_7419
official ya
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final record
NbtDataSource.Type<T extends NbtDataSource>
-
Field Summary
-
Method Summary
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/text/NbtDataSource;CODEC:Lcom/mojang/serialization/MapCodec;
intermediary field_46616
Lnet/minecraft/class_7419;field_46616:Lcom/mojang/serialization/MapCodec;
official c
Lya;c:Lcom/mojang/serialization/MapCodec;
-
-
Method Details
-
get
Stream<NbtCompound> get(ServerCommandSource source) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector named get
Lnet/minecraft/text/NbtDataSource;get(Lnet/minecraft/server/command/ServerCommandSource;)Ljava/util/stream/Stream;
intermediary method_10916
Lnet/minecraft/class_7419;method_10916(Lnet/minecraft/class_2168;)Ljava/util/stream/Stream;
official a
Lya;a(Let;)Ljava/util/stream/Stream;
-
getType
NbtDataSource.Type<?> getType()- Mappings:
Namespace Name Mixin selector named getType
Lnet/minecraft/text/NbtDataSource;getType()Lnet/minecraft/text/NbtDataSource$Type;
intermediary method_54225
Lnet/minecraft/class_7419;method_54225()Lnet/minecraft/class_7419$class_8827;
official a
Lya;a()Lya$a;
-