Cuberite Forum

Full Version: Projectiles
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Not sure where to get started on this. I need to read through and play around with the code that controls motion on MCServer as well as look around to see what bukkit does.

Not really sure how much info like this can help:
https://github.com/Bukkit/CraftBukkit/bl...eball.java
https://github.com/Bukkit/CraftBukkit/bl...Arrow.java



Seems like the entity is created and sent on a vectored path. Once it hits something something happens and the entity either changes or disappears.
Should be as easy as creating a new entity type by deriving cEntity. You should take a look at cPickup
it would be usefull if i could use a bow againTongue