Class KineticBlockEntityVisual<T extends KineticBlockEntity>

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>
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
Direct Known Subclasses:
BeltVisual, EncasedCogVisual, FanVisual, FlywheelVisual, GearboxVisual, HandCrankVisual, OrientedRotatingVisual, SawVisual, SingleAxisRotatingVisual, SplitShaftVisual, ValveHandleVisual, WaterWheelVisual

public abstract class KineticBlockEntityVisual<T extends KineticBlockEntity> extends dev.engine_room.flywheel.lib.visual.AbstractBlockEntityVisual<T>
  • Nested Class Summary

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

    Modifier and Type
    Method
    Description
    protected net.minecraft.core.Direction.Axis
     
    static net.minecraft.core.Direction.Axis
    rotationAxis(net.minecraft.world.level.block.state.BlockState blockState)
     
    static float
    rotationOffset(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction.Axis axis, net.minecraft.core.Vec3i pos)
     
    static boolean
    shouldOffset(net.minecraft.core.Direction.Axis axis, net.minecraft.core.Vec3i pos)
     

    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, 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.api.visual.BlockEntityVisual

    collectCrumblingInstances

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

    updateLight

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

    delete, update
  • Constructor Details

    • KineticBlockEntityVisual

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

    • rotationAxis

      protected net.minecraft.core.Direction.Axis rotationAxis()
    • rotationOffset

      public static float rotationOffset(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction.Axis axis, net.minecraft.core.Vec3i pos)
    • shouldOffset

      public static boolean shouldOffset(net.minecraft.core.Direction.Axis axis, net.minecraft.core.Vec3i pos)
    • rotationAxis

      public static net.minecraft.core.Direction.Axis rotationAxis(net.minecraft.world.level.block.state.BlockState blockState)