Class BeltVisual
java.lang.Object
dev.engine_room.flywheel.lib.visual.AbstractVisual
dev.engine_room.flywheel.lib.visual.AbstractBlockEntityVisual<BeltBlockEntity>
com.simibubi.create.content.kinetics.base.KineticBlockEntityVisual<BeltBlockEntity>
com.simibubi.create.content.kinetics.belt.BeltVisual
- All Implemented Interfaces:
dev.engine_room.flywheel.api.visual.BlockEntityVisual<BeltBlockEntity>,dev.engine_room.flywheel.api.visual.LightUpdatedVisual,dev.engine_room.flywheel.api.visual.SectionTrackedVisual,dev.engine_room.flywheel.api.visual.Visual
-
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
FieldsModifier and TypeFieldDescriptionprotected final ScrollInstance[]static final floatprotected final @Nullable RotatingInstancestatic final floatstatic final floatstatic final floatstatic final floatFields 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
ConstructorsConstructorDescriptionBeltVisual(dev.engine_room.flywheel.api.visualization.VisualizationContext context, BeltBlockEntity blockEntity, float partialTick) -
Method Summary
Modifier and TypeMethodDescriptionprotected void_delete()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.KineticBlockEntityVisual
applyOverstressEffect, 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.api.visual.Visual
delete
-
Field Details
-
MAGIC_SCROLL_MULTIPLIER
public static final float MAGIC_SCROLL_MULTIPLIER- See Also:
-
SCROLL_FACTOR_DIAGONAL
public static final float SCROLL_FACTOR_DIAGONAL- See Also:
-
SCROLL_FACTOR_OTHERWISE
public static final float SCROLL_FACTOR_OTHERWISE- See Also:
-
SCROLL_OFFSET_BOTTOM
public static final float SCROLL_OFFSET_BOTTOM- See Also:
-
SCROLL_OFFSET_OTHERWISE
public static final float SCROLL_OFFSET_OTHERWISE- See Also:
-
belts
-
pulley
-
-
Constructor Details
-
BeltVisual
public BeltVisual(dev.engine_room.flywheel.api.visualization.VisualizationContext context, BeltBlockEntity blockEntity, float partialTick)
-
-
Method Details
-
update
public void update(float pt) - Specified by:
updatein interfacedev.engine_room.flywheel.api.visual.Visual- Overrides:
updatein classdev.engine_room.flywheel.lib.visual.AbstractVisual
-
updateLight
public void updateLight(float partialTick) -
_delete
protected void _delete()- Specified by:
_deletein classdev.engine_room.flywheel.lib.visual.AbstractVisual
-
collectCrumblingInstances
public void collectCrumblingInstances(Consumer<dev.engine_room.flywheel.api.instance.Instance> consumer)
-