chicken and pumba register egg not preceding with ":"
This commit is contained in:
parent
c32d5a0d5c
commit
0936a196d7
@ -123,7 +123,7 @@ end
|
|||||||
if not mobs.custom_spawn_animal then
|
if not mobs.custom_spawn_animal then
|
||||||
|
|
||||||
mobs:spawn({
|
mobs:spawn({
|
||||||
name = ":mobs_jam:chicken",
|
name = "mobs_jam:chicken",
|
||||||
nodes = spawn_on,
|
nodes = spawn_on,
|
||||||
neighbors = {"group:grass"},
|
neighbors = {"group:grass"},
|
||||||
min_light = 14,
|
min_light = 14,
|
||||||
@ -136,7 +136,7 @@ if not mobs.custom_spawn_animal then
|
|||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
mobs:register_egg(":mobs_jam:chicken", S("Chicken"), "mobs_chicken_inv.png", 0)
|
mobs:register_egg("mobs_jam:chicken", S("Chicken"), "mobs_chicken_inv.png", 0)
|
||||||
|
|
||||||
|
|
||||||
mobs:alias_mob("mobs:chicken", "mobs_jam:chicken") -- compatibility
|
mobs:alias_mob("mobs:chicken", "mobs_jam:chicken") -- compatibility
|
||||||
|
@ -83,7 +83,7 @@ end
|
|||||||
if not mobs.custom_spawn_animal then
|
if not mobs.custom_spawn_animal then
|
||||||
|
|
||||||
mobs:spawn({
|
mobs:spawn({
|
||||||
name = ":mobs_jam:pumba",
|
name = "mobs_jam:pumba",
|
||||||
nodes = spawn_on,
|
nodes = spawn_on,
|
||||||
neighbors = spawn_by,
|
neighbors = spawn_by,
|
||||||
min_light = 14,
|
min_light = 14,
|
||||||
@ -97,7 +97,7 @@ end
|
|||||||
|
|
||||||
|
|
||||||
-- spawn egg
|
-- spawn egg
|
||||||
mobs:register_egg(":mobs_jam:pumba", S("Warthog"), "mobs_pumba_inv.png")
|
mobs:register_egg("mobs_jam:pumba", S("Warthog"), "mobs_pumba_inv.png")
|
||||||
|
|
||||||
|
|
||||||
mobs:alias_mob("mobs_animal:pumba", "mobs_jam:pumba") -- compatibility
|
mobs:alias_mob("mobs_animal:pumba", "mobs_jam:pumba") -- compatibility
|
||||||
|
Loading…
x
Reference in New Issue
Block a user