Compatibility with Carry On
GStefanowich opened this issue ยท 5 comments
Using
Not sure if this is better solved from the side of CarryOn or TorchMaster.
CarryOn pickups destroy the mob entity, and spawn a new mob entity upon being placed. The Dread lamp will prevent mobs from being placed back down because it voids them
It never even occured to me that someone might want to move the torch using carry on - I mean, why would you? Destroying and placing the torch or lamp work just as fine and provide the intended behavior.
I'm actually not sure what exactly I should be doing differently. At the moment, the torch and lamp are registering themselves with their respective Registry via the Block::onPlace
method.
Neither the Mega Torch nor the Dread Lamp are a Tile Entity - they are Plain Blocks. If Carry On calls Block::onRemove
on pick up and Block::onPlace
on place down, the registration logic should work.
This whole thing willl most likely change with 1.21 as I'm in the process of moving to a multi modloader solution which requires a major rewrite of the mod. But in the meantime, I'm not sure what else I could do to get this to work from my side.
Fixed in Version 20.1.6
I've added the missing event as an intentional spawn event - I hope this doesnt break other mods in the process, but time will tell.
The update should be available on modrinth and the github release section. For some reason, curseforge is taking longer again.
It never even occured to me that someone might want to move the torch using carry on
You misunderstand me,
CarryOn pickups destroy the mob entity
If you pick up a passive mob with CarryOn, and place it near a Dread Lamp, the dread lamp deletes the mob.