Class GaugeVisual
java.lang.Object
dev.engine_room.flywheel.lib.visual.AbstractVisual
dev.engine_room.flywheel.lib.visual.AbstractBlockEntityVisual<GaugeBlockEntity>
com.simibubi.create.content.kinetics.base.KineticBlockEntityVisual<GaugeBlockEntity>
com.simibubi.create.content.kinetics.base.SingleAxisRotatingVisual<GaugeBlockEntity>
com.simibubi.create.content.kinetics.base.ShaftVisual<GaugeBlockEntity>
com.simibubi.create.content.kinetics.gauge.GaugeVisual
- All Implemented Interfaces:
dev.engine_room.flywheel.api.visual.BlockEntityVisual<GaugeBlockEntity>,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.TickableVisual,dev.engine_room.flywheel.api.visual.Visual,dev.engine_room.flywheel.lib.visual.SimpleDynamicVisual,dev.engine_room.flywheel.lib.visual.SimpleTickableVisual
- Direct Known Subclasses:
GaugeVisual.Speed,GaugeVisual.Stress
public abstract class GaugeVisual
extends ShaftVisual<GaugeBlockEntity>
implements dev.engine_room.flywheel.lib.visual.SimpleDynamicVisual
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classstatic classstatic classNested 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.SectionCollectorNested classes/interfaces inherited from interface dev.engine_room.flywheel.api.visual.TickableVisual
dev.engine_room.flywheel.api.visual.TickableVisual.Context -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ArrayList<GaugeVisual.DialFace> protected final com.mojang.blaze3d.vertex.PoseStackFields inherited from class com.simibubi.create.content.kinetics.base.SingleAxisRotatingVisual
rainbowMode, 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
ConstructorsModifierConstructorDescriptionprotectedGaugeVisual(dev.engine_room.flywheel.api.visualization.VisualizationContext context, GaugeBlockEntity 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) protected abstract dev.engine_room.flywheel.api.instance.Instancer<dev.engine_room.flywheel.lib.instance.TransformedInstance> voidupdateLight(float partialTick) Methods inherited from class com.simibubi.create.content.kinetics.base.SingleAxisRotatingVisual
backtank, of, ofZ, shaft, tick, updateMethods 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.lib.visual.SimpleDynamicVisual
planFrameMethods inherited from interface dev.engine_room.flywheel.lib.visual.SimpleTickableVisual
planTickMethods inherited from interface dev.engine_room.flywheel.api.visual.Visual
delete, update
-
Field Details
-
faces
-
ms
protected final com.mojang.blaze3d.vertex.PoseStack ms
-
-
Constructor Details
-
GaugeVisual
protected GaugeVisual(dev.engine_room.flywheel.api.visualization.VisualizationContext context, GaugeBlockEntity 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
-
updateLight
public void updateLight(float partialTick) - Specified by:
updateLightin interfacedev.engine_room.flywheel.api.visual.LightUpdatedVisual- Overrides:
updateLightin classSingleAxisRotatingVisual<GaugeBlockEntity>
-
_delete
protected void _delete()- Overrides:
_deletein classSingleAxisRotatingVisual<GaugeBlockEntity>
-
collectCrumblingInstances
public void collectCrumblingInstances(Consumer<dev.engine_room.flywheel.api.instance.Instance> consumer) - Specified by:
collectCrumblingInstancesin interfacedev.engine_room.flywheel.api.visual.BlockEntityVisual<GaugeBlockEntity>- Overrides:
collectCrumblingInstancesin classSingleAxisRotatingVisual<GaugeBlockEntity>
-
getHeadModel
protected abstract dev.engine_room.flywheel.api.instance.Instancer<dev.engine_room.flywheel.lib.instance.TransformedInstance> getHeadModel()
-