promotional bannermobile promotional banner

Realistic Survival | Broken Legs, Stamina, Heavy Armour (Achievement Friendly)

Hard falls break your leg, sprinting and swimming burn stamina, and heavy armour slows you down and drags you under water. Set a leg with a golden apple. Every rule has a setting. No experiments, achievements stay on.
broken-legs.png

broken-legs.png

stamina.png

stamina.png

armour.png

armour.png

Description

Survival with a bit more weight to it. Stable Script API, no experiments, no custom items, so achievements stay on.

Broken legs

  • A fall that does 3 hearts or more (about a 9-block drop) breaks a leg. Feather Falling and armour count, because it is the damage you really take.
  • A broken leg means Slowness II for 120 seconds, sprinting costs 3 x stamina, and every jump costs half a heart.
  • Eat a golden apple to set it at once, or wait it out. Leaving and rejoining doesn't heal it; dying does.

Stamina

Action Stamina (0 to 100)
Sprinting -8 a second (about 12 seconds from full)
A jump -4 each (about 25 in a row)
Swimming -4 a second
Medium armour everything costs 1.5 x
Heavy armour everything costs 2 x
Resting +12 a second after one second without effort, faster standing still
  • Run out and you are out of breath: Slowness II, a walk, until stamina is back to 30%.
  • A stamina bar shows above the hotbar while it isn't full.

Heavy armour

Each piece has a weight: leather 1, chainmail, gold, copper and turtle shell 2, iron 3, diamond 4, netherite 5 (elytra 1).

  • Light (under 8): no change. Full leather, or a mix.
  • Medium (8 to 13): sprinting and jumping cost 1.5 x stamina. Full chainmail, gold or iron.
  • Heavy (14 and up): Slowness I, 2 x stamina, and it drags you down in water. Full diamond or netherite.

Potions and beacons are never shortened or weakened: a stronger Slowness potion stays as it is.

Commands and settings

  • /realistic: the rules in this world, and your own stamina, legs and armour weight. Anyone can use it.
  • Operators: /healleg sets your own broken leg.
  • Operators: /realisticconfig lists the settings; /realisticconfig setting number or /realisticconfigtext setting on changes one, saved in the world. They also sit at the top of scripts/main.js.
  • Settings: brokenLegs, breakLegDamage (6 = 3 hearts), brokenLegSeconds (120), brokenLegSlowness (2), jumpHurts, goldenAppleHeals, stamina, sprintCost (8), jumpCost (4), swimCost (4), staminaRegen (12), tiredUntil (30), showStamina, heavyArmour, mediumAt (8), heavyAt (14), heavySinks.

Tested

Tested on Bedrock Dedicated Server 1.26.63; not yet seen in a real game client.

  • 23 checks with a simulated player in a Beta-APIs test world (the add-on itself uses no beta API): a 5-block fall breaks nothing, a 13-block fall breaks a leg (Slowness II, kept up); a jump on it costs exactly half a heart; eating a golden apple sets it (the apple is used up); with brokenLegSeconds 3 it heals by itself; sprinting runs stamina out after 12.6 seconds and it comes back in 2.6 seconds standing still; 27 jumps in a row run it out; full netherite and full diamond give Slowness I, full iron doesn't, taking armour off ends it, a stronger Slowness potion is left alone; in water, full netherite sank 6.65 blocks in 3 seconds against 1.45 with no armour; each switch turns its rule off.
  • In the real-client run: /realistic shows the rules and your own state, operator commands and settings work and survive a restart.
  • 60 checks with real network clients in a world with no experiments and cheats off, shared by all five wave 7 add-ons: every command reaches the client, operator-only commands refuse other players, settings and saved data survive a restart and /reload. After the run, level.dat still shows cheats off, no experiment ever used and never loaded in creative.
  • 15 checks with all 41 of our Bedrock packs in one world (the five wave 7 add-ons and 36 others; 40 behaviour and 10 resource packs, 314 commands): every command still registers and answers, a meteor runs, no script errors, level.dat clean.
  • Checks on the shipped file: manifest, stable API only, no beta module, the settings block at the top of the script, particle and sound names found in the installed game's own lists, images, and a scan for other creators' and franchises' names.

Not tested: a real phone, console or PC client, or a real Realm. The stamina bar above the hotbar was never seen on a screen. Falls, sprints, jumps, eating and swimming were done by simulated players, so touch and controller sprinting weren't tried. A broken leg kept across leaving and rejoining is saved on the player and read back on join, but no test left and rejoined with a broken leg. No achievement was earned in a test; the tag means level.dat shows no experiment and cheats off after a run.

Install: open the .mcaddon and add the behaviour pack to your world. Needs Minecraft 1.21.100 or newer (stable Script API 2.1.0); it has only been run on 1.26.63. Licence: MIT.

Not affiliated with Mojang or Microsoft.

More free tools: actuallyop.com

Realistic Survival | Broken Legs, Stamina, Heavy Armour (Achievement Friendly) Team

profile avatar
  • 3
    Followers
  • 90
    Projects
  • 7.5K
    Downloads

More from molonlav3View all