Module settings.lua
+Settings for sneeker mod.
++ +
+ + +Settings
+sneeker.lifespan | +How long (in seconds) sneeker remains in world after spawn. | +
sneeker.boom_gain | +Loudness of explosion. | +
sneeker.spawn_require_player_nearby | +Determines whether or not a player must be close for spawn to occur. | +
sneeker.spawn_player_radius | +Distance in nodes a player must be for spawn to occur. | +
sneeker.despawn_player_far | +If enabled, mobs not near any players will despawn. | +
sneeker.despawn_player_radius | +Distance determining if a player is near enough to prevent despawn. | +
sneeker.spawn_chance | +Sets possibility for spawn. | +
sneeker.spawn_interval | +Sets frequency of spawn chance. | +
sneeker.spawn_minlight | +Sets the minimum light that a node must have for spawn to occur. | +
sneeker.spawn_maxlight | +Sets the maximum light that a node can have 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. | +
sneeker.spawn_mapblock_limit | +Limits the number of entities that can spawn per mapblock (16x16x16). | +
+
+ + +
Settings
+ +-
+
- + + sneeker.lifespan + +
-
+ How long (in seconds) sneeker remains in world after spawn.
+
+
+
+
+
+
Type:
+-
+ int
+
Default:
+-
+ 900 (15 minutes)
+
+ - + + sneeker.boom_gain + +
-
+ Loudness of explosion.
+
+
+
+
+
+
Type:
+-
+ float
+
Default:
+-
+ 1.5
+
+ - + + sneeker.spawn_require_player_nearby + +
-
+ Determines whether or not a player must be close for spawn to occur.
+
+
+
+
+
+
Type:
+-
+ bool
+
Default:
+-
+ true
+
+ - + + sneeker.spawn_player_radius + +
-
+ Distance in nodes a player must be for spawn to occur.
+
+
Only used if sneeker.spawn_require_player_nearby enabled. + + + + + +
Type:
+-
+ int
+
Default:
+-
+ 100
+
+ - + + sneeker.despawn_player_far + +
-
+ If enabled, mobs not near any players will despawn.
+
+
+
+
+
+
Type:
+-
+ bool
+
Default:
+-
+ true
+
+ - + + sneeker.despawn_player_radius + +
-
+ Distance determining if a player is near enough to prevent despawn.
+
+
Only used if sneeker.despawn_player_far enabled. + + + + + +
Type:
+-
+ int
+
Default:
+-
+ 500
+
+ - + + sneeker.spawn_chance + +
-
+ Sets possibility for spawn.
+
+
Inverted value (e.g. 10000 = 1/10000). + + + + + +
Type:
+-
+ int
+
Default:
+-
+ 10000
+
+ - + + sneeker.spawn_interval + +
-
+ Sets frequency of spawn chance.
+
+
+
+
+
+
Type:
+-
+ int
+
Default:
+-
+ 240 (4 minutes)
+
+ - + + sneeker.spawn_minlight + +
-
+ Sets the minimum light that a node must have for spawn to occur.
+
+
Value can be set between 0 (no light) & 15 (max light). + + + + + +
Type:
+-
+ int
+
Default:
+-
+ 0
+
+ - + + sneeker.spawn_maxlight + +
-
+ Sets the maximum light that a node can have for spawn to occur.
+
+
Value can be set between 0 (no light) & 15 (max light). + + + + + +
Type:
+-
+ int
+
Default:
+-
+ 4
+
+ - + + sneeker.spawn_minheight + +
-
+ Sets the lowest position at which sneeker can spawn.
+
+
+
+
+
+
Type:
+-
+ int
+
Default:
+-
+ -31000
+
+ - + + sneeker.spawn_maxheight + +
-
+ Sets the highest position at which sneeker can spawn.
+
+
+
+
+
+
Type:
+-
+ int
+
Default:
+-
+ 31000
+
+ - + + sneeker.spawn_mapblock_limit + +
-
+ Limits the number of entities that can spawn per mapblock (16x16x16).
+
+
+
+
+
+
Type:
+-
+ int
+
Default:
+-
+ 1
+
+