Interface LootNbtProvider

All Known Implementing Classes:
ContextLootNbtProvider, StorageLootNbtProvider

public interface LootNbtProvider
Mappings:
Namespace Name
official egd
intermediary net/minecraft/class_5651
named net/minecraft/loot/provider/nbt/LootNbtProvider
  • Method Details

    • getNbt

      @Nullable @Nullable NbtElement getNbt(LootContext context)
      Mappings:
      Namespace Name Mixin selector
      official a Legd;a(Lecq;)Lrq;
      intermediary method_32440 Lnet/minecraft/class_5651;method_32440(Lnet/minecraft/class_47;)Lnet/minecraft/class_2520;
      named getNbt Lnet/minecraft/loot/provider/nbt/LootNbtProvider;getNbt(Lnet/minecraft/loot/context/LootContext;)Lnet/minecraft/nbt/NbtElement;
    • getRequiredParameters

      Set<LootContextParameter<?>> getRequiredParameters()
      Mappings:
      Namespace Name Mixin selector
      official b Legd;b()Ljava/util/Set;
      intermediary method_32441 Lnet/minecraft/class_5651;method_32441()Ljava/util/Set;
      named getRequiredParameters Lnet/minecraft/loot/provider/nbt/LootNbtProvider;getRequiredParameters()Ljava/util/Set;
    • getType

      Mappings:
      Namespace Name Mixin selector
      official a Legd;a()Legc;
      intermediary method_32439 Lnet/minecraft/class_5651;method_32439()Lnet/minecraft/class_5650;
      named getType Lnet/minecraft/loot/provider/nbt/LootNbtProvider;getType()Lnet/minecraft/loot/provider/nbt/LootNbtProviderType;