Class ActorInstance
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 Summary
FieldsModifier and TypeFieldDescriptionbyteorg.joml.QuaternionfbytebytebytebytebytebytefloatbytefloatfloatfloatfloatFields inherited from class dev.engine_room.flywheel.lib.instance.AbstractInstance
handle, type -
Constructor Summary
ConstructorsConstructorDescriptionActorInstance(dev.engine_room.flywheel.api.instance.InstanceType<?> type, dev.engine_room.flywheel.api.instance.InstanceHandle handle) -
Method Summary
Modifier and TypeMethodDescriptionsetBlockLight(int blockLight) setLocalRotation(org.joml.Quaternionfc q) setPosition(net.minecraft.core.BlockPos pos) setRotationAxis(float rotationAxisX, float rotationAxisY, float rotationAxisZ) setRotationAxis(org.joml.Vector3f axis) setRotationCenter(float rotationCenterX, float rotationCenterY, float rotationCenterZ) setRotationCenter(org.joml.Vector3f axis) setRotationOffset(float rotationOffset) setSkyLight(int skyLight) setSpeed(float speed) Methods inherited from class dev.engine_room.flywheel.lib.instance.AbstractInstance
delete, handle, setChanged, setVisible, type
-
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
-
setBlockLight
-
setSkyLight
-
setRotationOffset
-
setSpeed
-
setRotationAxis
-
setRotationAxis
-
setRotationCenter
-
setRotationCenter
public ActorInstance setRotationCenter(float rotationCenterX, float rotationCenterY, float rotationCenterZ) -
setLocalRotation
-