Class CombustionEngineVisual
java.lang.Object
com.jozufozu.flywheel.backend.instancing.AbstractInstance
com.jozufozu.flywheel.backend.instancing.blockentity.BlockEntityInstance<T>
com.simibubi.create.content.kinetics.base.KineticBlockEntityInstance<T>
com.simibubi.create.content.kinetics.base.SingleRotatingInstance<T>
com.simibubi.create.content.kinetics.base.ShaftInstance<CombustionEngineBlockEntity>
com.lightning.northstar.block.tech.combustion_engine.CombustionEngineVisual
- All Implemented Interfaces:
com.jozufozu.flywheel.api.instance.DynamicInstance,com.jozufozu.flywheel.api.instance.Instance,com.jozufozu.flywheel.light.LightListener
public class CombustionEngineVisual
extends com.simibubi.create.content.kinetics.base.ShaftInstance<CombustionEngineBlockEntity>
implements com.jozufozu.flywheel.api.instance.DynamicInstance
-
Field Summary
Fields inherited from class com.simibubi.create.content.kinetics.base.SingleRotatingInstance
rotatingModelFields inherited from class com.simibubi.create.content.kinetics.base.KineticBlockEntityInstance
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, removed, world -
Constructor Summary
ConstructorsConstructorDescriptionCombustionEngineVisual(com.jozufozu.flywheel.api.MaterialManager materialManager, CombustionEngineBlockEntity entity) -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic floatgetPistonOffset(double time) voidremove()voidMethods inherited from class com.simibubi.create.content.kinetics.base.ShaftInstance
getRenderedBlockStateMethods inherited from class com.simibubi.create.content.kinetics.base.SingleRotatingInstance
getModel, init, updateMethods inherited from class com.simibubi.create.content.kinetics.base.KineticBlockEntityInstance
getBlockEntitySpeed, getRotatingMaterial, getRotationAxis, getRotationOffset, 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
isListenerInvalid, onLightUpdate, relight, relight, relight, relight, removeAndMarkMethods 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
-
Constructor Details
-
CombustionEngineVisual
public CombustionEngineVisual(com.jozufozu.flywheel.api.MaterialManager materialManager, CombustionEngineBlockEntity entity)
-
-
Method Details
-
beginFrame
public void beginFrame()- Specified by:
beginFramein interfacecom.jozufozu.flywheel.api.instance.DynamicInstance
-
updateLight
public void updateLight()- Overrides:
updateLightin classcom.simibubi.create.content.kinetics.base.SingleRotatingInstance<CombustionEngineBlockEntity>
-
remove
public void remove()- Overrides:
removein classcom.simibubi.create.content.kinetics.base.SingleRotatingInstance<CombustionEngineBlockEntity>
-
getPistonOffset
public static float getPistonOffset(double time)
-