mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2024-12-25 02:00:21 +01:00
added mobs:force_capture() function, api now uses metatables thanks to bell07
This commit is contained in:
parent
aeb802ad40
commit
487e037cc9
5
api.txt
5
api.txt
@ -455,6 +455,11 @@ replace with another item entirely.
|
||||
'replacewith' once captured replace mob with this item instead (overrides
|
||||
new mob eggs with saved information)
|
||||
|
||||
mobs:force_capture(self, clicker)
|
||||
|
||||
Same as above but does no checks, it simply captures any and all mobs and places
|
||||
inside a spawn egg containing all of the mob information.
|
||||
|
||||
|
||||
Feeding and Taming/Breeding
|
||||
---------------------------
|
||||
|
@ -23,6 +23,7 @@ Lucky Blocks: 9
|
||||
|
||||
|
||||
Changelog:
|
||||
- 1.49- Added mobs:force_capture(self, player) function, api functions now use metatables thanks to bell07
|
||||
- 1.48- Add mobs:set_velocity(self, velocity) global function
|
||||
- 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
|
||||
|
Loading…
Reference in New Issue
Block a user