Interface LootNbtProvider

All Known Implementing Classes:
ContextLootNbtProvider, StorageLootNbtProvider

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

    • getNbtTag

      @Nullable Tag getNbtTag​(LootContext context)
      Mappings:
      Namespace Name Mixin selector
      official a Ldho;a(Ldei;)Lni;
      intermediary method_32440 Lnet/minecraft/class_5651;method_32440(Lnet/minecraft/class_47;)Lnet/minecraft/class_2520;
      named getNbtTag Lnet/minecraft/loot/provider/nbt/LootNbtProvider;getNbtTag(Lnet/minecraft/loot/context/LootContext;)Lnet/minecraft/nbt/Tag;
    • getRequiredParameters

      Set<LootContextParameter<?>> getRequiredParameters()
      Mappings:
      Namespace Name Mixin selector
      official b Ldho;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 Ldho;a()Ldhn;
      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;