Interface LootDataLookup

All Known Implementing Classes:
LootManager
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface LootDataLookup
Mappings:
Namespace Name
official ecu
intermediary net/minecraft/class_8489
named net/minecraft/loot/LootDataLookup
  • Method Details

    • getElement

      @Nullable <T> T getElement(LootDataKey<T> key)
      Mappings:
      Namespace Name Mixin selector
      official getElement Lecu;getElement(Lecs;)Ljava/lang/Object;
      intermediary getElement Lnet/minecraft/class_8489;getElement(Lnet/minecraft/class_8488;)Ljava/lang/Object;
      named getElement Lnet/minecraft/loot/LootDataLookup;getElement(Lnet/minecraft/loot/LootDataKey;)Ljava/lang/Object;
    • getElement

      @Nullable default <T> T getElement(LootDataType<T> type, Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official getElement Lecu;getElement(Lecv;Laew;)Ljava/lang/Object;
      intermediary getElement Lnet/minecraft/class_8489;getElement(Lnet/minecraft/class_8490;Lnet/minecraft/class_2960;)Ljava/lang/Object;
      named getElement Lnet/minecraft/loot/LootDataLookup;getElement(Lnet/minecraft/loot/LootDataType;Lnet/minecraft/util/Identifier;)Ljava/lang/Object;
    • getElementOptional

      default <T> Optional<T> getElementOptional(LootDataKey<T> key)
      Mappings:
      Namespace Name Mixin selector
      official getElementOptional Lecu;getElementOptional(Lecs;)Ljava/util/Optional;
      intermediary getElementOptional Lnet/minecraft/class_8489;getElementOptional(Lnet/minecraft/class_8488;)Ljava/util/Optional;
      named getElementOptional Lnet/minecraft/loot/LootDataLookup;getElementOptional(Lnet/minecraft/loot/LootDataKey;)Ljava/util/Optional;
    • getElementOptional

      default <T> Optional<T> getElementOptional(LootDataType<T> type, Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official getElementOptional Lecu;getElementOptional(Lecv;Laew;)Ljava/util/Optional;
      intermediary getElementOptional Lnet/minecraft/class_8489;getElementOptional(Lnet/minecraft/class_8490;Lnet/minecraft/class_2960;)Ljava/util/Optional;
      named getElementOptional Lnet/minecraft/loot/LootDataLookup;getElementOptional(Lnet/minecraft/loot/LootDataType;Lnet/minecraft/util/Identifier;)Ljava/util/Optional;
    • getLootTable

      default LootTable getLootTable(Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official getLootTable Lecu;getLootTable(Laew;)Lecy;
      intermediary getLootTable Lnet/minecraft/class_8489;getLootTable(Lnet/minecraft/class_2960;)Lnet/minecraft/class_52;
      named getLootTable Lnet/minecraft/loot/LootDataLookup;getLootTable(Lnet/minecraft/util/Identifier;)Lnet/minecraft/loot/LootTable;