Interface NbtDataSource

All Known Implementing Classes:
BlockNbtDataSource, EntityNbtDataSource, StorageNbtDataSource

public interface NbtDataSource
A data source for the NBT text content. Unmodifiable.
Mappings:
Namespace Name
official un
intermediary net/minecraft/class_7419
named net/minecraft/text/NbtDataSource
  • Field Details

    • field_46616

      static final com.mojang.serialization.MapCodec<NbtDataSource> field_46616
      Mappings:
      Namespace Name Mixin selector
      official c Lun;c:Lcom/mojang/serialization/MapCodec;
      intermediary field_46616 Lnet/minecraft/class_7419;field_46616:Lcom/mojang/serialization/MapCodec;
      named field_46616 Lnet/minecraft/text/NbtDataSource;field_46616: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
      official a Lun;a(Ldt;)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;
    • method_54225

      NbtDataSource.class_8827<?> method_54225()
      Mappings:
      Namespace Name Mixin selector
      official a Lun;a()Lun$a;
      intermediary method_54225 Lnet/minecraft/class_7419;method_54225()Lnet/minecraft/class_7419$class_8827;
      named method_54225 Lnet/minecraft/text/NbtDataSource;method_54225()Lnet/minecraft/text/NbtDataSource$class_8827;