Class StorageLootNbtProvider

java.lang.Object
net.minecraft.loot.provider.nbt.StorageLootNbtProvider
All Implemented Interfaces:
LootNbtProvider

public class StorageLootNbtProvider extends Object implements LootNbtProvider
Mappings:
Namespace Name
official dlx
intermediary net/minecraft/class_5653
named net/minecraft/loot/provider/nbt/StorageLootNbtProvider
  • Field Details

    • source

      final Identifier source
      Mappings:
      Namespace Name Mixin selector
      official a Ldlx;a:Lww;
      intermediary field_27920 Lnet/minecraft/class_5653;field_27920:Lnet/minecraft/class_2960;
      named source Lnet/minecraft/loot/provider/nbt/StorageLootNbtProvider;source:Lnet/minecraft/util/Identifier;
  • Constructor Details

    • StorageLootNbtProvider

      StorageLootNbtProvider(Identifier identifier)
  • Method Details

    • getType

      public LootNbtProviderType getType()
      Specified by:
      getType in interface LootNbtProvider
      Mappings:
      Namespace Name Mixin selector
      official a Ldlv;a()Ldlu;
      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;
    • getNbtTag

      @Nullable public @Nullable NbtElement getNbtTag(LootContext context)
      Specified by:
      getNbtTag in interface LootNbtProvider
      Mappings:
      Namespace Name Mixin selector
      official a Ldlv;a(Ldip;)Lns;
      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/NbtElement;
    • getRequiredParameters

      public Set<LootContextParameter<?>> getRequiredParameters()
      Specified by:
      getRequiredParameters in interface LootNbtProvider
      Mappings:
      Namespace Name Mixin selector
      official b Ldlv;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;