summaryrefslogtreecommitdiff
path: root/api.txt
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2016-10-21 14:46:50 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2016-10-21 14:46:50 +0100
commit7014152bf92e1122d4f91460781c3f43db79f612 (patch)
treecda1ba4db75c33fb49c4922a7dca079c5cb4d6b9 /api.txt
parent3f61935a07a499b972a949ad13656ba953f9bde7 (diff)
added new spawn check for specific mob numbers
Diffstat (limited to 'api.txt')
-rw-r--r--api.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/api.txt b/api.txt
index c49a50f..028b92a 100644
--- a/api.txt
+++ b/api.txt
@@ -10,7 +10,7 @@ The mob api is a function that can be called on by other mods to add new animals
'mobs_disable_blood' if false blood effects appear when mob is hit (default is false)
'mobs_spawn_protected' if set to 1 then mobs will not spawn in protected areas (default is 0)
'remove_far_mobs' if true then mobs that are outside players visual range will be removed (default is false)
- 'mobname_chance' can change specific mob chance rates or set to 0 to disable e.g. mobs_animal:cow_chance = 1000
+ 'mobname' can change specific mob chance rate (0 to disable) and spawn number e.g. mobs_animal:cow = 1000,5
'mob_difficulty' sets difficulty level (health and hit damage multiplied by this number), defaults to 1.0.