Class CarriageContraptionInstance

java.lang.Object
com.jozufozu.flywheel.backend.instancing.AbstractInstance
com.jozufozu.flywheel.backend.instancing.entity.EntityInstance<CarriageContraptionEntity>
com.simibubi.create.content.logistics.trains.entity.CarriageContraptionInstance
All Implemented Interfaces:
com.jozufozu.flywheel.api.instance.DynamicInstance, com.jozufozu.flywheel.api.instance.Instance, com.jozufozu.flywheel.light.LightListener, com.jozufozu.flywheel.light.MovingListener

public class CarriageContraptionInstance extends com.jozufozu.flywheel.backend.instancing.entity.EntityInstance<CarriageContraptionEntity> implements com.jozufozu.flywheel.api.instance.DynamicInstance
  • Field Summary

    Fields inherited from class com.jozufozu.flywheel.backend.instancing.entity.EntityInstance

    bounds, entity

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

    materialManager, world
  • Constructor Summary

    Constructors
    Constructor
    Description
    CarriageContraptionInstance(com.jozufozu.flywheel.api.MaterialManager materialManager, CarriageContraptionEntity entity)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    boolean
     
    void
     
    void
     
    void
    setBogeyVisibility(boolean first, boolean visible)
     
    void
     

    Methods inherited from class com.jozufozu.flywheel.backend.instancing.entity.EntityInstance

    getInstancePosition, getInstancePosition, getVolume, getWorldPosition, update

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

    onLightUpdate, relight, relight, relight, relight, shouldReset, 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.Instance

    getWorldPosition

    Methods inherited from interface com.jozufozu.flywheel.light.LightListener

    onLightPacket, onLightUpdate, status
  • Constructor Details

    • CarriageContraptionInstance

      public CarriageContraptionInstance(com.jozufozu.flywheel.api.MaterialManager materialManager, CarriageContraptionEntity entity)
  • Method Details

    • init

      public void init()
      Overrides:
      init in class com.jozufozu.flywheel.backend.instancing.AbstractInstance
    • setBogeyVisibility

      public void setBogeyVisibility(boolean first, boolean visible)
    • beginFrame

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

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

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

      public boolean decreaseFramerateWithDistance()
      Specified by:
      decreaseFramerateWithDistance in interface com.jozufozu.flywheel.api.instance.DynamicInstance