Class GaugeInstance
java.lang.Object
com.jozufozu.flywheel.backend.instancing.AbstractInstance
com.jozufozu.flywheel.backend.instancing.blockentity.BlockEntityInstance<T>
com.simibubi.create.content.contraptions.base.KineticTileInstance<KineticTileEntity>
com.simibubi.create.content.contraptions.base.SingleRotatingInstance
com.simibubi.create.content.contraptions.relays.encased.ShaftInstance
com.simibubi.create.content.contraptions.relays.gauge.GaugeInstance
- All Implemented Interfaces:
com.jozufozu.flywheel.api.instance.DynamicInstance,com.jozufozu.flywheel.api.instance.Instance,com.jozufozu.flywheel.light.LightListener
- Direct Known Subclasses:
GaugeInstance.Speed,GaugeInstance.Stress
public abstract class GaugeInstance
extends ShaftInstance
implements com.jozufozu.flywheel.api.instance.DynamicInstance
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ArrayList<com.simibubi.create.content.contraptions.relays.gauge.GaugeInstance.DialFace>protected com.mojang.blaze3d.vertex.PoseStackFields inherited from class com.simibubi.create.content.contraptions.base.SingleRotatingInstance
rotatingModelFields inherited from class com.simibubi.create.content.contraptions.base.KineticTileInstance
axisFields inherited from class com.jozufozu.flywheel.backend.instancing.blockentity.BlockEntityInstance
blockEntity, blockState, instancePos, posFields inherited from class com.jozufozu.flywheel.backend.instancing.AbstractInstance
materialManager, world -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGaugeInstance(com.jozufozu.flywheel.api.MaterialManager dispatcher, KineticTileEntity tile) -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected abstract com.jozufozu.flywheel.api.Instancer<com.jozufozu.flywheel.core.materials.model.ModelData>voidremove()voidMethods inherited from class com.simibubi.create.content.contraptions.relays.encased.ShaftInstance
getRenderedBlockStateMethods inherited from class com.simibubi.create.content.contraptions.base.SingleRotatingInstance
getModel, init, updateMethods inherited from class com.simibubi.create.content.contraptions.base.KineticTileInstance
getRotatingMaterial, getRotationAxis, getRotationOffset, getTileSpeed, setup, setup, setup, setup, shaft, shaft, updateRotation, updateRotation, updateRotation, updateRotationMethods inherited from class com.jozufozu.flywheel.backend.instancing.blockentity.BlockEntityInstance
getInstancePosition, getOrientedMaterial, getTransformMaterial, getVolume, getWorldPosition, shouldResetMethods inherited from class com.jozufozu.flywheel.backend.instancing.AbstractInstance
onLightUpdate, relight, relight, relight, relight, statusMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.jozufozu.flywheel.api.instance.DynamicInstance
decreaseFramerateWithDistanceMethods inherited from interface com.jozufozu.flywheel.api.instance.Instance
getWorldPositionMethods inherited from interface com.jozufozu.flywheel.light.LightListener
onLightPacket
-
Field Details
-
faces
protected final ArrayList<com.simibubi.create.content.contraptions.relays.gauge.GaugeInstance.DialFace> faces -
ms
protected com.mojang.blaze3d.vertex.PoseStack ms
-
-
Constructor Details
-
GaugeInstance
protected GaugeInstance(com.jozufozu.flywheel.api.MaterialManager dispatcher, KineticTileEntity tile)
-
-
Method Details
-
beginFrame
public void beginFrame()- Specified by:
beginFramein interfacecom.jozufozu.flywheel.api.instance.DynamicInstance
-
updateLight
public void updateLight()- Overrides:
updateLightin classSingleRotatingInstance
-
remove
public void remove()- Overrides:
removein classSingleRotatingInstance
-
getHeadModel
protected abstract com.jozufozu.flywheel.api.Instancer<com.jozufozu.flywheel.core.materials.model.ModelData> getHeadModel()
-