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 yx
  • Field Details

    • CODEC

      static final com.mojang.serialization.MapCodec<NbtDataSource> 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 Lyx;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 Lyx;a(Lew;)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 Lyx;a()Lyx$a;