Class EncasedCogInstance
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.relays.encased.EncasedCogInstance
- All Implemented Interfaces:
com.jozufozu.flywheel.backend.instancing.IInstance,com.jozufozu.flywheel.light.ILightUpdateListener
- Direct Known Subclasses:
MixerInstance
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Optional<RotatingData>protected RotatingDataprotected Optional<RotatingData>Fields 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
ConstructorsConstructorDescriptionEncasedCogInstance(com.jozufozu.flywheel.backend.material.MaterialManager modelManager, KineticTileEntity tile, boolean large) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.jozufozu.flywheel.backend.instancing.Instancer<RotatingData>voidinit()static EncasedCogInstancelarge(com.jozufozu.flywheel.backend.material.MaterialManager modelManager, KineticTileEntity tile) voidremove()static EncasedCogInstancesmall(com.jozufozu.flywheel.backend.material.MaterialManager modelManager, KineticTileEntity tile) voidupdate()voidMethods 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.light.ILightUpdateListener
onLightPacket
-
Field Details
-
rotatingModel
-
rotatingTopShaft
-
rotatingBottomShaft
-
-
Constructor Details
-
EncasedCogInstance
public EncasedCogInstance(com.jozufozu.flywheel.backend.material.MaterialManager modelManager, KineticTileEntity tile, boolean large)
-
-
Method Details
-
small
public static EncasedCogInstance small(com.jozufozu.flywheel.backend.material.MaterialManager modelManager, KineticTileEntity tile) -
large
public static EncasedCogInstance large(com.jozufozu.flywheel.backend.material.MaterialManager modelManager, KineticTileEntity tile) -
init
public void init()- Overrides:
initin classcom.jozufozu.flywheel.backend.instancing.AbstractInstance
-
update
public void update()- Overrides:
updatein classcom.jozufozu.flywheel.backend.instancing.AbstractInstance
-
updateLight
public void updateLight()- Overrides:
updateLightin classcom.jozufozu.flywheel.backend.instancing.AbstractInstance
-
remove
public void remove()- Specified by:
removein classcom.jozufozu.flywheel.backend.instancing.AbstractInstance
-
getCogModel
-