Class OrientedInstance
java.lang.Object
dev.engine_room.flywheel.lib.instance.AbstractInstance
dev.engine_room.flywheel.lib.instance.ColoredLitInstance
dev.engine_room.flywheel.lib.instance.ColoredLitOverlayInstance
dev.engine_room.flywheel.lib.instance.OrientedInstance
- All Implemented Interfaces:
Instance,FlatLit,Rotate<OrientedInstance>
-
Field Summary
FieldsModifier and TypeFieldDescriptionfloatfloatfloatfloatfloatfloatfinal org.joml.QuaternionfFields inherited from class dev.engine_room.flywheel.lib.instance.ColoredLitOverlayInstance
overlayFields inherited from class dev.engine_room.flywheel.lib.instance.ColoredLitInstance
alpha, blue, green, light, redFields inherited from class dev.engine_room.flywheel.lib.instance.AbstractInstance
handle, type -
Constructor Summary
ConstructorsConstructorDescriptionOrientedInstance(InstanceType<? extends OrientedInstance> type, InstanceHandle handle) -
Method Summary
Modifier and TypeMethodDescriptionpivot(float x, float y, float z) pivot(net.minecraft.core.Vec3i pos) pivot(net.minecraft.world.phys.Vec3 pos) pivot(org.joml.Vector3fc pos) position(float x, float y, float z) position(net.minecraft.core.Vec3i pos) position(net.minecraft.world.phys.Vec3 pos) position(org.joml.Vector3fc pos) rotate(org.joml.Quaternionfc quaternion) rotation(float x, float y, float z, float w) rotation(org.joml.Quaternionfc q) translatePivot(float x, float y, float z) translatePosition(float x, float y, float z) Methods inherited from class dev.engine_room.flywheel.lib.instance.ColoredLitOverlayInstance
overlayMethods inherited from class dev.engine_room.flywheel.lib.instance.ColoredLitInstance
color, color, color, color, color, color, colorArgb, colorRgb, lightMethods inherited from class dev.engine_room.flywheel.lib.instance.AbstractInstance
delete, handle, setChanged, setVisible, typeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.engine_room.flywheel.api.instance.Instance
delete, handle, setChanged, setVisible, typeMethods inherited from interface dev.engine_room.flywheel.lib.transform.Rotate
rotate, rotate, rotate, rotate, rotate, rotate, rotateDegrees, rotateDegrees, rotateDegrees, rotateDegrees, rotateDegrees, rotateTo, rotateToFace, rotateX, rotateXDegrees, rotateY, rotateYDegrees, rotateZ, rotateZDegrees, self
-
Field Details
-
posX
public float posX -
posY
public float posY -
posZ
public float posZ -
pivotX
public float pivotX -
pivotY
public float pivotY -
pivotZ
public float pivotZ -
rotation
public final org.joml.Quaternionf rotation
-
-
Constructor Details
-
OrientedInstance
-
-
Method Details
-
position
-
position
-
position
-
position
-
zeroPosition
-
translatePosition
-
pivot
-
pivot
-
pivot
-
pivot
-
centerPivot
-
translatePivot
-
rotation
-
rotation
-
identityRotation
-
rotate
- Specified by:
rotatein interfaceRotate<OrientedInstance>
-