mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2025-04-15 20:25:16 +02:00
Remove comment superceded by type annotations, give explicit values for mcl_mobs.SpawnDef.dimension
This commit is contained in:
parent
09eb6bde1e
commit
886098e5f4
1 changed files with 1 additions and 28 deletions
|
@ -227,37 +227,10 @@ function mcl_mobs:spawn_abm_check(pos, node, name)
|
|||
-- return true to stop spawning mob
|
||||
end
|
||||
|
||||
|
||||
--[[
|
||||
Custom elements changed:
|
||||
|
||||
name:
|
||||
the mobs name
|
||||
|
||||
dimension:
|
||||
"overworld"
|
||||
"nether"
|
||||
"end"
|
||||
|
||||
types of spawning:
|
||||
"water"
|
||||
"ground"
|
||||
"lava"
|
||||
|
||||
biomes: tells the spawner to allow certain mobs to spawn in certain biomes
|
||||
{"this", "that", "grasslands", "whatever"}
|
||||
|
||||
|
||||
what is aoc??? objects in area
|
||||
|
||||
WARNING: BIOME INTEGRATION NEEDED -> How to get biome through lua??
|
||||
]]--
|
||||
|
||||
|
||||
-- this is where all of the spawning information is kept
|
||||
---@class mcl_mobs.SpawnDef
|
||||
---@field name string
|
||||
---@field dimension string
|
||||
---@field dimension "overworld"|"nether"|"end"
|
||||
---@field type_of_spawning "ground"|"water"|"lava"
|
||||
---@field biomes? string[]
|
||||
---@field biomes_lookup {[string]: boolean}
|
||||
|
|
Loading…
Add table
Reference in a new issue