Class AnalogLeverInstance
java.lang.Object
com.jozufozu.flywheel.backend.instancing.AbstractInstance
com.jozufozu.flywheel.backend.instancing.blockentity.BlockEntityInstance<AnalogLeverTileEntity>
com.simibubi.create.content.logistics.block.redstone.AnalogLeverInstance
- All Implemented Interfaces:
com.jozufozu.flywheel.api.instance.DynamicInstance,com.jozufozu.flywheel.api.instance.Instance,com.jozufozu.flywheel.light.LightListener
public class AnalogLeverInstance
extends com.jozufozu.flywheel.backend.instancing.blockentity.BlockEntityInstance<AnalogLeverTileEntity>
implements com.jozufozu.flywheel.api.instance.DynamicInstance
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final com.jozufozu.flywheel.core.materials.model.ModelDataprotected final com.jozufozu.flywheel.core.materials.model.ModelDataFields 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
ConstructorsConstructorDescriptionAnalogLeverInstance(com.jozufozu.flywheel.api.MaterialManager modelManager, AnalogLeverTileEntity tile) -
Method Summary
Methods 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
init, onLightUpdate, relight, relight, relight, relight, status, updateMethods 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
-
handle
protected final com.jozufozu.flywheel.core.materials.model.ModelData handle -
indicator
protected final com.jozufozu.flywheel.core.materials.model.ModelData indicator
-
-
Constructor Details
-
AnalogLeverInstance
public AnalogLeverInstance(com.jozufozu.flywheel.api.MaterialManager modelManager, AnalogLeverTileEntity tile)
-
-
Method Details
-
beginFrame
public void beginFrame()- Specified by:
beginFramein interfacecom.jozufozu.flywheel.api.instance.DynamicInstance
-
animateLever
protected void animateLever() -
remove
public void remove()- Specified by:
removein classcom.jozufozu.flywheel.backend.instancing.AbstractInstance
-
updateLight
public void updateLight()- Overrides:
updateLightin classcom.jozufozu.flywheel.backend.instancing.AbstractInstance
-