Requiem

Requiem

562k Downloads

[Compatibility Issue] Anonymous Loot Function is an Issue for Loot Viewer

fzzyhmstrs opened this issue ยท 0 comments

commented

Issue: The anonymous loot function created in RequiemLootTables is incompatible with my loot viewer EMI Loot, which is parsing loot tables including all their functions and conditions by type. This causes an Unsupported Operation Exception, as expected, when the parser tries to read a table containing the Requiem function with an UOE as the type return value.

I've currently handled it with try, but this leaves the function completely skipped, which is not ideal for accurate reporting/viewing of loot table information. I'm working on a datapack-driven condition/function modelling feature that will let me parse custom loot table features like your loot conditions/functions into the graphical representation I need to show to the player, and it would be nice to be able to parse this function too.

Potential fix: Implement the function fully to include the serializer and type, as has been done with the 4 conditions in the same file.