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 yb
  • 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 Lyb;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 Lyb;a(Let;)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 Lyb;a()Lyb$a;