Class FanVisual
java.lang.Object
dev.engine_room.flywheel.lib.visual.AbstractVisual
dev.engine_room.flywheel.lib.visual.AbstractBlockEntityVisual<EncasedFanBlockEntity>
com.simibubi.create.content.kinetics.base.KineticBlockEntityVisual<EncasedFanBlockEntity>
com.simibubi.create.content.kinetics.fan.FanVisual
- All Implemented Interfaces:
dev.engine_room.flywheel.api.visual.BlockEntityVisual<EncasedFanBlockEntity>,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 RotatingInstanceprotected final RotatingInstanceFields 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
ConstructorsConstructorDescriptionFanVisual(dev.engine_room.flywheel.api.visualization.VisualizationContext context, EncasedFanBlockEntity 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
-
shaft
-
fan
-
-
Constructor Details
-
FanVisual
public FanVisual(dev.engine_room.flywheel.api.visualization.VisualizationContext context, EncasedFanBlockEntity 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)
-