Package net.minecraft.text
Interface NbtDataSource
- All Known Implementing Classes:
BlockNbtDataSource
,EntityNbtDataSource
,StorageNbtDataSource
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A data source for the NBT text content. Unmodifiable.
- Mappings:
Namespace Name official tx
intermediary net/minecraft/class_7419
named net/minecraft/text/NbtDataSource
-
Method Summary
-
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 official getData
Ltx;getData(Lds;)Ljava/util/stream/Stream;
intermediary method_10916
Lnet/minecraft/class_7419;method_10916(Lnet/minecraft/class_2168;)Ljava/util/stream/Stream;
named get
Lnet/minecraft/text/NbtDataSource;get(Lnet/minecraft/server/command/ServerCommandSource;)Ljava/util/stream/Stream;
-