public class FluidValveInstance extends ShaftInstance implements com.jozufozu.flywheel.backend.instancing.IDynamicInstance
| Modifier and Type | Field and Description |
|---|---|
protected com.jozufozu.flywheel.core.materials.ModelData |
pointer |
protected int |
pointerRotationOffset |
protected double |
xRot |
protected double |
yRot |
rotatingModelaxis| Constructor and Description |
|---|
FluidValveInstance(com.jozufozu.flywheel.backend.material.MaterialManager<?> dispatcher,
KineticTileEntity tile) |
| Modifier and Type | Method and Description |
|---|---|
void |
beginFrame() |
void |
remove() |
void |
updateLight() |
getRenderedBlockStategetModel, updategetRotatingMaterial, getRotationAxis, getRotationOffset, getTileSpeed, setup, setup, setup, setup, shaft, shaft, updateRotation, updateRotation, updateRotation, updateRotationgetInstancePosition, getOrientedMaterial, getTransformMaterial, getWorldPosition, relight, relight, relight, relight, shouldResetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected com.jozufozu.flywheel.core.materials.ModelData pointer
protected final double xRot
protected final double yRot
protected final int pointerRotationOffset
public FluidValveInstance(com.jozufozu.flywheel.backend.material.MaterialManager<?> dispatcher,
KineticTileEntity tile)
public void beginFrame()
beginFrame in interface com.jozufozu.flywheel.backend.instancing.IDynamicInstancepublic void updateLight()
updateLight in interface com.jozufozu.flywheel.backend.instancing.IInstanceupdateLight in class SingleRotatingInstancepublic void remove()
remove in interface com.jozufozu.flywheel.backend.instancing.IInstanceremove in class SingleRotatingInstance