Skip to content

Creating a ground vehicle

goodroach edited this page Apr 3, 2023 · 6 revisions

A ground vehicle is a vehicle that moves on the ground

In addition to the mandatory craft flags, the following flags must be used to make a working ground vehicle

useGravity: true
forbiddenHoverOverBlocks:
   - WATER
   - LAVA
passthroughBlocks:
   - LONG_GRASS
   - DOUBLE_PLANT
   - RED_ROSE
   - YELLOW_FLOWER

In addition, you can regulate the drop distance and incline distance using gravityInclineDistance, which defaults to -1 allowing a craft to ascend infinitely, and gravityDropDistance, which regulates how much a craft will drop when it is not on ground and is 10 by default