Class SingleRotatingInstance
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
- All Implemented Interfaces:
com.jozufozu.flywheel.backend.instancing.IInstance,com.jozufozu.flywheel.light.ILightUpdateListener
- Direct Known Subclasses:
ArmInstance,BracketedKineticTileInstance,CopperBacktankInstance,CutoutRotatingInstance,DrillInstance,HalfShaftInstance,HandCrankInstance,MechanicalCrafterInstance,MillStoneCogInstance,PumpCogInstance,SawInstance,ShaftInstance
-
Field Summary
FieldsFields 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
ConstructorsConstructorDescriptionSingleRotatingInstance(com.jozufozu.flywheel.backend.material.MaterialManager modelManager, KineticTileEntity tile) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.jozufozu.flywheel.backend.instancing.Instancer<RotatingData>getModel()protected net.minecraft.world.level.block.state.BlockStatevoidinit()voidremove()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
-
-
Constructor Details
-
SingleRotatingInstance
public SingleRotatingInstance(com.jozufozu.flywheel.backend.material.MaterialManager modelManager, KineticTileEntity tile)
-
-
Method Details
-
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
-
getRenderedBlockState
protected net.minecraft.world.level.block.state.BlockState getRenderedBlockState() -
getModel
-