use of pneumaticCraft.client.render.RenderLaser in project PneumaticCraft by MineMaarten.
the class EntityDroneBase method renderExtras.
public void renderExtras(double x, double y, double z, float partialTicks) {
ChunkPosition diggingPos = getDugBlock();
if (diggingPos != null) {
if (digLaser == null) {
int color = 0xFF0000;
digLaser = new RenderLaser(color);
}
digLaser.render(partialTicks, 0, getLaserOffsetY(), 0, diggingPos.chunkPosX + 0.5 - posX, diggingPos.chunkPosY + 0.45 - posY, diggingPos.chunkPosZ + 0.5 - posZ);
}
}
Aggregations