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, visualPosFields inherited from class dev.engine_room.flywheel.lib.visual.AbstractVisual
deleted, level, visualizationContext -
Constructor Summary
ConstructorsConstructorDescriptionKineticBlockEntityVisual(dev.engine_room.flywheel.api.visualization.VisualizationContext context, T blockEntity, float partialTick) -
Method Summary
Modifier and TypeMethodDescriptionprotected net.minecraft.core.Direction.Axisstatic net.minecraft.core.Direction.AxisrotationAxis(net.minecraft.world.level.block.state.BlockState blockState) static floatrotationOffset(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction.Axis axis, net.minecraft.core.Vec3i pos) static booleanshouldOffset(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, setSectionCollectorMethods inherited from class dev.engine_room.flywheel.lib.visual.AbstractVisual
_delete, delete, instancerProvider, renderOrigin, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.engine_room.flywheel.api.visual.BlockEntityVisual
collectCrumblingInstancesMethods inherited from interface dev.engine_room.flywheel.api.visual.LightUpdatedVisual
updateLightMethods 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)
-