java.lang.Object
com.jozufozu.flywheel.backend.instancing.AbstractInstance
com.jozufozu.flywheel.backend.instancing.entity.EntityInstance<SuperGlueEntity>
com.simibubi.create.content.contraptions.components.structureMovement.glue.GlueInstance
All Implemented Interfaces:
com.jozufozu.flywheel.backend.api.instance.IInstance, com.jozufozu.flywheel.backend.api.instance.ITickableInstance, com.jozufozu.flywheel.light.LightListener, com.jozufozu.flywheel.light.MovingListener

public class GlueInstance extends com.jozufozu.flywheel.backend.instancing.entity.EntityInstance<SuperGlueEntity> implements com.jozufozu.flywheel.backend.api.instance.ITickableInstance
  • Nested Class Summary

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

    Fields
    Modifier and Type
    Field
    Description
    protected com.jozufozu.flywheel.core.instancing.ConditionalInstance<com.jozufozu.flywheel.core.materials.oriented.OrientedData>
     

    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
    GlueInstance(com.jozufozu.flywheel.backend.api.MaterialManager materialManager, SuperGlueEntity entity)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
     
    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

    init, 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.backend.api.instance.IInstance

    getWorldPosition

    Methods inherited from interface com.jozufozu.flywheel.backend.api.instance.ITickableInstance

    decreaseTickRateWithDistance

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

    onLightPacket, onLightUpdate, status
  • Field Details

    • model

      protected com.jozufozu.flywheel.core.instancing.ConditionalInstance<com.jozufozu.flywheel.core.materials.oriented.OrientedData> model
  • Constructor Details

    • GlueInstance

      public GlueInstance(com.jozufozu.flywheel.backend.api.MaterialManager materialManager, SuperGlueEntity entity)
  • Method Details

    • tick

      public void tick()
      Specified by:
      tick in interface com.jozufozu.flywheel.backend.api.instance.ITickableInstance
    • 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