My projectile not detects if it hits a block

Started by andras.kohler on

Topic category: Help with modding (Java Edition)

Last seen on 12:56, 8. Aug 2024
Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
My projectile not detects if it hits a block
Sun, 07/07/2024 - 20:22 (edited)

I wanted to create a ender pearl projectile which teleportates me to the place where the ender pearl lands.

The problem:

At the projectile "when entity hits a block" trigger I've tried to "set location of Event/target entity to x,y,z" but when I tested my projectile it went through the blocks, teleport was not working.

 

 

Edited by andras.kohler on Sun, 07/07/2024 - 20:22
Last seen on 11:33, 7. Sep 2024
Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Because the event target…
Mon, 07/15/2024 - 00:06

Because the event target entity Is the projectile, you have to teleport the source entity 

Last seen on 12:56, 8. Aug 2024
Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks, I will try it!
Tue, 07/16/2024 - 13:45

Thanks, I will try it!