java.lang.Object
dev.engine_room.flywheel.lib.instance.AbstractInstance
com.simibubi.create.content.contraptions.actors.ActorInstance
All Implemented Interfaces:
dev.engine_room.flywheel.api.instance.Instance

public class ActorInstance extends dev.engine_room.flywheel.lib.instance.AbstractInstance
  • Field Details

    • x

      public float x
    • y

      public float y
    • z

      public float z
    • blockLight

      public byte blockLight
    • skyLight

      public byte skyLight
    • rotationOffset

      public float rotationOffset
    • rotationAxisX

      public byte rotationAxisX
    • rotationAxisY

      public byte rotationAxisY
    • rotationAxisZ

      public byte rotationAxisZ
    • rotation

      public org.joml.Quaternionf rotation
    • rotationCenterX

      public byte rotationCenterX
    • rotationCenterY

      public byte rotationCenterY
    • rotationCenterZ

      public byte rotationCenterZ
    • speed

      public float speed
  • Constructor Details

    • ActorInstance

      public ActorInstance(dev.engine_room.flywheel.api.instance.InstanceType<?> type, dev.engine_room.flywheel.api.instance.InstanceHandle handle)
  • Method Details

    • setPosition

      public ActorInstance setPosition(net.minecraft.core.BlockPos pos)
    • setBlockLight

      public ActorInstance setBlockLight(int blockLight)
    • setSkyLight

      public ActorInstance setSkyLight(int skyLight)
    • setRotationOffset

      public ActorInstance setRotationOffset(float rotationOffset)
    • setSpeed

      public ActorInstance setSpeed(float speed)
    • setRotationAxis

      public ActorInstance setRotationAxis(org.joml.Vector3f axis)
    • setRotationAxis

      public ActorInstance setRotationAxis(float rotationAxisX, float rotationAxisY, float rotationAxisZ)
    • setRotationCenter

      public ActorInstance setRotationCenter(org.joml.Vector3f axis)
    • setRotationCenter

      public ActorInstance setRotationCenter(float rotationCenterX, float rotationCenterY, float rotationCenterZ)
    • setLocalRotation

      public ActorInstance setLocalRotation(org.joml.Quaternionfc q)