Is your feature request related to a problem?
The BlockDispenseLootEvent does not currently provide a way to get the LootTable being run. This makes it impossible to determine what loot table a Trial Spawner is dropping loot for. Vaults are excluded from this, because they can only contain a single loot table which can be acquired through the block state, unlike trial spawners which can contain many weighted entries.
Describe the solution you'd like.
I've taken a look at the patches for where the BlockDispenseLootEvent are being called, it looks like the LootTable being run is already available in scope and just needs to be mapped to a Bukkit version and given to the event.
Describe alternatives you've considered.
None, I don't think there are any reasonable alternatives
Other
No response
Is your feature request related to a problem?
The BlockDispenseLootEvent does not currently provide a way to get the LootTable being run. This makes it impossible to determine what loot table a Trial Spawner is dropping loot for. Vaults are excluded from this, because they can only contain a single loot table which can be acquired through the block state, unlike trial spawners which can contain many weighted entries.
Describe the solution you'd like.
I've taken a look at the patches for where the BlockDispenseLootEvent are being called, it looks like the LootTable being run is already available in scope and just needs to be mapped to a Bukkit version and given to the event.
Describe alternatives you've considered.
None, I don't think there are any reasonable alternatives
Other
No response