Interface SimpleLootTableProvider.LootTableRegistrar

Enclosing class:
SimpleLootTableProvider
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 static interface SimpleLootTableProvider.LootTableRegistrar
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    register(@NotNull net.minecraft.resources.ResourceLocation id, @NotNull net.minecraft.world.level.storage.loot.parameters.LootContextParamSet type, net.minecraft.world.level.storage.loot.LootTable.Builder table)
     
  • Method Details

    • register

      void register(@NotNull @NotNull net.minecraft.resources.ResourceLocation id, @NotNull @NotNull net.minecraft.world.level.storage.loot.parameters.LootContextParamSet type, @NotNull net.minecraft.world.level.storage.loot.LootTable.Builder table)