This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Can someone send me the function for a enderman particle? I want to make a ender sword (hold the sword and ender particles everywhere)
function modTick() { if(getCarriedItem() == 276) { Level.addParticle(ParticleType.portal, Player.getX() , Player.getY(), Player.getZ(), 0, 0, 0, 2); } }
try this, just change 276 to the id of your ender sword see if the particles appear
template of addParticle
Level.addParticle(int particleType, x, y, z, double velX, double velY, double velZ, double size)
I'm not sure what doucle velx, y, z are but changing them different numbers change how the particles move.
Can someone send me the function for a enderman particle? I want to make a ender sword (hold the sword and ender particles everywhere)
function modTick() {
if(getCarriedItem() == 276) {
Level.addParticle(ParticleType.portal, Player.getX() , Player.getY(), Player.getZ(), 0, 0, 0, 2);
}
}
try this, just change 276 to the id of your ender sword see if the particles appear
template of addParticle
Level.addParticle(int particleType, x, y, z, double velX, double velY, double velZ, double size)
I'm not sure what doucle velx, y, z are but changing them different numbers change how the particles move.