Interface NbtDataSource

All Known Implementing Classes:
BlockNbtDataSource, EntityNbtDataSource, StorageNbtDataSource
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface NbtDataSource
A data source for the NBT text content. Unmodifiable.
Mappings:
Namespace Name
official um
intermediary net/minecraft/class_7419
named net/minecraft/text/NbtDataSource
  • 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 getData Lum;getData(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;