跳到主要内容

mythicmob_npc_bone_camera_cinematic

Attach the cinematic camera to a bone of a MythicMob NPC's model — cinematic entry.

Entry Information

PropertyValue
Entry IDmythicmob_npc_bone_camera_cinematic
TypeCinematic
ColorCyan
Iconfa6-solid:video

Fields

FieldTypeDescription
segmentsList<MythicMobNpcBoneCameraSegment>At least two segments in the editor. Each segment selects the NPC source and camera bone for its frame range.

MythicMobNpcBoneCameraSegment

FieldTypeDescription
startFrame / endFrameIntInclusive frame range for the segment.
entityCinematicRef<MythicMobNpcEntityCinematicEntry>Animated NPC source. Takes priority over instance.
instanceRef<MythicMobNpcInstance>Placed NPC instance used when no entity cinematic is set.
boneNameVar<String>Bone carrying the camera.
searchRadiusDoubleRadius, in blocks, used to match a live NPC to the instance spawn point. Default 16.
offsetVectorLocal offset from the bone: X right, Y up, Z forward.
orientationMythicMobNpcBoneCameraOrientationControls the camera facing.

MythicMobNpcBoneCameraOrientation

FieldTypeDescription
modeFOLLOW_BONE, LOOK_AT_BONE, LOOK_AT_POSITION, FIXEDFollow the bone, look at another bone/NPC, look at a world position, or keep fixed angles.
forwardAxisBoneForwardAxisBone axis considered forward. NEGATIVE_Z matches the usual Blockbench orientation.
lookAtBoneVar<String>Target bone for LOOK_AT_BONE; empty targets the NPC.
lookAtPositionVar<Position>World target for LOOK_AT_POSITION.
yaw / pitchDoubleFixed yaw and pitch used by FIXED.
yawOffset / pitchOffsetDoubleAdditional rotation applied after the selected orientation mode.

Usage Example

- entry: mythicmob_npc_bone_camera_cinematic
name: "Attach the cinematic camera to a bone of a MythicMob NPC's model"
segments:
- startFrame: 0
endFrame: 120
entityCinematic: dragon_npc_cinematic
boneName: camera
searchRadius: 16.0
offset: { x: 0.0, y: 0.0, z: 0.0 }
orientation:
mode: FOLLOW_BONE
forwardAxis: NEGATIVE_Z

The entity cinematic source always wins over a placed instance, so the camera stays attached to the NPC being animated. The entry supports both BetterModel and ModelEngine model bones. If the NPC or bone is temporarily unavailable, the camera holds its last valid position instead of snapping to the origin.