mirror of
https://github.com/mt-mods/plantlife_modpack.git
synced 2025-07-23 18:20:24 +02:00
extended the API again - this time adding a function to allow a custom check
for air surrounding the plant spawn location (defaults to 1, just the target node). Values of 1 and 9 for the two new variables would check the 3x3 area around the spawn location. Don't make these numbers too large or it will slow the abm down.
This commit is contained in:
4
API.txt
4
API.txt
@ -88,6 +88,10 @@ sbiomesize: How large of an area to check for the above node.
|
||||
Defaults to 0.
|
||||
sbiomecount: How many of the above nodes must be within that radius.
|
||||
Defaults to 1.
|
||||
airradius: How large of an area to check for air around the target.
|
||||
Defaults to 0 (only check the target).
|
||||
aircount: How many of the surrounding nodes need to be air for the
|
||||
above check to return true. Defaults to 1.
|
||||
|
||||
By default, if a biome node, size, and count are not defined, the biome
|
||||
checking is disabled. Same holds true for the nneighbors bit above that.
|
||||
|
Reference in New Issue
Block a user