Started by
Purple1988
on
Topic category: Troubleshooting, bugs, and solutions
I am making a mod that lets you lace a dagger with poison.
and the procedure is to add the effects then remove the laced dagger and then add the regular dagger to the player's inventory when the player hits a mob with it.
But the problem is that the dependency blocks don't include the player.
I have tried all of them, Event/target entity, Source entity, Immediate source entity, and the Entity iterator.
Sorry if it is obvious I am new to making procedures
solved
Edited by Purple1988 on Thu, 10/14/2021 - 01:23
The player is usually the event/target entity, but if you want to replace an item, I would try using this block - set 1 (item) in slot 0 of provided itemstack if it has inventory