kotlin
object LootTableEventLoot table events for NeoForge platform.
LootTableEvent.onLootTableReplace
kotlin
@JvmField
@JvmField val onLootTableReplaceEvent triggered to replace a loot table entirely.
Returns
The replacement LootTable, or null to keep the original. Note: This is a placeholder for NeoForge compatibility.
LootTableEvent.onLootTableModify
kotlin
@JvmField
@JvmField val onLootTableModifyEvent triggered to modify a loot table's contents. Use this to add or remove loot pool entries. Note: This is a placeholder for NeoForge compatibility.
LootTableEvent.onLootTableAllLoad
kotlin
@JvmField
@JvmField val onLootTableAllLoadEvent triggered when all loot tables have been loaded. Use this for post-processing after all tables are available. Note: This is a placeholder for NeoForge compatibility.
LootTableEvent.onLootTableModifyDrops
kotlin
@JvmField
@JvmField val onLootTableModifyDropsEvent triggered to modify the drops from a loot table. Use this to customize what items are actually dropped. Note: This is a placeholder for NeoForge compatibility.