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

minecraft:flying_speed

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

Overview

minecraft:flying_speed is an entity component: it goes in the components object of a custom mob, or in one of its component groups. Sets how fast the entity moves while flying.

Fields

FieldTypeDefaultDescription
valueDecimal"0.02"Flying speed in blocks per tick.

Example

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

BP/entities/<name>.json
{
  "minecraft:flying_speed": {
    "value": "0.02"
  }
}

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