How do I detect tags for projectile entities?

Started by creeperkage87 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I detect tags for projectile entities?

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.

 

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
can you show the rest of…
Fri, 10/03/2025 - 07:01

can you show the rest of your procedure? and maybe your tag too

Joined Sep 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The FireBall is the skill I…
Fri, 10/03/2025 - 07:14

The FireBall is the skill I'm testing the tags out with

Joined Sep 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I removed the first…
Fri, 10/03/2025 - 07:17

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.

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
have you tried printing the…
Fri, 10/03/2025 - 07:29

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?

Joined Sep 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What do you mean? This is my…
Fri, 10/03/2025 - 07:35

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. 

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
oh nvm I see it uses the…
Fri, 10/03/2025 - 07:41

oh nvm I see it uses the required item

 

try printing the entity,

Joined Sep 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I think this was the output…
Fri, 10/03/2025 - 08:05

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]

Joined Sep 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
These are the triggers for…
Fri, 10/03/2025 - 08:06

These are the triggers for the Fireball projectiles:

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
entity in "When projectile…
Fri, 10/03/2025 - 08:08

entity in "When projectile hits living entity" is the entity that's hit, use immediatesourceentity to get the projectile

Joined Sep 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I get that? I don't…
Fri, 10/03/2025 - 08:10

How do I get that? I don't see a block for it

Joined Sep 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It works now, thank you.
Fri, 10/03/2025 - 08:17

It works now, thank you.