Class GaugeInstance
java.lang.Object
com.jozufozu.flywheel.backend.instancing.AbstractInstance
com.jozufozu.flywheel.backend.instancing.tile.TileEntityInstance<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.backend.api.instance.IDynamicInstance,com.jozufozu.flywheel.backend.api.instance.IInstance,com.jozufozu.flywheel.light.LightListener
- Direct Known Subclasses:
GaugeInstance.Speed,GaugeInstance.Stress
public abstract class GaugeInstance
extends ShaftInstance
implements com.jozufozu.flywheel.backend.api.instance.IDynamicInstance
-
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.tile.TileEntityInstance
blockState, instancePos, pos, tileFields inherited from class com.jozufozu.flywheel.backend.instancing.AbstractInstance
materialManager, world -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGaugeInstance(com.jozufozu.flywheel.backend.api.MaterialManager dispatcher, KineticTileEntity tile) -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected abstract com.jozufozu.flywheel.backend.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.tile.TileEntityInstance
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.backend.api.instance.IDynamicInstance
decreaseFramerateWithDistanceMethods inherited from interface com.jozufozu.flywheel.backend.api.instance.IInstance
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.backend.api.MaterialManager dispatcher, KineticTileEntity tile)
-
-
Method Details
-
beginFrame
public void beginFrame()- Specified by:
beginFramein interfacecom.jozufozu.flywheel.backend.api.instance.IDynamicInstance
-
updateLight
public void updateLight()- Overrides:
updateLightin classSingleRotatingInstance
-
remove
public void remove()- Overrides:
removein classSingleRotatingInstance
-
getHeadModel
protected abstract com.jozufozu.flywheel.backend.api.Instancer<com.jozufozu.flywheel.core.materials.model.ModelData> getHeadModel()
-