Add settings & set max/min height for spawning:

- sneeker.spawn_minlight
  - Sets the minimum light required for spawn to occur.
- sneeker.spawn_minheight
  - Sets the lowest position at which sneeker can spawn.
- sneeker.spawn_maxheight
  - Sets the highest position at which sneeker can spawn.
This commit is contained in:
AntumDeluge
2017-08-08 02:51:22 -07:00
committed by Jordan Irwin
parent 3497f917f9
commit 5eb1de1627
2 changed files with 27 additions and 7 deletions
+13 -4
View File
@@ -1,11 +1,20 @@
# Sets maximum number of spawns that can exist in world.
sneeker.spawn_cap (Maximum spawns) int 10
sneeker.spawn_cap (Sneeker maximum spawns) int 10
# Sets possibility for spawn.
sneeker.spawn_chance (Spawn chance) int 1000
sneeker.spawn_chance (Sneeker spawn chance) int 1000
# Sets frequency of spawn chance. Default 240 is equivalent to 4 minutes (60 * 4).
sneeker.spawn_interval (Spawn interval) int 240
sneeker.spawn_interval (Sneeker spawn interval) int 240
# Sets the minimum light required for spawn to occur.
sneeker.spawn_minlight (Sneeker min light for spawn) int -1
# Sets the maximum light that a node can have for spawn to occur.
sneeker.spawn_maxlight (Max light for spawn) int 5
sneeker.spawn_maxlight (Sneeker max light for spawn) int 5
# Sets the lowest position at which sneeker can spawn.
sneeker.spawn_minheight (Sneeker min spawn height) int -31000
# Sets the highest position at which sneeker can spawn.
sneeker.spawn_maxheight (Sneeker max spawn height) int 31000