Posted September 29, 20196 yr I created a modded bow and arrow and it works, except the arrow is invisible when I shoot it. Did I put the textures in the wrong place? How do I fix it? Also is there a point in having a modded arrow. If the bow does the damage why make a custom arrow? And sorry how do you change the damage the bow (or arrow) does? Thanks Github - https://github.com/N3XTGEN82/Mod
September 29, 20196 yr I'm afraid I don't know much about modeling/rendering, so I'll let someone else take care of that one. As for the others... 3 hours ago, N3XTGEN said: Also is there a point in having a modded arrow. If you want the arrow to look different, or have special effects that aren't achievable with the normal arrow, then yes. Otherwise, probably not. 3 hours ago, N3XTGEN said: how do you change the damage The damage, as well as other statistics, are properties of EntityArrow. In the normal bow, these properties are set by ItemBow during the onPlayerStoppedUsing() method. You can set the damage of the EntityArrow with EntityArrow#setDamage(). For more information and examples, you should look at the ItemBow/EntityArrow classes. Fancy 3D Graphing Calculator mod, with many different coordinate systems. Lightweight 3D/2D position/vector transformations library, also with support for different coordinate systems.
September 29, 20196 yr 5 hours ago, N3XTGEN said: I created a modded bow and arrow and it works, except the arrow is invisible when I shoot it. Did I put the textures in the wrong place? How do I fix it? Also is there a point in having a modded arrow. If the bow does the damage why make a custom arrow? And sorry how do you change the damage the bow (or arrow) does? Thanks Github - https://github.com/N3XTGEN82/Mod If you are talking about the arrow's damage to entity and your custom arrow extends entityarrow I think you just simply set the damage in the constructor. If not you use attackEntityFrom(damagesource, damage) Edited September 29, 20196 yr by poopoodice
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.