Class SingleRotatingInstance

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
All Implemented Interfaces:
com.jozufozu.flywheel.api.instance.Instance, com.jozufozu.flywheel.light.LightListener
Direct Known Subclasses:
ArmInstance, BracketedKineticTileInstance, CopperBacktankInstance, CutoutRotatingInstance, DrillInstance, HalfShaftInstance, HandCrankInstance, MechanicalCrafterInstance, MillStoneCogInstance, PumpCogInstance, SawInstance, ShaftInstance

public class SingleRotatingInstance extends KineticTileInstance<KineticTileEntity>
  • Field Details

  • Constructor Details

    • SingleRotatingInstance

      public SingleRotatingInstance(com.jozufozu.flywheel.api.MaterialManager modelManager, KineticTileEntity tile)
  • Method Details

    • init

      public void init()
      Overrides:
      init in class com.jozufozu.flywheel.backend.instancing.AbstractInstance
    • update

      public void update()
      Overrides:
      update in class com.jozufozu.flywheel.backend.instancing.AbstractInstance
    • updateLight

      public void updateLight()
      Overrides:
      updateLight in class com.jozufozu.flywheel.backend.instancing.AbstractInstance
    • remove

      public void remove()
      Specified by:
      remove in class com.jozufozu.flywheel.backend.instancing.AbstractInstance
    • getRenderedBlockState

      protected net.minecraft.world.level.block.state.BlockState getRenderedBlockState()
    • getModel

      protected com.jozufozu.flywheel.api.Instancer<RotatingData> getModel()