Topic category: Help with Minecraft modding (Java Edition)
Hello. As you know, the wither head is not actually a complete entity. Wither's head is built into Wither's model, and when he fires it, this part breaks away from Wither's model and turns into an entity. I also made a special skull for myself (as a java entity model). How can I make it go forever, just like the wither head? I also want it to fire in the direction I'm looking. We can put a special bullet model as a java entity model in a normal ranged weapon making interface. but I don't want this. Because when adjusting the bullet power, it either escapes too much or becomes too weak. It can also become crooked. Long story short, I want to make a ranged weapon that moves straight at a constant speed, just like the wither head, and creates an explosion when it hits a block or mob. Can you post a photo of this procedure?
You can do this. In the projectiles' tick trigger, add set no-gravity of immediate source entity to true.