Class PackagerVisual<T extends PackagerBlockEntity>
java.lang.Object
dev.engine_room.flywheel.lib.visual.AbstractVisual
dev.engine_room.flywheel.lib.visual.AbstractBlockEntityVisual<T>
com.simibubi.create.content.logistics.packager.PackagerVisual<T>
- All Implemented Interfaces:
dev.engine_room.flywheel.api.visual.BlockEntityVisual<T>,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 PackagerVisual<T extends PackagerBlockEntity>
extends dev.engine_room.flywheel.lib.visual.AbstractBlockEntityVisual<T>
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
FieldsModifier and TypeFieldDescriptionfinal dev.engine_room.flywheel.lib.instance.TransformedInstancedev.engine_room.flywheel.lib.model.baked.PartialModelfloatfinal dev.engine_room.flywheel.lib.instance.TransformedInstanceFields 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
ConstructorsConstructorDescriptionPackagerVisual(dev.engine_room.flywheel.api.visualization.VisualizationContext ctx, T blockEntity, float partialTick) -
Method Summary
Modifier and TypeMethodDescriptionprotected void_delete()voidanimate(float partialTick) voidbeginFrame(dev.engine_room.flywheel.api.visual.DynamicVisual.Context ctx) voidcollectCrumblingInstances(Consumer<@Nullable dev.engine_room.flywheel.api.instance.Instance> consumer) 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.SimpleDynamicVisual
planFrameMethods inherited from interface dev.engine_room.flywheel.api.visual.Visual
delete, update
-
Field Details
-
hatch
public final dev.engine_room.flywheel.lib.instance.TransformedInstance hatch -
tray
public final dev.engine_room.flywheel.lib.instance.TransformedInstance tray -
lastTrayOffset
public float lastTrayOffset -
lastHatchPartial
public dev.engine_room.flywheel.lib.model.baked.PartialModel lastHatchPartial
-
-
Constructor Details
-
PackagerVisual
public PackagerVisual(dev.engine_room.flywheel.api.visualization.VisualizationContext ctx, T 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
-
animate
public void animate(float partialTick) -
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
-
collectCrumblingInstances
public void collectCrumblingInstances(Consumer<@Nullable dev.engine_room.flywheel.api.instance.Instance> consumer) - Specified by:
collectCrumblingInstancesin interfacedev.engine_room.flywheel.api.visual.BlockEntityVisual<T extends PackagerBlockEntity>
-