Class HandCrankInstance
java.lang.Object
com.jozufozu.flywheel.backend.instancing.AbstractInstance
com.jozufozu.flywheel.backend.instancing.tile.TileEntityInstance<T>
com.simibubi.create.content.contraptions.base.KineticTileInstance<KineticTileEntity>
com.simibubi.create.content.contraptions.base.SingleRotatingInstance
com.simibubi.create.content.contraptions.components.crank.HandCrankInstance
- All Implemented Interfaces:
com.jozufozu.flywheel.backend.instancing.IDynamicInstance,com.jozufozu.flywheel.backend.instancing.IInstance,com.jozufozu.flywheel.light.ILightUpdateListener
public class HandCrankInstance
extends SingleRotatingInstance
implements com.jozufozu.flywheel.backend.instancing.IDynamicInstance
-
Field Summary
Fields 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.tile.TileEntityInstance
blockState, instancePos, posFields inherited from class com.jozufozu.flywheel.backend.instancing.AbstractInstance
materialManager, world -
Constructor Summary
ConstructorsConstructorDescriptionHandCrankInstance(com.jozufozu.flywheel.backend.material.MaterialManager modelManager, HandCrankTileEntity tile) -
Method Summary
Methods inherited from class com.simibubi.create.content.contraptions.base.SingleRotatingInstance
getModel, getRenderedBlockState, 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.tile.TileEntityInstance
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.backend.instancing.IDynamicInstance
decreaseFramerateWithDistanceMethods inherited from interface com.jozufozu.flywheel.backend.instancing.IInstance
getWorldPositionMethods inherited from interface com.jozufozu.flywheel.light.ILightUpdateListener
onLightPacket
-
Constructor Details
-
HandCrankInstance
public HandCrankInstance(com.jozufozu.flywheel.backend.material.MaterialManager modelManager, HandCrankTileEntity tile)
-
-
Method Details
-
beginFrame
public void beginFrame()- Specified by:
beginFramein interfacecom.jozufozu.flywheel.backend.instancing.IDynamicInstance
-
remove
public void remove()- Overrides:
removein classSingleRotatingInstance
-
updateLight
public void updateLight()- Overrides:
updateLightin classSingleRotatingInstance
-