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 zj
  • 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 Lzj;a(Lej;)Ljava/util/stream/Stream;
    • getCodec

      com.mojang.serialization.MapCodec<? extends NbtDataSource> getCodec()
      Mappings:
      Namespace Name Mixin selector
      named getCodec Lnet/minecraft/text/NbtDataSource;getCodec()Lcom/mojang/serialization/MapCodec;
      intermediary method_74066 Lnet/minecraft/class_7419;method_74066()Lcom/mojang/serialization/MapCodec;
      official a Lzj;a()Lcom/mojang/serialization/MapCodec;