Class WaterWheelVisual<T extends WaterWheelBlockEntity>

java.lang.Object
dev.engine_room.flywheel.lib.visual.AbstractVisual
dev.engine_room.flywheel.lib.visual.AbstractBlockEntityVisual<T>
com.simibubi.create.content.kinetics.base.KineticBlockEntityVisual<T>
com.simibubi.create.content.kinetics.waterwheel.WaterWheelVisual<T>
All Implemented Interfaces:
dev.engine_room.flywheel.api.visual.BlockEntityVisual<T>, dev.engine_room.flywheel.api.visual.LightUpdatedVisual, dev.engine_room.flywheel.api.visual.SectionTrackedVisual, dev.engine_room.flywheel.api.visual.Visual

public class WaterWheelVisual<T extends WaterWheelBlockEntity> extends KineticBlockEntityVisual<T>
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final record 
     

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

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

    Fields
    Modifier and Type
    Field
    Description
    protected final boolean
     
    protected net.minecraft.world.level.block.state.BlockState
     
     

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

    Modifier and Type
    Method
    Description
    protected void
     
    void
    collectCrumblingInstances(Consumer<dev.engine_room.flywheel.api.instance.Instance> consumer)
     
    large(dev.engine_room.flywheel.api.visualization.VisualizationContext context, T blockEntity, float partialTick)
     
    standard(dev.engine_room.flywheel.api.visualization.VisualizationContext context, T blockEntity, float partialTick)
     
    void
    update(float pt)
     
    void
    updateLight(float partialTick)
     

    Methods inherited from class com.simibubi.create.content.kinetics.base.KineticBlockEntityVisual

    applyOverstressEffect, rotationAxis, rotationAxis, rotationOffset, shouldOffset

    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

    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.api.visual.Visual

    delete
  • Field Details

    • large

      protected final boolean large
    • lastMaterial

      protected net.minecraft.world.level.block.state.BlockState lastMaterial
    • rotatingModel

      protected RotatingInstance rotatingModel
  • Constructor Details

    • WaterWheelVisual

      public WaterWheelVisual(dev.engine_room.flywheel.api.visualization.VisualizationContext context, T blockEntity, boolean large, float partialTick)
  • Method Details

    • standard

      public static <T extends WaterWheelBlockEntity> WaterWheelVisual<T> standard(dev.engine_room.flywheel.api.visualization.VisualizationContext context, T blockEntity, float partialTick)
    • large

      public static <T extends WaterWheelBlockEntity> WaterWheelVisual<T> large(dev.engine_room.flywheel.api.visualization.VisualizationContext context, T blockEntity, float partialTick)
    • update

      public void update(float pt)
      Specified by:
      update in interface dev.engine_room.flywheel.api.visual.Visual
      Overrides:
      update in class dev.engine_room.flywheel.lib.visual.AbstractVisual
    • updateLight

      public void updateLight(float partialTick)
    • _delete

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

      public void collectCrumblingInstances(Consumer<dev.engine_room.flywheel.api.instance.Instance> consumer)