public class LootTableLoadEvent extends Event
Event.HasResult, Event.Result
Modifier and Type | Field and Description |
---|---|
private LootTableManager |
lootTableManager |
private ResourceLocation |
name |
private LootTable |
table |
Constructor and Description |
---|
LootTableLoadEvent(ResourceLocation name,
LootTable table,
LootTableManager lootTableManager) |
Modifier and Type | Method and Description |
---|---|
LootTableManager |
getLootTableManager() |
ResourceLocation |
getName() |
LootTable |
getTable() |
void |
setTable(LootTable table) |
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
private final ResourceLocation name
private LootTable table
private LootTableManager lootTableManager
public LootTableLoadEvent(ResourceLocation name, LootTable table, LootTableManager lootTableManager)
public ResourceLocation getName()
public LootTable getTable()
public LootTableManager getLootTableManager()
public void setTable(LootTable table)