java.lang.Object
com.jozufozu.flywheel.backend.instancing.AbstractInstance
com.jozufozu.flywheel.backend.instancing.blockentity.BlockEntityInstance<T>
All Implemented Interfaces:
com.jozufozu.flywheel.api.instance.DynamicInstance, com.jozufozu.flywheel.api.instance.Instance, com.jozufozu.flywheel.light.LightListener
Direct Known Subclasses:
GaugeInstance.Speed, GaugeInstance.Stress

public abstract class GaugeInstance extends ShaftInstance implements com.jozufozu.flywheel.api.instance.DynamicInstance
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
    static class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final ArrayList<com.simibubi.create.content.contraptions.relays.gauge.GaugeInstance.DialFace>
     
    protected com.mojang.blaze3d.vertex.PoseStack
     

    Fields inherited from class com.simibubi.create.content.contraptions.base.SingleRotatingInstance

    rotatingModel

    Fields inherited from class com.simibubi.create.content.contraptions.base.KineticTileInstance

    axis

    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
    Modifier
    Constructor
    Description
    protected
    GaugeInstance(com.jozufozu.flywheel.api.MaterialManager dispatcher, KineticTileEntity tile)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    protected abstract com.jozufozu.flywheel.api.Instancer<com.jozufozu.flywheel.core.materials.model.ModelData>
     
    void
     
    void
     

    Methods inherited from class com.simibubi.create.content.contraptions.relays.encased.ShaftInstance

    getRenderedBlockState

    Methods inherited from class com.simibubi.create.content.contraptions.base.SingleRotatingInstance

    getModel, init, update

    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

    onLightUpdate, relight, relight, relight, relight, status

    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

    • faces

      protected final ArrayList<com.simibubi.create.content.contraptions.relays.gauge.GaugeInstance.DialFace> faces
    • ms

      protected com.mojang.blaze3d.vertex.PoseStack ms
  • Constructor Details

    • GaugeInstance

      protected GaugeInstance(com.jozufozu.flywheel.api.MaterialManager dispatcher, KineticTileEntity tile)
  • Method Details

    • beginFrame

      public void beginFrame()
      Specified by:
      beginFrame in interface com.jozufozu.flywheel.api.instance.DynamicInstance
    • updateLight

      public void updateLight()
      Overrides:
      updateLight in class SingleRotatingInstance
    • remove

      public void remove()
      Overrides:
      remove in class SingleRotatingInstance
    • getHeadModel

      protected abstract com.jozufozu.flywheel.api.Instancer<com.jozufozu.flywheel.core.materials.model.ModelData> getHeadModel()