#Launching a projectile from a sword.
9 messages · Page 1 of 1 (latest)
How did I not think of this myself... And after generating the source code, where can I view it?
I think in BowItem.class part and second in ArrowEntity
Also you need entity render
No, I mean where can I find the folder with all the source code? Otherwise I can't find her
Oh, no, no longer necessary, I figured it out
I haven't been able to figure out how to do what I want for a long time now. After looking at the bow source code, I didn't feel any better
Can you tell me how to launch the entity? Otherwise I don’t understand anything from the source code
to launch a projectile, just spawn a new ProjectileEntity (like SnowballEntity or FireballEntity) with velocity of your choice (usually the direction the player is looking at)