1
0
Fork 0

Fix a lot of things

mineclone5
jordan4ibanez 2021-04-08 08:42:57 -04:00
parent bb078b0c4c
commit 518252679f
11 changed files with 22 additions and 18 deletions

View File

@ -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",

View File

@ -0,0 +1 @@
mobs_mc

View File

@ -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",

View File

@ -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)

View File

@ -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",

View File

@ -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)

View File

@ -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)

View File

@ -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",

View File

@ -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)

View File

@ -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)
--[[

View File

@ -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",