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 dhq
intermediary net/minecraft/class_5653
named net/minecraft/loot/provider/nbt/StorageLootNbtProvider
  • Field Details

    • source

      private final Identifier source
      Mappings:
      Namespace Name Mixin selector
      official a Ldhq;a:Lwb;
      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

      private StorageLootNbtProvider​(Identifier source)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldhq;<init>(Lwb;)V
      intermediary <init> Lnet/minecraft/class_5653;<init>(Lnet/minecraft/class_2960;)V
      named <init> Lnet/minecraft/loot/provider/nbt/StorageLootNbtProvider;<init>(Lnet/minecraft/util/Identifier;)V
  • Method Details

    • getType

      public LootNbtProviderType getType()
      Specified by:
      getType in interface LootNbtProvider
      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;
    • getNbtTag

      @Nullable public Tag getNbtTag​(LootContext context)
      Specified by:
      getNbtTag in interface LootNbtProvider
      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

      public Set<LootContextParameter<?>> getRequiredParameters()
      Specified by:
      getRequiredParameters in interface LootNbtProvider
      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;