Interface LootTableLoadingCallback
- 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 LootTableLoadingCallback
An event handler that is called when loot tables are loaded.
Use
EVENT to register instances.-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceLootTableLoadingCallback.LootTableSetter -
Field Summary
Fields Modifier and Type Field Description static Event<LootTableLoadingCallback>EVENT -
Method Summary
Modifier and Type Method Description voidonLootTableLoading(net.minecraft.resource.ResourceManager resourceManager, net.minecraft.loot.LootManager manager, net.minecraft.util.Identifier id, FabricLootSupplierBuilder supplier, LootTableLoadingCallback.LootTableSetter setter)
-
Field Details
-
EVENT
-
-
Method Details
-
onLootTableLoading
void onLootTableLoading(net.minecraft.resource.ResourceManager resourceManager, net.minecraft.loot.LootManager manager, net.minecraft.util.Identifier id, FabricLootSupplierBuilder supplier, LootTableLoadingCallback.LootTableSetter setter)
-