NullObjectBlueprint

public class NullObjectBlueprint

Represents a null object element from a Blockbench model. Null objects are IK controllers that define an IK chain and animate it. They store references to: - ik_source: The root bone of the IK chain (where the chain starts) - ik_target: The end effector bone or locator (where the chain tries to reach) When animated, the null object's position offset from its rest position becomes the IK goal that the chain tries to reach.

Constructors

Link copied to clipboard
public void NullObjectBlueprint(Map<String, Object> nullObjectData)
Creates a NullObjectBlueprint from parsed JSON data.

Properties

Link copied to clipboard
Link copied to clipboard
public final String ikSourceUUID
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final String ikTargetUUID
Link copied to clipboard
public final String name
Link copied to clipboard
Link copied to clipboard
public final Vector3f restPosition
Link copied to clipboard
public final String uuid

Functions

Link copied to clipboard
Link copied to clipboard
public String getIkSourceUUID()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public String getIkTargetUUID()
Link copied to clipboard
public Vector3f getModelSpaceRestPosition()
Gets the rest position in model space (converted from Blockbench units to game units).
Link copied to clipboard
public String getName()
Link copied to clipboard
Link copied to clipboard
public Vector3f getRestPosition()
Link copied to clipboard
public String getUuid()
Link copied to clipboard
public boolean hasValidIKConfig()
Checks if this null object has valid IK configuration.
Link copied to clipboard
public boolean isLockIkTargetRotation()
Link copied to clipboard
public void setIkSourceBone(BoneBlueprint ikSourceBone)
Link copied to clipboard
public void setIkTargetBone(BoneBlueprint ikTargetBone)
Link copied to clipboard
public void setIkTargetLocator(LocatorBlueprint ikTargetLocator)
Link copied to clipboard
public void setParentBone(BoneBlueprint parentBone)