Handy Bag creates infinite items when picking up DE loot cores
kgn001 opened this issue · 11 comments
Base information
- Minecraft version: 1.12.2
- Mod version: 0.7.14
- Minecraft Forge version: 14.23.5.2847
- Mod Pack: (if applicable) Custom
Issue
When using the Draconic Staff of Power in conjunction with a Ender Utilities Handy Bag, the loot cores are not picked up, and instead constantly provide a stream of items into the bag, infinitely. Not sure if this is an issue with how Loot cores work or with how the bag handles pickup so will be reported to DE dev as well.
Unfortunately this issue seems to be unfixable from EnU's side. It looks like DE is creating vanilla EntityItem instances for the pickup event, but it does not respect that EntityItem being setDead() or setItem() being called on it to update the contained item stack. And since it seems to use the exact vanilla EntityItem class for the intermediary entities, I can't even check for the class to try to avoid doing anything on the Loot Core entities.
So I think this would need to be fixed on DE's side, by making the Loot Core code respect the changes made to the EntityItems it uses for the pickup event, ie. the entity being set dead or the item stack on it being changed.
How do you use that thing? When I'm just grabbing that item from the creative inventory and whacking some creepers and cows with it, they just drop the normal vanilla items and XP. How do you get the Loot Cores, and what are they and what are they supposed to do? I need an easy test setup to see what is going wrong.
It seems to just be automatically adding all the items to my inventory instead of dropping anything in the world... And I don't see anything in the tool config profile for disabling that.
I saw the option to disable the loot cores in the configs, but that option was disabled, so I assume they should be enabled. But the tool just adds the drops directly to mu inventory by default. I don't know if it's some modifier in the tool that I get from the creative inventory, but I have no idea how to easily get it otherwise (never touched DE before).
Any word on this? I have a few other bug fixes lined up for 0.7.15, should I go ahead and release that as-is or wait to look into this?