Lootr hooks primarily off of LockableLootTileEntity's static setLootTable method as the member method doesn't contain the correct world for replacement. Attempts to hook off the latter generally require weird magic.
Functionally this is identical, although in your use-case it's slightly more cumbersome visually.
Unfortunateley the second constructor does become slightly problematic. I'm not sure how much this is used throughout your mods, so I've supported both instances.
I may also be insane.
Disclaimer: I wasn't able to fully test it because I can't get Placebo to compile due to dependency issues.
Lootr hooks primarily off of
LockableLootTileEntity
's staticsetLootTable
method as the member method doesn't contain the correct world for replacement. Attempts to hook off the latter generally require weird magic.Functionally this is identical, although in your use-case it's slightly more cumbersome visually.
Unfortunateley the second constructor does become slightly problematic. I'm not sure how much this is used throughout your mods, so I've supported both instances.
I may also be insane.
Disclaimer: I wasn't able to fully test it because I can't get Placebo to compile due to dependency issues.