8b1179699f
Model is not fully done since i want to get the valve to set on diffrent faces when the top is in use. Also want it to rotate a bit when powered by redstone. Also worked on connectionHelper and switch a few of the itemRenders to an actual itemRenderHelper so they look nice in the inventory and in the players hand.
21 lines
384 B
Java
21 lines
384 B
Java
package liquidmechanics.client.render;
|
|
|
|
import org.lwjgl.opengl.GL11;
|
|
|
|
import net.minecraftforge.common.ForgeDirection;
|
|
|
|
public class RenderRotation
|
|
{
|
|
float angle;
|
|
float x;
|
|
float y;
|
|
float z;
|
|
public RenderRotation(float angle, float x, float y, float z)
|
|
{
|
|
this.angle = angle;
|
|
this.x = x;
|
|
this.y = y;
|
|
this.z = z;
|
|
|
|
}
|
|
}
|