Class BrassDiodeVisual
java.lang.Object
dev.engine_room.flywheel.lib.visual.AbstractVisual
dev.engine_room.flywheel.lib.visual.AbstractBlockEntityVisual<BrassDiodeBlockEntity>
com.simibubi.create.content.redstone.diodes.BrassDiodeVisual
- All Implemented Interfaces:
dev.engine_room.flywheel.api.visual.BlockEntityVisual<BrassDiodeBlockEntity>,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.SimpleTickableVisual
public class BrassDiodeVisual
extends dev.engine_room.flywheel.lib.visual.AbstractBlockEntityVisual<BrassDiodeBlockEntity>
implements dev.engine_room.flywheel.lib.visual.SimpleTickableVisual
-
Nested Class Summary
Nested 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 dev.engine_room.flywheel.lib.instance.TransformedInstanceprotected intFields 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
ConstructorsConstructorDescriptionBrassDiodeVisual(dev.engine_room.flywheel.api.visualization.VisualizationContext context, BrassDiodeBlockEntity blockEntity, float partialTick) -
Method Summary
Modifier and TypeMethodDescriptionprotected void_delete()voidcollectCrumblingInstances(Consumer<dev.engine_room.flywheel.api.instance.Instance> consumer) protected intgetColor()voidtick(dev.engine_room.flywheel.api.visual.TickableVisual.Context context) voidupdateLight(float partialTick) 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, 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.lib.visual.SimpleTickableVisual
planTickMethods inherited from interface dev.engine_room.flywheel.api.visual.Visual
delete, update
-
Field Details
-
indicator
protected final dev.engine_room.flywheel.lib.instance.TransformedInstance indicator -
previousState
protected int previousState
-
-
Constructor Details
-
BrassDiodeVisual
public BrassDiodeVisual(dev.engine_room.flywheel.api.visualization.VisualizationContext context, BrassDiodeBlockEntity blockEntity, float partialTick)
-
-
Method Details
-
tick
public void tick(dev.engine_room.flywheel.api.visual.TickableVisual.Context context) - Specified by:
tickin interfacedev.engine_room.flywheel.lib.visual.SimpleTickableVisual
-
updateLight
public void updateLight(float partialTick) - Specified by:
updateLightin interfacedev.engine_room.flywheel.api.visual.LightUpdatedVisual
-
_delete
protected void _delete()- Specified by:
_deletein classdev.engine_room.flywheel.lib.visual.AbstractVisual
-
getColor
protected int getColor() -
collectCrumblingInstances
public void collectCrumblingInstances(Consumer<dev.engine_room.flywheel.api.instance.Instance> consumer) - Specified by:
collectCrumblingInstancesin interfacedev.engine_room.flywheel.api.visual.BlockEntityVisual<BrassDiodeBlockEntity>
-