Combine air and ground type spawning into ground
This commit is contained in:
parent
aacb8fc7b9
commit
5ca30fa8ee
|
@ -227,7 +227,6 @@ dimension:
|
||||||
"end"
|
"end"
|
||||||
|
|
||||||
types of spawning:
|
types of spawning:
|
||||||
"air"
|
|
||||||
"water"
|
"water"
|
||||||
"ground"
|
"ground"
|
||||||
"lava"
|
"lava"
|
||||||
|
@ -438,15 +437,23 @@ function mobs:spawn_specific(name, dimension, type_of_spawning, biomes, min_ligh
|
||||||
--allow for new dimensions to be auto added
|
--allow for new dimensions to be auto added
|
||||||
--this will take extra time, a whole few nanoseconds
|
--this will take extra time, a whole few nanoseconds
|
||||||
--but will allow modularity
|
--but will allow modularity
|
||||||
|
|
||||||
|
|
||||||
|
if type_of_spawning == "air" then
|
||||||
|
print("---------------------------- HERE")
|
||||||
|
print(name)
|
||||||
|
print("---------------------------- sdfkhjsadfhjklsfsehjkfsdhjk")
|
||||||
|
end
|
||||||
|
|
||||||
if not spawn_dictionary[dimension] then
|
if not spawn_dictionary[dimension] then
|
||||||
spawn_dictionary[dimension] = {}
|
spawn_dictionary[dimension] = {}
|
||||||
end
|
end
|
||||||
|
|
||||||
print("----")
|
|
||||||
print(name)
|
|
||||||
for _,added_biome in pairs(biomes) do
|
for _,added_biome in pairs(biomes) do
|
||||||
print(added_biome)
|
--print(added_biome)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
--[[
|
--[[
|
||||||
local key = #spawn_dictionary[dimension] + 1
|
local key = #spawn_dictionary[dimension] + 1
|
||||||
|
|
||||||
|
|
|
@ -66,7 +66,7 @@ end
|
||||||
-- Spawn on solid blocks at or below Sea level and the selected light level
|
-- Spawn on solid blocks at or below Sea level and the selected light level
|
||||||
mobs:spawn_specific(
|
mobs:spawn_specific(
|
||||||
"mobs_mc:bat",
|
"mobs_mc:bat",
|
||||||
"overworld",
|
"ground",
|
||||||
"air",
|
"air",
|
||||||
{
|
{
|
||||||
"FlowerForest_underground",
|
"FlowerForest_underground",
|
||||||
|
|
|
@ -78,7 +78,7 @@ mobs:register_mob("mobs_mc:ghast", {
|
||||||
mobs:spawn_specific(
|
mobs:spawn_specific(
|
||||||
"mobs_mc:ghast",
|
"mobs_mc:ghast",
|
||||||
"nether",
|
"nether",
|
||||||
"air",
|
"ground",
|
||||||
{
|
{
|
||||||
"Nether"
|
"Nether"
|
||||||
},
|
},
|
||||||
|
|
|
@ -94,7 +94,7 @@ mobs:register_mob("mobs_mc:parrot", {
|
||||||
mobs:spawn_specific(
|
mobs:spawn_specific(
|
||||||
"mobs_mc:parrot",
|
"mobs_mc:parrot",
|
||||||
"overworld",
|
"overworld",
|
||||||
"air",
|
"ground",
|
||||||
{
|
{
|
||||||
"Jungle",
|
"Jungle",
|
||||||
"JungleEdgeM",
|
"JungleEdgeM",
|
||||||
|
|
Loading…
Reference in New Issue