Started by
creeperkage87
on
Topic category: Help with Minecraft modding (Java Edition)
I'm making a Naruto-type mod, and I'm using normal tags to give Jutsus / Spells certain properties for when they collide with blocks and entities. The tag in the image shown below is intended to cause a small explosion on collision with blocks or entities for any spell that has this tag. I've tested to ensure the procedure is being called and that the entity projectile is actually tagged, but it's not working, and I'm unsure why.
can you show the rest of your procedure? and maybe your tag too
The FireBall is the skill I'm testing the tags out with
I removed the first condition in the procedure to take a picture of it to post on the forums here, and just forgot to put it back before I took a picture of the procedure itself.
have you tried printing the entity?
are you sure it's not the small fireball?
also isn't the current entity in your tag a vanilla entity? Like how are you using an external trigger for a vanilla entity?
What do you mean? This is my first mod using MCreator. Not entirely sure about how the tag system works. It looks like a small fireball, but I'm just using the icon for it since I didn't want to make and import one. I have a custom JAVA class for the fireball and everything.
oh nvm I see it uses the required item
try printing the entity,
I think this was the output for the entity thing:
Slime['Slime'/34, l='ClientLevel', x=38.68, y=-59.73, z=-27.25]
[02:06:20] [Server thread/INFO] [ne.mc.na.NarutomodMod/]: Slime['Slime'/34, l='ServerLevel[Test Template]', x=38.74, y=-60.00, z=-27.32]
These are the triggers for the Fireball projectiles:
entity in "When projectile hits living entity" is the entity that's hit, use immediatesourceentity to get the projectile
How do I get that? I don't see a block for it
It works now, thank you.
awesome :3