This mod contains the API only for adding your own mobs into the world, so please use the additional modpacks to add animals, monsters, and npcs.
https://codeberg.org/minenux/minetest-mod-mobs_redo
Built from PilzAdam's original Simple Mobs with additional mobs by KrupnoPavel, Zeg9, ExeterDad and AspireMint.
This mod is special one already compatible with older engines.. with backported patches to work both in multicraft, minetest, mineclone and finetest, becouse the tenplus1 only works in last minetest, admins will not wants to constant upgrades!
- Nametag. Can be crafted by paper, black dye, and string. Can be used to right-click on a tamed mob to give them a name.
- Net. Used to right-click tamed mobs to pick them up and place inside inventory as a spawn egg.
- Magic lasso. Similar to nets but with a better chance of picking up larger mobs.
- Shears. Used to right-click sheep and return 1-3 wool.
- Protection Rune. Protects tamed mobs from being harmed by other players.
- Mob Fence and Fence Top. Stops mobs escaping or glitching throughfences.
Lucky Blocks: 12
- Added self.homing so that arrows follow player when visible
- Added support for Visual Harm 1ndicators mod to show health bars
- Move mob and arrow entities to use initial_properties
- Spawn eggs check if mob is available when creating
- Used get/set_properties() within API for mob properties
- Moved nametag variable to self._nametag
- Updated api txt documentation
- Added entity:is_inside(itemtable) function (thx cora)
- Added self.attack_patience value so mobs stop attacking unseen players
- Tidied breeding function
- Better MineClone2 / MineClonia support added
- Tweaked and tidied code in places
- Added self.node_damage flag which is true by default to enable damage_per_second node damage
- Added 'injured' animation when mob hurt
- Fixed yaw clamping to stop spinning mobs
- Added 'mob_node_timer_interval' and 'mob_main_timer_interval' settings
- Added ability for mobs to die only in natural daylight
- Refactored do_jump and added get_nodes function
- Many bug fixes and tweaks to improve performance
- Added 'mobs_attack_creatura' setting so that monsters can attack Creatura mobs
- Nodes can be added to 'runaway_from' table
- Better Mineclone2 compatibility with api, items and recipes
- Added 'mob_log_spawn' setting to log spawning of mobs and position
- Added
arrow_override
function to mob definition to tweak arrow entity settings - Added injured animation and mob hit effect
- Tamed monsters no longer despawn when outside loaded map area
looting_level
can be read from tool definition or tool meta to add extra drops when mob killed
- Added
peaceful_player
privilege and setting so mobs don't attack specific players (thanks sfence) - Added support for MarkBu's
pathfinder
mod, remove need for default mod
- New support for swimming mobs
on_flop
(for mobs not in water)air_damage
added
- Added editable settings (thanks Wuzzy)
- Simplified animal breeding function
- Child mobs now take twenty minutes to grow up
- Reverted to simple mob spawning with setting to use area checks
- Added
on_map_load
settings tomobs:spawn
so that mobs will only spawn when new areas of map are loaded.
- Added
mob_active_limit
in settings to set number of mobs in game. The default is 0, for unlimited mobs. - Removed
{immortal}
from mob armor - Fluid viscocity slows mobs (for example, water)
- Added node checks for dangerous nodes
- Add
mob_nospawn_range
setting - Jumping and falling tweaks
- Spawn area check (thanks for idea wuzzy)
- Re-enabled mob suffocation
- Added new
line_of_sight
function that uses raycasting if Minetest 5.0 is found, (thanks Astrobe) - Added Chinese local
- Removed ability to spawn mobs if world anchor nearby (
technic
orsimple_anchor
mods)
- Added
mobs:force_capture(self, player)
function - API functions now use metatables thanks to bell07
- Added
mobs:set_velocity(self, velocity)
global function
- Added minimum and maximum light level for damage
- Mob damage changes
- Ignition sources checked for lava damage
- Mobs only drop rare items when killed by player. You can make change the
drops to rare items by using
drops.min = 0
- Pathfinding no longer sees through walkable nodes
- Added fence top to add on top of any fence to stop mobs escaping
- New
line_of_sight
tweaked byAstrobe
- Added
ToolRanks
support for swords when attacking mobs
- Added general attack function and settings
- Better Minetest 0.4.16 compatibility
- Added
"all"
option toimmune_to
definition table - Tidied floating mobs to be less intensive
- Mob pathfinding has been updated thanks to
Elkien3
- Updated to use newer functions, requires Minetest 0.4.16+ to work
- New custom functions:
on_breed
(called when mobs have just been bred)on_grown
(called when baby mobs have grown up)do_punch
(called when the mob has been punched or damaged by another mob)
- Better entity checking
- Nametag setting
on_spawn
function added to mob registry- Tweaked light damage
- Added support for
Raymoo
's CMI (common mob interface) mod. See https://forum.minetest.net/viewtopic.php?f=9&t=15448 for details
- Added death check. If the mob dies in fire/lava/with lava pick, then drops are cooked
- Added
owner_loyal
flag for owned mobs to attack player enemies - Fixed
group_attack
- Added function to fly mob using directional movement (thanks D00Med for flying code)
- Added functions to mount ride mobs:
mobs.attach
mobs.detach
mobs.drive
. Many thanks toBlert2112
- 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
- Added
attack_animals
andspecific_attack
flags for custom monster attacks - Added 'mob_difficulty' .conf setting to make mobs harder
- Added support for
invisibility
mod - Tweaked and tidied code
- 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
- Added new damage system with ability for mob to be immune to weapons or healed by them :)
- Added new sheep, lava flan and spawn egg textures
- New Lava Pick tool smelts what you dig
- New
atan
checking function
- Pathfinding feature added thanks to rnd
- When monsters attack they become scary smart in finding you :)
- Beehive produces honey now :)
- Mobs no longer spawn within 12 blocks of player or despawn within same range
- Spawners now have player detection
- Tidy and tweak code
- Added feature where certain animals run away when punched
(
runaway = true
in mob definition)
- Added mob spawner block for admin to setup spawners in-game (place and right-click to enter settings)
- Added ability to name tamed animals and NPCs using nametags
- NPCs will attack anyone who punches them apart from owner
- Added some more error checking to reduce
serialize.h
error and added height checks for falling off cliffs (thankscmdskp
)
- Error checking added to remove bad mobs
- Out of map limit mobs and stop
serialize.h
error
- Chickens now drop egg items instead of placing the egg
- Throwing eggs result in ⅛ chance of spawning chick
- Added
docile_by_day
flag so that monsters will not attack automatically during daylight hours unless hit first
- Added
dogshoot
attack type. Mobs now shoot when out of reach - Melee attack when in reach, also API tweaks and
self.reach
added
- Mobs follow multiple items now
- NPCs can now breed
- Added feeding, taming, and breeding function
- Right-click to pick up any sheep with X mark on them and replace with new one to fix compatibility.
- All variables saved in staticdata
- Fixed health bug
- Added capture function (thanks
blert2112
) chance of picking up mob with a hand, a net, or a magic lasso - Replaced some
.x
models with newer.b3d
ones
- Added animal ownership so that players cannot steal your tamed animals
- Added flying and swimming mobs
fly=true
andfly_in="air"
or"default:water_source"
for fishy
- Added explosion routine for exploding mob
- Footstep removed (use replace)
- Added mob rotation value
- Added footstep feature
- Added jumping mobs with sounds feature
- Aadded magic lasso for picking up animals
- Reworked breeding routine
- Added drops that appear when mob is killed
- New custom function:
on_die
function - Mob throwing attack has been rehauled so that they can damage one another,
-
NPCs can now be set to follow player or stand by using
order
andowner
variables -
BETA: Npc mob added. They kill monsters (maybe as guards) and attack players when punched by them. Right-clicking them with food will heal them, and giving them gold lump will make them drop a random item.
- Changed recovery times after breeding. Time taken to grow up can be sped up by feeding the baby animal.
- Added
ExeterDad
's bunniess which can be picked up and tamed with four carrots fromfarming_redo
orfarming_plus
- Added shears to get wool from sheep
- Added Jordach/BSD's kitten
- Added mating for sheep, cows and hogs
- Added feature to feed animals to make horny and hope for a baby which is half size, they will grow up quick though :)
- Added mob drop/replace feature so that chickens can drop eggs and cow/sheep can eat grass/wheat etc.
- Sheared sheep are remembered and spawn shaven
- Warthogs will attack when threatened
- API additions
- Mobs that suffer fall damage or die in water/lava/sunlight will now drop items
- More work on API so that certain mobs can float in water while some sink like a brick :)
- Spawn eggs added for all mobs (admin only, cannot be placed in protected areas)
- Tweaked API
- Added sounds to monster mobs (thanks
Cyberpangolin
for thesfx
) - Added chicken sound
mobs.protected
switch added toapi.lua
. When set to 1 mobs no longer spawn in protected areas- Minor bugfixes
- API now supports multi-textured mobs, e.g oerkki, dungeon master, rats and chickens have random skins when spawning (sheep fix TODO)
- Added new Honey block
- Mobs now float in water, die from falling
- Minor code improvements
- Added new sheep sound :)
- Dungeon Masters and Mese Monsters have much better aim due to
shoot_offset
- They can both shoot through nodes that aren't walkable (flowers, grass, etc.)
- Added
LOTT
's Spider mob - Added 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
- Multiple bug fixes :)
- Cooking bucket of milk into cheese now returns empty bucket
- Initial Release