Before you start
- Drop
LodeEntities-<version>.jarinto your server’splugins/folder. - Start the server once (Paper or Folia, Minecraft 1.21.4 or newer). LodeEntities creates
plugins/LodeEntities/and generates its resource pack. - Make sure you can run
/lecommands: you’re OP, or you havelodeentities.*.
lodecreeper and lodefer, in plugins/LodeEntities/Mobs/. Try /le spawn lodecreeper (and then run).
A Blockbench model of your own is optional. We’ll cover both paths.
Path A: A mob with a custom model
1. Drop in your model
Everything you write lives inplugins/LodeEntities/Mobs/. Give your mob a folder and put the .bbmodel exported from Blockbench inside it:
_ and ..
2. Reload
toast isn’t used by any mob yet, so it creates one for you right beside the model, in Mobs/toast/toast.yml. The console confirms it: Loaded 1 mob(s).
3. Apply the resource pack
Players need the generated pack to see your model. It is written toplugins/LodeEntities/build.zip. Apply it to your own client for testing, or send it as your server resource pack. Already running Nexo or ItemsAdder? LodeEntities merges into their pack instead; see Nexo & ItemsAdder.
4. Spawn it
5. Make it yours
OpenMobs/toast/toast.yml. Your mob is waiting:
base: zombiemakes it walk around and attack players like a zombie.displayis the name floating above it.&6makes it gold.health: 40is 20 hearts: health is counted in points, 2 per heart.
Path B: A mob without a model
No Blockbench model? A mob only needs abase. Create plugins/LodeEntities/Mobs/guards.yml:
Or do it in game
/le gui opens the Entities menu. New entity asks for an id and drops you into an editor where you set the base, health, name and everything else by clicking. The changes are written into the same YAML file. See Entities Menu.
What you’ve learned
- Everything goes in
Mobs/: a folder per mob keeps its model and its config together. - A mob is a base entity, optionally wearing a model, with whatever stats you give it.
/le reloadapplies changes. Auto-generated mobs start as pigs and are yours to edit; your edits are never overwritten.- Changes reach mobs spawned after the reload. Ones already in the world keep what they had.
health and display are two of about thirty settings a mob can carry; Mob Stats lists them all.
Right now your mob looks the part but doesn’t do anything special. That’s the next tutorial: My First Effect.