How do i make my custom projectile stick to blocks?

Started by Pepper on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do i make my custom projectile stick to blocks?

i want my custom spear to stick to block that they hit like an arrow or trident. how do i do that?

Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm pretty sure you need…
Thu, 05/01/2025 - 08:16

I'm pretty sure you need java for that. I tried to do it with GPT and completely ruined my entire workspace in the process. Didn't work tho.

Joined Apr 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you could create an…
Sun, 06/01/2025 - 10:41

you could create an entityprop, that looks like your projectile, and gets summoned when it hits a block?