Started by
domadex
on
Topic category: Help with Minecraft modding (Java Edition)
I'm currently making a sword that allows you to throw it. However, in order to make sure it properly returns to the player after it's thrown, even if it hits a block, i need to detect if the projectile hits a block.
It uses a custom model, more specifically, this one: https://www.planetminecraft.com/texture-pack/oathbringer-shardblade/, however, through block bench, i have converted it to a java entity model as is necessary with custom projectile models.
Thanks for any help.
Why can't you use the
When projectile hits blocktrigger?Uhhhh what do you mean? I just can't use it. Like when the projectile hits a block, it just doesn't do the procedure. For example, If the procedure was to send a message in the chat, it wouldn't send the message in the chat
are you sure you have connected the procedure to the trigger properly?
it's kinda hard to see but the "test" projectile is a moss carpet
Let me send some images
The projectile base
This triggers when the projectile hits a block
This is what releases the projectile
can you send a picture of the triggers tab of the projectile
does it trigger correctly if you spawn the projectile with /summon?
Nope.
Also, for some reason, when I tried it today, it worked, but when i rebooted the game, it went back to being unusable