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/NbtDataSourceintermediary net/minecraft/class_7419official zj
-
Method Summary
Modifier and TypeMethodDescriptionget(ServerCommandSource source) com.mojang.serialization.MapCodec<? extends NbtDataSource> getCodec()
-
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 getLnet/minecraft/text/NbtDataSource;get(Lnet/minecraft/server/command/ServerCommandSource;)Ljava/util/stream/Stream;intermediary method_10916Lnet/minecraft/class_7419;method_10916(Lnet/minecraft/class_2168;)Ljava/util/stream/Stream;official aLzj;a(Lej;)Ljava/util/stream/Stream;
-
getCodec
com.mojang.serialization.MapCodec<? extends NbtDataSource> getCodec()- Mappings:
Namespace Name Mixin selector named getCodecLnet/minecraft/text/NbtDataSource;getCodec()Lcom/mojang/serialization/MapCodec;intermediary method_74066Lnet/minecraft/class_7419;method_74066()Lcom/mojang/serialization/MapCodec;official aLzj;a()Lcom/mojang/serialization/MapCodec;
-