Skip to main content
Reloads LodeEntities: regenerates the resource pack, reloads every model, and re-reads the Mobs/ and Dialogs/ folders and config.yml.

Usage

Permission: lodeentities.reload

What it reloads

  • The resource pack, rebuilt into build/ (and merged into Nexo or ItemsAdder when they are installed).
  • Every .bbmodel and .ajmodel anywhere in Mobs/.
  • Every mob, skill, spawner and spawn rule in Mobs/.
  • Every conversation in Dialogs/.
  • config.yml and factions.yml.
Afterwards the console shows what was read, for example Loaded 7 mob(s) from Mobs/. and Loaded 12 skill(s) from Mobs/.. If anything failed, the reload ends with the error and warning totals and points you at /le debug.

Notes

  • Run it after adding or changing any model or config file.
  • Mobs already in the world keep what they were spawned with. Changes apply to mobs spawned after the reload. (animation-speed is the exception: it updates live mobs too.)
  • A model with no mob using it yet gets one written beside it (Mobs/dragon/dragon.bbmodel gets Mobs/dragon/dragon.yml, base pig), so it’s spawnable right away. Existing entries are never overwritten.
  • A mob whose model has gone missing is disabled, and the reload lists it: N mob(s) disabled (model unavailable): …. Put the model back and reload again.
  • MythicMobs-format files dropped into Mobs/ are converted during the reload. See MythicMobs.