Started by
TheSecretAaron
on
Topic category: Help with Minecraft modding (Java Edition)
I am currently making a procedure so that when a projective entity is fired out of a ranged weapon, it destroys specific blocks. It says I need the X, Y, Z, World, Entity, and Immediatesourceentity dependencies, which I have. However, it still says that I am missing a dependency. I do not know what I am missing, so please help me here. Here's the code:
There is more to the code but it's just the same "if is blockstate material type (whatever), do remove block, drop block, despawn immediate source entity". On the right, it shows that I have all of what I need. Is it the blockstate that is messing it up? If so, then how do I go about making this code?
Edited by TheSecretAaron on Tue, 07/19/2022 - 20:51
It might be because the blockstate dependency is not included or able to be used in any of the projectile events/triggers. You are not missing anything in your code, but your code requires that dependency for the procedure to be used by the event.