1. Wiki
  2. /Entities
  3. /minecraft:free_camera_controlled

minecraft:free_camera_controlled

Don't want to write this by hand? GodCraft sets minecraft:free_camera_controlled for you with a switch.Get GodCraft

Overview

minecraft:free_camera_controlled is an entity component: it goes in the components object of a custom mob, or in one of its component groups. Lets a rider steer the entity in all three directions with movement keys and the camera, good for flying mounts.

Fields

FieldTypeDefaultDescription
backwards_movement_modifierDecimal"0.5"Speed multiplier when moving backwards.
strafe_speed_modifierDecimal"0.4"Speed multiplier when moving sideways.

Example

Inside the components object of BP/entities/<name>.json (values are the defaults or placeholders):

BP/entities/<name>.json
{
  "minecraft:free_camera_controlled": {
    "backwards_movement_modifier": "0.5",
    "strafe_speed_modifier": "0.4"
  }
}

We use cookies to improve your experience and analyse site traffic. Learn more