Class ChestVisual<T extends net.minecraft.world.level.block.entity.BlockEntity & net.minecraft.world.level.block.entity.LidBlockEntity>

java.lang.Object
dev.engine_room.flywheel.lib.visual.AbstractVisual
dev.engine_room.flywheel.lib.visual.AbstractBlockEntityVisual<T>
dev.engine_room.vanillin.visuals.ChestVisual<T>
All Implemented Interfaces:
dev.engine_room.flywheel.api.visual.BlockEntityVisual<T>, dev.engine_room.flywheel.api.visual.DynamicVisual, dev.engine_room.flywheel.api.visual.LightUpdatedVisual, dev.engine_room.flywheel.api.visual.SectionTrackedVisual, dev.engine_room.flywheel.api.visual.Visual, dev.engine_room.flywheel.lib.visual.SimpleDynamicVisual

public class ChestVisual<T extends net.minecraft.world.level.block.entity.BlockEntity & net.minecraft.world.level.block.entity.LidBlockEntity> extends dev.engine_room.flywheel.lib.visual.AbstractBlockEntityVisual<T> implements dev.engine_room.flywheel.lib.visual.SimpleDynamicVisual
  • Nested Class Summary

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

    dev.engine_room.flywheel.api.visual.DynamicVisual.Context

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

    dev.engine_room.flywheel.api.visual.SectionTrackedVisual.SectionCollector
  • Field Summary

    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
    ChestVisual(dev.engine_room.flywheel.api.visualization.VisualizationContext ctx, T blockEntity, float partialTick)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    void
    beginFrame(dev.engine_room.flywheel.api.visual.DynamicVisual.Context context)
     
    void
    collectCrumblingInstances(Consumer<dev.engine_room.flywheel.api.instance.Instance> consumer)
     
    void
    setSectionCollector(dev.engine_room.flywheel.api.visual.SectionTrackedVisual.SectionCollector sectionCollector)
     
    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

    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.SimpleDynamicVisual

    planFrame

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

    delete, update
  • Constructor Details

    • ChestVisual

      public ChestVisual(dev.engine_room.flywheel.api.visualization.VisualizationContext ctx, T blockEntity, float partialTick)
  • Method Details

    • setSectionCollector

      public void setSectionCollector(dev.engine_room.flywheel.api.visual.SectionTrackedVisual.SectionCollector sectionCollector)
      Specified by:
      setSectionCollector in interface dev.engine_room.flywheel.api.visual.SectionTrackedVisual
      Overrides:
      setSectionCollector in class dev.engine_room.flywheel.lib.visual.AbstractBlockEntityVisual<T extends net.minecraft.world.level.block.entity.BlockEntity & net.minecraft.world.level.block.entity.LidBlockEntity>
    • beginFrame

      public void beginFrame(dev.engine_room.flywheel.api.visual.DynamicVisual.Context context)
      Specified by:
      beginFrame in interface dev.engine_room.flywheel.lib.visual.SimpleDynamicVisual
    • updateLight

      public void updateLight(float partialTick)
      Specified by:
      updateLight in interface dev.engine_room.flywheel.api.visual.LightUpdatedVisual
    • 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<T extends net.minecraft.world.level.block.entity.BlockEntity & net.minecraft.world.level.block.entity.LidBlockEntity>
    • _delete

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