Mob API for mods to add monsters, animals and more.

TenPlus1 e545cc80f4 tweak mob counter per area 1 week ago
locale 2f493c07bb update russian locale (thanks codexp) 6 months ago
sounds e4ca054be3 if no tnt add entity damage/effects/sound 1 year ago
textures bad4dcb36f change sound names 1 year ago
api.lua e545cc80f4 tweak mob counter per area 1 week ago
api.lua_testspawn 7ed80b6a89 add new api with test mob spawner NOT using abm's 3 months ago
api.txt e17f8811b1 added attack_chance to mob definition 2 weeks ago
crafts.lua 63c9812dad new line_of_sight and fence_top added 3 months ago
depends.txt 40416aa4fd Added ToolRanks support when attacking mobs with tools/swords 3 months ago
description.txt 29b6fdaed9 Amend tags 2 years ago
init.lua 75a2025871 updated intllib support and translations 1 year ago
intllib.lua 75a2025871 updated intllib support and translations 1 year ago
license.txt d99cf5f444 Updated license 2 years ago
lucky_block.lua 63c9812dad new line_of_sight and fence_top added 3 months ago
mod.conf 29b6fdaed9 Amend tags 2 years ago
mount.lua adc4e71a01 0.4.16 functions 3 months ago
readme.MD f1476077bd added light damage _min and _max values, also igniter check for lava damage 1 month ago
settingtypes.txt 82c8386eb3 forgot settingtypes.txt default :P 4 months ago
spawner.lua 2ffd942c2a updated to newer 0.4.16 functions 1 year ago

readme.MD

MOBS REDO for MINETEST

Built from PilzAdam's original Simple Mobs with additional mobs by KrupnoPavel, Zeg9, ExeterDad and AspireMint.

This mod contains the API only for adding your own mobs into the world, so please use the additional modpacks to add animals, monsters etc.

https://forum.minetest.net/viewtopic.php?f=11&t=9917

Crafts:

  • Nametag (paper, black dye, string) can be used right-click on a tamed mob to give them a name.
  • Nets can be used to right-click tamed mobs to pick them up and place inside inventory as a spawn egg.
  • Magic Lasso is similar to nets but with a better chance of picking up larger mobs.
  • Shears are used to right-click sheep and return 1-3 wool.
  • Protection Rune lets you protect tamed mobs from harm by other players
  • Mob Fence and Fence Top (to stop mobs escaping/glitching through fences)

Lucky Blocks: 9

