Class BrassDiodeVisual

java.lang.Object
dev.engine_room.flywheel.lib.visual.AbstractVisual
dev.engine_room.flywheel.lib.visual.AbstractBlockEntityVisual<BrassDiodeBlockEntity>
com.simibubi.create.content.redstone.diodes.BrassDiodeVisual
All Implemented Interfaces:
dev.engine_room.flywheel.api.visual.BlockEntityVisual<BrassDiodeBlockEntity>, dev.engine_room.flywheel.api.visual.LightUpdatedVisual, dev.engine_room.flywheel.api.visual.SectionTrackedVisual, dev.engine_room.flywheel.api.visual.TickableVisual, dev.engine_room.flywheel.api.visual.Visual, dev.engine_room.flywheel.lib.visual.SimpleTickableVisual

public class BrassDiodeVisual extends dev.engine_room.flywheel.lib.visual.AbstractBlockEntityVisual<BrassDiodeBlockEntity> implements dev.engine_room.flywheel.lib.visual.SimpleTickableVisual
  • Nested Class Summary

    Nested classes/interfaces inherited from interface dev.engine_room.flywheel.api.visual.SectionTrackedVisual

    dev.engine_room.flywheel.api.visual.SectionTrackedVisual.SectionCollector

    Nested classes/interfaces inherited from interface dev.engine_room.flywheel.api.visual.TickableVisual

    dev.engine_room.flywheel.api.visual.TickableVisual.Context
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final dev.engine_room.flywheel.lib.instance.TransformedInstance
     
    protected int
     

    Fields inherited from class dev.engine_room.flywheel.lib.visual.AbstractBlockEntityVisual

    blockEntity, blockState, lightSections, pos, visualPos

    Fields inherited from class dev.engine_room.flywheel.lib.visual.AbstractVisual

    deleted, level, visualizationContext
  • Constructor Summary

    Constructors
    Constructor
    Description
    BrassDiodeVisual(dev.engine_room.flywheel.api.visualization.VisualizationContext context, BrassDiodeBlockEntity blockEntity, float partialTick)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    void
    collectCrumblingInstances(Consumer<dev.engine_room.flywheel.api.instance.Instance> consumer)
     
    protected int
     
    void
    tick(dev.engine_room.flywheel.api.visual.TickableVisual.Context context)
     
    void
    updateLight(float partialTick)
     

    Methods inherited from class dev.engine_room.flywheel.lib.visual.AbstractBlockEntityVisual

    computePackedLight, doDistanceLimitThisFrame, getVisualPosition, isVisible, relight, relight, relight, relight, relight, relight, setSectionCollector

    Methods inherited from class dev.engine_room.flywheel.lib.visual.AbstractVisual

    delete, instancerProvider, renderOrigin, update

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface dev.engine_room.flywheel.lib.visual.SimpleTickableVisual

    planTick

    Methods inherited from interface dev.engine_room.flywheel.api.visual.Visual

    delete, update
  • Field Details

    • indicator

      protected final dev.engine_room.flywheel.lib.instance.TransformedInstance indicator
    • previousState

      protected int previousState
  • Constructor Details

    • BrassDiodeVisual

      public BrassDiodeVisual(dev.engine_room.flywheel.api.visualization.VisualizationContext context, BrassDiodeBlockEntity blockEntity, float partialTick)
  • Method Details

    • tick

      public void tick(dev.engine_room.flywheel.api.visual.TickableVisual.Context context)
      Specified by:
      tick in interface dev.engine_room.flywheel.lib.visual.SimpleTickableVisual
    • updateLight

      public void updateLight(float partialTick)
      Specified by:
      updateLight in interface dev.engine_room.flywheel.api.visual.LightUpdatedVisual
    • _delete

      protected void _delete()
      Specified by:
      _delete in class dev.engine_room.flywheel.lib.visual.AbstractVisual
    • getColor

      protected int getColor()
    • collectCrumblingInstances

      public void collectCrumblingInstances(Consumer<dev.engine_room.flywheel.api.instance.Instance> consumer)
      Specified by:
      collectCrumblingInstances in interface dev.engine_room.flywheel.api.visual.BlockEntityVisual<BrassDiodeBlockEntity>