Class BackHalfShaftInstance
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.base.HalfShaftInstance
com.simibubi.create.content.contraptions.base.BackHalfShaftInstance
- All Implemented Interfaces:
com.jozufozu.flywheel.api.instance.Instance,com.jozufozu.flywheel.light.LightListener
- Direct Known Subclasses:
BearingInstance
-
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.blockentity.BlockEntityInstance
blockEntity, blockState, instancePos, posFields inherited from class com.jozufozu.flywheel.backend.instancing.AbstractInstance
materialManager, world -
Constructor Summary
ConstructorsConstructorDescriptionBackHalfShaftInstance(com.jozufozu.flywheel.api.MaterialManager modelManager, KineticTileEntity tile) -
Method Summary
Methods inherited from class com.simibubi.create.content.contraptions.base.HalfShaftInstance
getModelMethods inherited from class com.simibubi.create.content.contraptions.base.SingleRotatingInstance
getRenderedBlockState, init, remove, update, updateLightMethods 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.light.LightListener
onLightPacket
-
Constructor Details
-
BackHalfShaftInstance
public BackHalfShaftInstance(com.jozufozu.flywheel.api.MaterialManager modelManager, KineticTileEntity tile)
-
-
Method Details
-
getShaftDirection
protected net.minecraft.core.Direction getShaftDirection()- Overrides:
getShaftDirectionin classHalfShaftInstance
-