MCBE
OverviewPacketsCameraInstruction
ID 0x12C · 300Server → ClientGraphics

CameraInstruction

camera-instruction.bin
struct CameraInstruction {
  CameraInstruction                            CameraInstruction;
}

Structure

FieldTypeDescription
Camera InstructionCameraInstruction

Structure of CameraInstruction

FieldTypeDescription
Setoptional byte + CameraInstructionOptions.SetInstructionPresence flag on the wire; value omitted when absent.
Clearoptional byte + boolPresence flag on the wire; value omitted when absent.
Fadeoptional byte + CameraInstructionOptions.FadeInstructionPresence flag on the wire; value omitted when absent.
Targetoptional byte + CameraInstructionOptions.TargetInstructionPresence flag on the wire; value omitted when absent.
Remove Targetoptional byte + boolPresence flag on the wire; value omitted when absent.
Field Of Viewoptional byte + CameraInstructionOptions.FovInstructionPresence flag on the wire; value omitted when absent.
Splineoptional byte + CameraInstructionOptions.SplineInstructionPresence flag on the wire; value omitted when absent.
Attach To Entityoptional byte + CameraInstructionOptions.AttachToEntityInstructionPresence flag on the wire; value omitted when absent.
Detach From Entityoptional byte + boolPresence flag on the wire; value omitted when absent.

Structure of TargetInstruction

FieldTypeDescription
Target Center Offsetoptional byte + Vec3Presence flag on the wire; value omitted when absent.
Target Actor Idint64 (LE)

Structure of FovInstruction

FieldTypeDescription
Fovfloat32 (LE)
Fov Ease Timefloat32 (LE)
Fov Ease Typestring
Fov Clearbool

Structure of AttachToEntityInstruction

FieldTypeDescription
Attach To Entity Idint64 (LE)

Structure of Vec3

FieldTypeDescription
Xfloat32 (LE)
Yfloat32 (LE)
Zfloat32 (LE)

Notes

  • No special notes.