Browse Source

fix typo in api.txt

pull/74/head
TenPlus1 2 weeks ago
parent
commit
89523195d5
2 changed files with 2 additions and 3 deletions
  1. +0
    -1
      api.lua
  2. +2
    -2
      api.txt

+ 0
- 1
api.lua View File

@@ -3725,7 +3725,6 @@ function mobs:spawn_specific(name, nodes, neighbors, min_light, max_light, inter
minetest.log("action", string.format(
"[mobs] Chance setting for %s changed to %s (total: %s)",
name, chance, aoc))

end

mobs.spawning_mobs[name].aoc = aoc


+ 2
- 2
api.txt View File

@@ -701,8 +701,8 @@ mobs_monster:sand_monster 100
...you can also change how many of a certain mob appear in an active mapblock by
adding a comma and then a new value e.g.

mobs_animal:cow 8000,4 <-- 4 cows per mapblock at 8000 spawn chance
mobs_monster:dirt_monster ,20 <-- 20 dirt monsters per mapblock
mobs_animal:cow = 8000,4 <-- 4 cows per mapblock at 8000 spawn chance
mobs_monster:dirt_monster = ,20 <-- 20 dirt monsters per mapblock


Rideable Horse Example Mob


Loading…
Cancel
Save