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 ecr
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 Lecr;a:Lacq;
      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 source)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lecr;<init>(Lacq;)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 Lecp;a()Leco;
      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 Lecp;a(Ldzc;)Lrk;
      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 Lecp;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;