Class ArmVisual
java.lang.Object
dev.engine_room.flywheel.lib.visual.AbstractVisual
dev.engine_room.flywheel.lib.visual.AbstractBlockEntityVisual<ArmBlockEntity>
com.simibubi.create.content.kinetics.base.KineticBlockEntityVisual<ArmBlockEntity>
com.simibubi.create.content.kinetics.base.SingleAxisRotatingVisual<ArmBlockEntity>
com.simibubi.create.content.kinetics.mechanicalArm.ArmVisual
- All Implemented Interfaces:
dev.engine_room.flywheel.api.visual.BlockEntityVisual<ArmBlockEntity>,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 ArmVisual
extends SingleAxisRotatingVisual<ArmBlockEntity>
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.ContextNested 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 com.simibubi.create.content.kinetics.base.SingleAxisRotatingVisual
rotatingModelFields 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
ConstructorsConstructorDescriptionArmVisual(dev.engine_room.flywheel.api.visualization.VisualizationContext context, ArmBlockEntity blockEntity, float partialTick) -
Method Summary
Modifier and TypeMethodDescriptionprotected void_delete()voidbeginFrame(dev.engine_room.flywheel.api.visual.DynamicVisual.Context ctx) voidcollectCrumblingInstances(Consumer<dev.engine_room.flywheel.api.instance.Instance> consumer) voidupdate(float pt) voidupdateLight(float partialTick) Methods inherited from class com.simibubi.create.content.kinetics.base.SingleAxisRotatingVisual
backtank, of, ofZ, shaftMethods inherited from class com.simibubi.create.content.kinetics.base.KineticBlockEntityVisual
rotationAxis, rotationAxis, rotationOffset, shouldOffsetMethods 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, instancerProvider, renderOriginMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.engine_room.flywheel.lib.visual.SimpleDynamicVisual
planFrameMethods inherited from interface dev.engine_room.flywheel.api.visual.Visual
delete
-
Constructor Details
-
ArmVisual
public ArmVisual(dev.engine_room.flywheel.api.visualization.VisualizationContext context, ArmBlockEntity blockEntity, float partialTick)
-
-
Method Details
-
beginFrame
public void beginFrame(dev.engine_room.flywheel.api.visual.DynamicVisual.Context ctx) - Specified by:
beginFramein interfacedev.engine_room.flywheel.lib.visual.SimpleDynamicVisual
-
update
public void update(float pt) - Specified by:
updatein interfacedev.engine_room.flywheel.api.visual.Visual- Overrides:
updatein classSingleAxisRotatingVisual<ArmBlockEntity>
-
updateLight
public void updateLight(float partialTick) - Specified by:
updateLightin interfacedev.engine_room.flywheel.api.visual.LightUpdatedVisual- Overrides:
updateLightin classSingleAxisRotatingVisual<ArmBlockEntity>
-
_delete
protected void _delete()- Overrides:
_deletein classSingleAxisRotatingVisual<ArmBlockEntity>
-
collectCrumblingInstances
public void collectCrumblingInstances(Consumer<dev.engine_room.flywheel.api.instance.Instance> consumer) - Specified by:
collectCrumblingInstancesin interfacedev.engine_room.flywheel.api.visual.BlockEntityVisual<ArmBlockEntity>- Overrides:
collectCrumblingInstancesin classSingleAxisRotatingVisual<ArmBlockEntity>
-