Started by
Jacko22
on
Topic category: Help with Minecraft modding (Java Edition)
For those of you familiar with Terraria, I plan to add something akin to the small hearts that occasionally drop from enemies in that game. (if you are not familiar, they simply heal you a certain amount when picked up and then disappear) I'm having issues with my procedure, as events seem to not work half the time. I've put the procedure below, what I'm trying to do is first heal the player for 5 HP, and then remove the item from their inventory. I understand that there could then be issues if the player has a full inventory, if you have a possible fix for that it would be really appreciated.

So change all event/target entity to source entity, other than the despawn
Yep, got that. Everything except the rotation is working (rotational equations are hella confusing)
I've messed around a bit, and I actually kinda like it without the rotation, gives it bit of charm.
Alright then if you like it, the equation should work though I have used it successfully multiple times, but nevermind
there is a call procedure, on item pickup, in the item triggers tab of items, you should be able to use that instead of tick update, I find it more reliable