Interface LootTableGenerator

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

    • accept

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