Fix name, add a few more particle effects
This commit is contained in:
parent
64f681c263
commit
38dda1d18e
2 changed files with 12 additions and 0 deletions
|
@ -89,11 +89,18 @@ public class RenderTickHandler implements ITickHandler
|
||||||
vRight.rotate(p.renderYawOffset);
|
vRight.rotate(p.renderYawOffset);
|
||||||
vRight.y -= 0.55;
|
vRight.y -= 0.55;
|
||||||
|
|
||||||
|
Vector3 vCenter = new Vector3();
|
||||||
|
vCenter.z -= 0.30;
|
||||||
|
vCenter.x = (rand.nextFloat()-0.5F)*0.4F;
|
||||||
|
vCenter.rotate(p.renderYawOffset);
|
||||||
|
vCenter.y -= 0.86;
|
||||||
|
|
||||||
Vector3 rLeft = vLeft.clone().scale(random);
|
Vector3 rLeft = vLeft.clone().scale(random);
|
||||||
Vector3 rRight = vRight.clone().scale(random);
|
Vector3 rRight = vRight.clone().scale(random);
|
||||||
|
|
||||||
Vector3 mLeft = Vector3.translate(vLeft.clone().scale(0.2), new Vector3(p.motionX, p.motionY, p.motionZ));
|
Vector3 mLeft = Vector3.translate(vLeft.clone().scale(0.2), new Vector3(p.motionX, p.motionY, p.motionZ));
|
||||||
Vector3 mRight = Vector3.translate(vRight.clone().scale(0.2), new Vector3(p.motionX, p.motionY, p.motionZ));
|
Vector3 mRight = Vector3.translate(vRight.clone().scale(0.2), new Vector3(p.motionX, p.motionY, p.motionZ));
|
||||||
|
Vector3 mCenter = Vector3.translate(vCenter.clone().scale(0.2), new Vector3(p.motionX, p.motionY, p.motionZ));
|
||||||
|
|
||||||
mLeft.translate(rLeft);
|
mLeft.translate(rLeft);
|
||||||
mRight.translate(rRight);
|
mRight.translate(rRight);
|
||||||
|
@ -105,6 +112,10 @@ public class RenderTickHandler implements ITickHandler
|
||||||
v = new Vector3(p).translate(vRight);
|
v = new Vector3(p).translate(vRight);
|
||||||
world.spawnParticle("flame", v.x, v.y, v.z, mRight.x, mRight.y, mRight.z);
|
world.spawnParticle("flame", v.x, v.y, v.z, mRight.x, mRight.y, mRight.z);
|
||||||
world.spawnParticle("smoke", v.x, v.y, v.z, mRight.x, mRight.y, mRight.z);
|
world.spawnParticle("smoke", v.x, v.y, v.z, mRight.x, mRight.y, mRight.z);
|
||||||
|
|
||||||
|
v = new Vector3(p).translate(vCenter);
|
||||||
|
world.spawnParticle("flame", v.x, v.y, v.z, mCenter.x, mCenter.y, mCenter.z);
|
||||||
|
world.spawnParticle("smoke", v.x, v.y, v.z, mCenter.x, mCenter.y, mCenter.z);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,6 +22,7 @@ item.TeleportationCore.name=Teleportation Core
|
||||||
item.Configurator.name=Configurator
|
item.Configurator.name=Configurator
|
||||||
item.NetworkReader.name=Network Reader
|
item.NetworkReader.name=Network Reader
|
||||||
item.WalkieTalkie.name=Walkie-Talkie
|
item.WalkieTalkie.name=Walkie-Talkie
|
||||||
|
item.Jetpack.name=Jetpack
|
||||||
|
|
||||||
//Gas Tank
|
//Gas Tank
|
||||||
tile.GasTank.GasTank.name=Gas Tank
|
tile.GasTank.GasTank.name=Gas Tank
|
||||||
|
|
Loading…
Reference in a new issue