Interface LootTableGenerator

All Known Implementing Classes:
BarterLootTableGenerator, BlockLootTableGenerator, ChestLootTableGenerator, EntityLootTableGenerator, FishingLootTableGenerator, GiftLootTableGenerator, OneTwentyBlockLootTableGenerator, VanillaBlockLootTableGenerator, VanillaEntityLootTableGenerator
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 ka
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 Lka;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