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 ecb
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 Lecb;a:Ladd;
      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> Lecb;<init>(Ladd;)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 Lebz;a()Leby;
      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 Lebz;a(Ldyr;)Lrx;
      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 Lebz;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;