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

minecraft:underwater_movement

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

Overview

minecraft:underwater_movement 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 when it is underwater.

Example

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

BP/entities/<name>.json
{
  "minecraft:underwater_movement": {}
}

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