Interface LootTableGenerator

All Known Implementing Classes:
BlockLootTableGenerator, EntityLootTableGenerator, TradeRebalanceChestLootTableGenerator, VanillaArchaeologyLootTableGenerator, VanillaBarterLootTableGenerator, VanillaBlockLootTableGenerator, VanillaChestLootTableGenerator, VanillaEntityLootTableGenerator, VanillaEquipmentLootTableGenerator, VanillaFishingLootTableGenerator, VanillaGiftLootTableGenerator, VanillaShearingLootTableGenerator
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 LootTableGenerator
Mappings:
Namespace Name
named net/minecraft/data/server/loottable/LootTableGenerator
intermediary net/minecraft/class_7791
official mt
  • Method Details

    • accept

      void accept(BiConsumer<RegistryKey<LootTable>,LootTable.Builder> lootTableBiConsumer)
      Mappings:
      Namespace Name Mixin selector
      named accept Lnet/minecraft/data/server/loottable/LootTableGenerator;accept(Ljava/util/function/BiConsumer;)V
      intermediary method_10399 Lnet/minecraft/class_7791;method_10399(Ljava/util/function/BiConsumer;)V
      official generate Lmt;generate(Ljava/util/function/BiConsumer;)V