Class BrassDiodeInstance

java.lang.Object
com.jozufozu.flywheel.backend.instancing.AbstractInstance
com.jozufozu.flywheel.backend.instancing.tile.TileEntityInstance<BrassDiodeTileEntity>
com.simibubi.create.content.logistics.block.diodes.BrassDiodeInstance
All Implemented Interfaces:
com.jozufozu.flywheel.backend.instancing.IInstance, com.jozufozu.flywheel.backend.instancing.ITickableInstance, com.jozufozu.flywheel.light.ILightUpdateListener

public class BrassDiodeInstance extends com.jozufozu.flywheel.backend.instancing.tile.TileEntityInstance<BrassDiodeTileEntity> implements com.jozufozu.flywheel.backend.instancing.ITickableInstance
  • Field Summary

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

    Fields inherited from class com.jozufozu.flywheel.backend.instancing.tile.TileEntityInstance

    blockState, instancePos, pos, tile

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

    materialManager, world
  • Constructor Summary

    Constructors
    Constructor
    Description
    BrassDiodeInstance(com.jozufozu.flywheel.backend.material.MaterialManager modelManager, BrassDiodeTileEntity tile)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected int
     
    void
     
    void
     
    void
     

    Methods inherited from class com.jozufozu.flywheel.backend.instancing.tile.TileEntityInstance

    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.backend.instancing.IInstance

    getWorldPosition

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

    onLightPacket

    Methods inherited from interface com.jozufozu.flywheel.backend.instancing.ITickableInstance

    decreaseTickRateWithDistance
  • Field Details

    • indicator

      protected final com.jozufozu.flywheel.core.materials.model.ModelData indicator
    • previousState

      protected int previousState
  • Constructor Details

    • BrassDiodeInstance

      public BrassDiodeInstance(com.jozufozu.flywheel.backend.material.MaterialManager modelManager, BrassDiodeTileEntity tile)
  • Method Details

    • tick

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

      protected int getColor()