Changelog:

  • 1.47- Mob damage changes, min and max light level for damage added, ignition sources checked for lava damage
  • 1.46- Mobs only drop rare items when killed by player (drops.min = 0 makes them rare), code tweak, pathfinding no longer sees through walkable nodes
  • 1.45- Added Fence Top to add on top of any fence to stop mobs escaping, new line_of_sight tweaked by Astrobe
  • 1.44- Added ToolRanks support for swords when attacking mobs
  • 1.43- Better 0.4.16 compatibility, added general attack function and settings
  • 1.42- Added "all" option to immune_to table, tidied floating mobs to be less intensive
  • 1.41- Mob pathfinding has been updated thanks to Elkien3
  • 1.40- Updated to use newer functions, requires Minetest 0.4.16+ to work.
  • 1.39- Added 'on_breed', 'on_grown' and 'do_punch' custom functions per mob
  • 1.38- Better entity checking, nametag setting and on_spawn function added to mob registry, tweaked light damage
  • 1.37- Added support for Raymoo's CMI (common mob interface) mod: https://forum.minetest.net/viewtopic.php?f=9&t=15448
  • 1.36- Death check added, if mob dies in fire/lava/with lava pick then drops are cooked
  • 1.35- Added owner_loyal flag for owned mobs to attack player enemies, also fixed group_attack
  • 1.34- Added function to fly mob using directional movement (thanks D00Med for flying code)
  • 1.33- Added functions to mount ride mobs (mobs.attach, mobs.detach, mobs.drive) many thanks to Blert2112
  • 1.32- Added new spawn check to count specific mobs AND new minetest.conf setting to chance spawn chance and numbers, added ability to protect tamed mobs
  • 1.31- Added 'attack_animals' and 'specific_attack' flags for custom monster attacks, also 'mob_difficulty' .conf setting to make mobs harder.
  • 1.30- Added support for invisibility mod (mobs cant attack what they cant see), tweaked and tidied code
  • 1.29- Split original Mobs Redo into a modpack to make it easier to disable mob sets (animal, monster, npc) or simply use the Api itself for your own mod
  • 1.28- New damage system added with ability for mob to be immune to weapons or healed by them :)
  • 1.27- Added new sheep, lava flan and spawn egg textures. New Lava Pick tool smelts what you dig. New atan checking function.
  • 1.26- Pathfinding feature added thanks to rnd, when monsters attack they become scary smart in finding you :) also, beehive produces honey now :)
  • 1.25- Mobs no longer spawn within 12 blocks of player or despawn within same range, spawners now have player detection, Code tidy and tweak.
  • 1.24- Added feature where certain animals run away when punched (runaway = true in mob definition)
  • 1.23- Added mob spawner block for admin to setup spawners in-game (place and right click to enter settings)
  • 1.22- Added ability to name tamed animals and npc using nametags, also npc will attack anyone who punches them apart from owner
  • 1.21- Added some more error checking to reduce serialize.h error and added height checks for falling off cliffs (thanks cmdskp)
  • 1.20- Error checking added to remove bad mobs, out of map limit mobs and stop serialize.h error
  • 1.19- Chickens now drop egg items instead of placing the egg, also throwing eggs result in 1/8 chance of spawning chick
  • 1.18- Added docile_by_day flag so that monsters will not attack automatically during daylight hours unless hit first
  • 1.17- Added 'dogshoot' attack type, shoots when out of reach, melee attack when in reach, also api tweaks and self.reach added
  • 1.16- Mobs follow multiple items now, Npc's can breed
  • 1.15- Added Feeding/Taming/Breeding function, right-click to pick up any sheep with X mark on them and replace with new one to fix compatibility.
  • 1.14- All .self variables saved in staticdata, Fixed self.health bug
  • 1.13- Added capture function (thanks blert2112) chance of picking up mob with hand; net; magic lasso, replaced some .x models with newer .b3d one's
  • 1.12- Added animal ownership so that players cannot steal your tamed animals
  • 1.11- Added flying mobs (and swimming), fly=true and fly_in="air" or "deafult:water_source" for fishy
  • 1,10- Footstep removed (use replace), explosion routine added for exploding mobs.
  • 1.09- reworked breeding routine, added mob rotation value, added footstep feature, added jumping mobs with sounds feature, added magic lasso for picking up animals
  • 1.08- Mob throwing attack has been rehauled so that they can damage one another, also drops and on_die function added
  • 1.07- Npc's can now be set to follow player or stand by using self.order and self.owner variables
  • beta- Npc mob added, kills monsters, attacks player when punched, right click with food to heal or gold lump for drop
  • 1.06- Changed recovery times after breeding, and time taken to grow up (can be sped up by feeding baby animal)
  • 1.05- Added ExeterDad's bunny's which can be picked up and tamed with 4 carrots from farming redo or farming_plus, also shears added to get wool from sheep and lastly Jordach/BSD's kitten
  • 1.04- Added mating for sheep, cows and hogs... feed animals to make horny and hope for a baby which is half size, will grow up quick though :)
  • 1.03- Added mob drop/replace feature so that chickens can drop eggs, cow/sheep can eat grass/wheat etc.
  • 1.02- Sheared sheep are remembered and spawn shaven, Warthogs will attack when threatened, Api additions
  • 1.01- Mobs that suffer fall damage or die in water/lava/sunlight will now drop items
  • 1.0 - more work on Api so that certain mobs can float in water while some sink like a brick :)
  • 0.9 - Spawn eggs added for all mobs (admin only, cannot be placed in protected areas)... Api tweaked
  • 0.8 - Added sounds to monster mobs (thanks Cyberpangolin for the sfx) and also chicken sound
  • 0.7 - mobs.protected switch added to api.lua, when set to 1 mobs no longer spawn in protected areas, also bug fixes
  • 0.6 - Api now supports multi-textured mobs, e.g oerkki, dungeon master, rats and chickens have random skins when spawning (sheep fix TODO), also new Honey block
  • 0.5 - Mobs now float in water, die from falling, and some code improvements
  • 0.4 - Dungeon Masters and Mese Monsters have much better aim due to shoot_offset, also they can both shoot through nodes that aren't walkable (flowers, grass etc) plus new sheep sound :)
  • 0.3 - Added LOTT's Spider mob, made Cobwebs, added KPavel's Bee with Honey and Beehives (made texture), Warthogs now have sound and can be tamed, taming of shaved sheep or milked cow with 8 wheat so it will not despawn, many bug fixes :)
  • 0.2 - Cooking bucket of milk into cheese now returns empty bucket
  • 0.1 - Initial Release