forked from VoxeLibre/VoxeLibre
Fix a lot of things
This commit is contained in:
parent
bb078b0c4c
commit
518252679f
|
@ -101,7 +101,9 @@ mobs:register_mob("extra_mobs:cod", cod)
|
|||
|
||||
|
||||
--spawning TODO: in schools
|
||||
local water = mobs_mc.spawn_height.water
|
||||
|
||||
local water = mobs_mc.spawn_height.water + 1
|
||||
|
||||
mobs:spawn_specific(
|
||||
"extra_mobs:cod",
|
||||
"overworld",
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
mobs_mc
|
|
@ -90,7 +90,7 @@ mobs:register_mob("extra_mobs:dolphin", dolphin)
|
|||
|
||||
|
||||
--spawning TODO: in schools
|
||||
local water = mobs_mc.spawn_height.water
|
||||
local water = mobs_mc.spawn_height.water + 1
|
||||
mobs:spawn_specific(
|
||||
"extra_mobs:dolphin",
|
||||
"overworld",
|
||||
|
|
|
@ -150,8 +150,8 @@ minetest.LIGHT_MAX+1,
|
|||
30,
|
||||
6000,
|
||||
3,
|
||||
0,
|
||||
500)
|
||||
mobs_mc.spawn_height.water,
|
||||
mobs_mc.spawn_height.overworld_max)
|
||||
|
||||
--mobs:spawn_specific("extra_mobs:fox", "overworld", "ground", 0, minetest.LIGHT_MAX+1, 30, 6000, 3, 0, 500)
|
||||
mobs:spawn_specific(
|
||||
|
@ -169,8 +169,8 @@ minetest.LIGHT_MAX+1,
|
|||
30,
|
||||
6000,
|
||||
3,
|
||||
0,
|
||||
500)
|
||||
mobs_mc.spawn_height.water,
|
||||
mobs_mc.spawn_height.overworld_max)
|
||||
|
||||
-- spawn eggs
|
||||
mobs:register_egg("extra_mobs:fox", S("Fox"), "extra_mobs_spawn_icon_fox.png", 0)
|
||||
|
|
|
@ -74,7 +74,7 @@ mobs:register_mob("extra_mobs:glow_squid",{
|
|||
|
||||
-- spawning
|
||||
|
||||
local water = mobs_mc.spawn_height.water
|
||||
local water = mobs_mc.spawn_height.water + 1
|
||||
mobs:spawn_specific(
|
||||
"extra_mobs:glow_squid",
|
||||
"overworld",
|
||||
|
|
|
@ -127,8 +127,8 @@ minetest.LIGHT_MAX+1,
|
|||
30,
|
||||
6000,
|
||||
3,
|
||||
mcl_vars.mg_nether_min,
|
||||
mcl_vars.mg_nether_max)
|
||||
mobs_mc.spawn_height.nether_min,
|
||||
mobs_mc.spawn_height.nether_max)
|
||||
|
||||
-- spawn eggs
|
||||
mobs:register_egg("extra_mobs:hoglin", S("Hoglin"), "extra_mobs_spawn_icon_hoglin.png", 0)
|
||||
|
|
|
@ -276,8 +276,8 @@ minetest.LIGHT_MAX+1,
|
|||
30,
|
||||
6000,
|
||||
3,
|
||||
mcl_vars.mg_nether_min,
|
||||
mcl_vars.mg_nether_max)
|
||||
mobs_mc.spawn_height.nether_min,
|
||||
mobs_mc.spawn_height.nether_max)
|
||||
|
||||
mobs:spawn_specific(
|
||||
"extra_mobs:sword_piglin",
|
||||
|
@ -291,8 +291,8 @@ minetest.LIGHT_MAX+1,
|
|||
30,
|
||||
6000,
|
||||
3,
|
||||
mcl_vars.mg_nether_min,
|
||||
mcl_vars.mg_nether_max)
|
||||
mobs_mc.spawn_height.nether_min,
|
||||
mobs_mc.spawn_height.nether_max)
|
||||
-- spawn eggs
|
||||
mobs:register_egg("extra_mobs:piglin", S("piglin"), "extra_mobs_spawn_icon_piglin.png", 0)
|
||||
mobs:register_egg("extra_mobs:piglin_brute", S("piglin Brute"), "extra_mobs_spawn_icon_piglin.png", 0)
|
||||
|
|
|
@ -60,7 +60,7 @@ mobs:register_mob("extra_mobs:salmon", salmon)
|
|||
|
||||
|
||||
--spawning TODO: in schools
|
||||
local water = mobs_mc.spawn_height.water
|
||||
local water = mobs_mc.spawn_height.water + 1
|
||||
mobs:spawn_specific(
|
||||
"extra_mobs:salmon",
|
||||
"overworld",
|
||||
|
|
|
@ -229,8 +229,8 @@ minetest.LIGHT_MAX+1,
|
|||
30,
|
||||
6000,
|
||||
3,
|
||||
mcl_vars.mg_nether_min,
|
||||
mcl_vars.mg_nether_max)
|
||||
mobs_mc.spawn_height.nether_min,
|
||||
mobs_mc.spawn_height.nether_max)
|
||||
|
||||
-- spawn eggs
|
||||
mobs:register_egg("extra_mobs:strider", S("Strider"), "extra_mobs_spawn_icon_strider.png", 0)
|
||||
|
|
|
@ -461,11 +461,13 @@ function mobs:spawn_specific(name, dimension, type_of_spawning, biomes, min_ligh
|
|||
end
|
||||
|
||||
for y = min_height, max_height do
|
||||
print(y)
|
||||
--print(y)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
print("--")
|
||||
print(min_height, max_height)
|
||||
|
||||
|
||||
--[[
|
||||
|
|
|
@ -23,7 +23,6 @@ mobs:register_mob("mobs_mc:silverfish", {
|
|||
},
|
||||
pathfinding = 1,
|
||||
visual_size = {x=3, y=3},
|
||||
sounds = {"FlowerForest",
|
||||
sounds = {
|
||||
random = "mobs_mc_silverfish_idle",
|
||||
death = "mobs_mc_silverfish_death",
|
||||
|
|
Loading…
Reference in New Issue