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

    Fields
    Modifier and Type
    Field
    Description
    protected final com.jozufozu.flywheel.core.materials.model.ModelData
     
    protected final com.jozufozu.flywheel.core.materials.model.ModelData
     

    Fields inherited from class com.jozufozu.flywheel.backend.instancing.blockentity.BlockEntityInstance

    blockEntity, blockState, instancePos, pos

    Fields inherited from class com.jozufozu.flywheel.backend.instancing.AbstractInstance

    materialManager, world
  • Constructor Summary

    Constructors
    Constructor
    Description
    AnalogLeverInstance(com.jozufozu.flywheel.api.MaterialManager modelManager, AnalogLeverTileEntity tile)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    void
     
    void
     
    void
     

    Methods inherited from class com.jozufozu.flywheel.backend.instancing.blockentity.BlockEntityInstance

    getInstancePosition, getOrientedMaterial, getTransformMaterial, getVolume, getWorldPosition, shouldReset

    Methods inherited from class com.jozufozu.flywheel.backend.instancing.AbstractInstance

    init, onLightUpdate, relight, relight, relight, relight, status, update

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.jozufozu.flywheel.api.instance.DynamicInstance

    decreaseFramerateWithDistance

    Methods inherited from interface com.jozufozu.flywheel.api.instance.Instance

    getWorldPosition

    Methods 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:
      beginFrame in interface com.jozufozu.flywheel.api.instance.DynamicInstance
    • animateLever

      protected void animateLever()
    • remove

      public void remove()
      Specified by:
      remove in class com.jozufozu.flywheel.backend.instancing.AbstractInstance
    • updateLight

      public void updateLight()
      Overrides:
      updateLight in class com.jozufozu.flywheel.backend.instancing.AbstractInstance