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

minecraft:water_movement

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

Overview

minecraft:water_movement is an entity component: it goes in the components object of a custom mob, or in one of its component groups. Controls how much water slows the entity down.

Fields

FieldTypeDefaultDescription
drag_factorDecimal"0.8"How much water slows the entity; higher values keep more speed.

Example

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

BP/entities/<name>.json
{
  "minecraft:water_movement": {
    "drag_factor": "0.8"
  }
}

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