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 dmw
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 Ldmw;a:Lyb;
      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 Ldmu;a()Ldmt;
      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;
    • getNbt

      @Nullable public @Nullable NbtElement getNbt(LootContext context)
      Specified by:
      getNbt in interface LootNbtProvider
      Mappings:
      Namespace Name Mixin selector
      official a Ldmu;a(Ldjn;)Lot;
      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

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