Hey guys, any ideas on how to launch a projectile, such as spells in Risk Mod. I want to make it so if u use a blaze rod, projectile will launch out and will set an entity on fire. If u know how to do this, plz leave a comment below, thx!
LOL i already made it, but there is a bug that if u fire it let say south, u can only lauch the entity south heres the code, see if u can fix that bug, THX
That was fast, mind if i pm u?Either the mod has some issues or block laucher because it crashes block laucher, the only way to install it right now is to disable it, then when ur in a world enable the mod..... is weird..... then exit the world and go back in it and the gui should pop upEither the mod has some issues or block laucher because it crashes block laucher, the only way to install it right now is to disable it, then when ur in a world enable the mod..... is weird..... then exit the world and go back in it and the gui should pop up
Either the mod has some issues or block laucher because it crashes block laucher, the only way to install it right now is to disable it, then when ur in a world enable the mod..... is weird..... then exit the world and go back in it and the gui should pop up
Either the mod has some issues or block laucher because it crashes block laucher, the only way to install it right now is to disable it, then when ur in a world enable the mod..... is weird..... then exit the world and go back in it and the gui should pop up
Game dev and Minecraft modder.
Twitter: @jv110br_
Game dev and Minecraft modder.
Twitter: @jv110br_
var playerYaw= getYaw(getPlayerEnt()); var playerPitch= getPitch(getPlayerEnt()); function useItem(x,y,z,itemId,blockId,side,attacker) { else if(itemId==502) { velY = Math.sin(("playerPitch" - 180) / 180 * Math.PI); velX = 3.5 * (Math.sin("playerYaw" / 180 * Math.PI) * Math.cos(("playerPitch" - 180) / 180 * Math.PI)); velZ = 3.5 * (-1 * Math.cos("playerYaw" / 180 * Math.PI) * Math.cos(("playerPitch" - 180) / 180 * Math.PI)); var firecharge= Level.spawnMob( Player.getX() + Math.sin("playerYaw" / 180 * Math.PI) * Math.cos(("playerPitch" - 180) / 180 * Math.PI) ,Player.getY(),Player.getZ() + -1 * Math.cos("playerYaw" / 180 * Math.PI) * Math.cos(("playerPitch" - 180) / 180 * Math.PI) ,65); setVelX(firecharge,velX); setVelY(firecharge,velY); setVelZ(firecharge,velZ); Entity.setRenderType(firecharge,18); Entity.setFireTicks(firecharge, 50); } }Game dev and Minecraft modder.
Twitter: @jv110br_
Game dev and Minecraft modder.
Twitter: @jv110br_
Game dev and Minecraft modder.
Twitter: @jv110br_
Of course PM me
Game dev and Minecraft modder.
Twitter: @jv110br_