1. Wiki
  2. /Entities
  3. /minecraft:movement.generic

minecraft:movement.generic

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

Overview

minecraft:movement.generic is an entity component: it goes in the components object of a custom mob, or in one of its component groups. A flexible move style that lets the mob walk, fly, swim or climb depending on where it is.

Fields

FieldTypeDefaultDescription
max_turnDecimal"30.0"How many degrees the mob can turn in one tick. Lower values give smoother, slower turns.

Example

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

BP/entities/<name>.json
{
  "minecraft:movement.generic": {
    "max_turn": "30.0"
  }
}

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