Class FluidValveInstance
java.lang.Object
com.jozufozu.flywheel.backend.instancing.AbstractInstance
com.jozufozu.flywheel.backend.instancing.blockentity.BlockEntityInstance<T>
com.simibubi.create.content.contraptions.base.KineticTileInstance<KineticTileEntity>
com.simibubi.create.content.contraptions.base.SingleRotatingInstance
com.simibubi.create.content.contraptions.relays.encased.ShaftInstance
com.simibubi.create.content.contraptions.fluids.pipes.FluidValveInstance
- All Implemented Interfaces:
com.jozufozu.flywheel.api.instance.DynamicInstance,com.jozufozu.flywheel.api.instance.Instance,com.jozufozu.flywheel.light.LightListener
public class FluidValveInstance
extends ShaftInstance
implements com.jozufozu.flywheel.api.instance.DynamicInstance
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.jozufozu.flywheel.core.materials.model.ModelDataprotected final intprotected final doubleprotected final doubleFields inherited from class com.simibubi.create.content.contraptions.base.SingleRotatingInstance
rotatingModelFields inherited from class com.simibubi.create.content.contraptions.base.KineticTileInstance
axisFields inherited from class com.jozufozu.flywheel.backend.instancing.blockentity.BlockEntityInstance
blockEntity, blockState, instancePos, posFields inherited from class com.jozufozu.flywheel.backend.instancing.AbstractInstance
materialManager, world -
Constructor Summary
ConstructorsConstructorDescriptionFluidValveInstance(com.jozufozu.flywheel.api.MaterialManager dispatcher, KineticTileEntity tile) -
Method Summary
Methods inherited from class com.simibubi.create.content.contraptions.relays.encased.ShaftInstance
getRenderedBlockStateMethods inherited from class com.simibubi.create.content.contraptions.base.SingleRotatingInstance
getModel, init, updateMethods inherited from class com.simibubi.create.content.contraptions.base.KineticTileInstance
getRotatingMaterial, getRotationAxis, getRotationOffset, getTileSpeed, setup, setup, setup, setup, shaft, shaft, updateRotation, updateRotation, updateRotation, updateRotationMethods inherited from class com.jozufozu.flywheel.backend.instancing.blockentity.BlockEntityInstance
getInstancePosition, getOrientedMaterial, getTransformMaterial, getVolume, getWorldPosition, shouldResetMethods inherited from class com.jozufozu.flywheel.backend.instancing.AbstractInstance
onLightUpdate, relight, relight, relight, relight, statusMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.jozufozu.flywheel.api.instance.DynamicInstance
decreaseFramerateWithDistanceMethods inherited from interface com.jozufozu.flywheel.api.instance.Instance
getWorldPositionMethods inherited from interface com.jozufozu.flywheel.light.LightListener
onLightPacket
-
Field Details
-
pointer
protected com.jozufozu.flywheel.core.materials.model.ModelData pointer -
xRot
protected final double xRot -
yRot
protected final double yRot -
pointerRotationOffset
protected final int pointerRotationOffset
-
-
Constructor Details
-
FluidValveInstance
public FluidValveInstance(com.jozufozu.flywheel.api.MaterialManager dispatcher, KineticTileEntity tile)
-
-
Method Details
-
beginFrame
public void beginFrame()- Specified by:
beginFramein interfacecom.jozufozu.flywheel.api.instance.DynamicInstance
-
updateLight
public void updateLight()- Overrides:
updateLightin classSingleRotatingInstance
-
remove
public void remove()- Overrides:
removein classSingleRotatingInstance
-