Skip to content

Balloons

Balloons are items, ModelEngine models and mobs on a lead. Their settings are in the balloon section of config.yml. The keys they share with head and wear are under lists.

# config.yml
balloon:
  collide:
    sides: true        # balloons push each other apart sideways
    top-bottom: false  # true: they also push apart up and down, and stack
  item:
    scale: 1.0
    small-head: false  # false: item balloons show at the size scale sets; true: at three quarters of it
    hitbox: 1.0        # width of the cube an item balloon bumps with, at scale 1, 0.05 to 16
  model:
    scale: 1.25
    leash-bone: "handle"
  mob:
    scale: 1.25        # times the mob's own size
  • Balloons bump only into each other, and into the balloons of BoxStand stands as BoxStand's collide sets.
  • With sides and top-bottom both false, balloons never bump.
  • On this page, a number outside its range counts as the nearest end of it: hitbox: 20 counts as 16, and max-distance: 50 as 32.
  • leash-bone is the bone the lead ties to, named without its l_: in Blockbench, a bone l_handle with no cubes. A model with no such bone ties the lead to another l_ bone, or else to offsets.lead-end.

offsets

These offsets set where a balloon and its lead sit, in blocks from the feet. They turn with the body.

# config.yml
balloon:
  offsets:
    position:     # shifts the balloon from its own spot (-1.25, 3.25, 0.0)
      x: 0.0
      y: 0.0
      z: 0.0
    lead-end:     # where the lead's top end sits; it does not follow position
      x: -1.25
      y: 3.25
      z: 0.0
    lead-start:   # where the lead starts, at the waist
      x: -0.25
      y: 0.75
      z: 0.0
    rise-from:    # where a new balloon starts rising
      x: -0.25
      y: 0.75
      z: 0.0
  • lead-end, lead-start and rise-from are measured from the feet, not from the balloon. When you change position, change lead-end by the same amount, or the lead no longer ends at the balloon.
  • A mob holds the lead itself. Only items, and models without a lead bone, use lead-end.
  • There is more on the lead under Balloons.

motion

This section sets how a balloon follows the player.

# config.yml
balloon:
  motion:
    turn-speed: 0.125         # how much of the turn left the balloon makes each tick
    follow-speed: 0.025       # how hard it is pulled to its spot each tick; lower trails further behind
    max-distance: 5.0         # the furthest it trails behind, 0.5 to 32 blocks
    spin-turn-speed: 0.025    # turning while the player spins in place, 0 to 1
    spin-follow-speed: 0.025  # how fast it comes round while the player spins in place, 0 to 1; 0 waits until the player walks
    drag-lean:
      strength: 2.0           # how far it leans away from its motion
      max-degrees: 22.5       # the most degrees it leans
    rise:
      enabled: true           # false: new balloons appear in place
      speed-share: 0.35       # new balloons float up at this share of follow-speed
    sway:
      item: true              # item balloons rock while idle
      model: true             # model balloons rock while idle (mobs never sway)
      tilt-degrees: 5.0       # how many degrees they lean as they rock
    bob:
      item: true              # item balloons float up and down while idle
      model: true
      mob: true
      distance-blocks: 0.25   # how high they bob
      speed: 0.05             # how fast they bob and sway
  • A sway switch set to false stops that kind of balloon rocking, and a bob switch set to false stops it floating up and down.
  • Only balloons that are put on rise. Balloons made again (on a join, a teleport, a reload or a new colour) appear in place.