Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void tickFlying() {
- super.tickFlying();
- if(mod_Arrows303.particles.get()) {
- EntityFX obj = null;
- if(rand.nextBoolean()) {
- obj = new EntityFlameFX(worldObj, posX, posY, posZ, 0.01D, 0.01D, 0.01D);
- } else {
- obj = new EntitySmokeFX(worldObj, posX, posY, posZ, 0.01D, 0.01D, 0.01D);
- }
- obj.motionX = obj.motionZ = obj.motionY = 0.01D;
- obj.renderDistanceWeight = 10D;
- mod_Arrows303.mc.effectRenderer.addEffect(obj);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment