mirror of
https://codeberg.org/tenplus1/mobs_animal.git
synced 2024-12-23 01:10:25 +01:00
added stay_near setting for sheep
This commit is contained in:
parent
631cddc727
commit
f75e6ddd4b
@ -1,7 +1,6 @@
|
|||||||
|
|
||||||
local S = mobs.intllib
|
local S = mobs.intllib
|
||||||
|
|
||||||
|
|
||||||
local all_colours = {
|
local all_colours = {
|
||||||
{"black", S("Black"), "#000000b0"},
|
{"black", S("Black"), "#000000b0"},
|
||||||
{"blue", S("Blue"), "#015dbb70"},
|
{"blue", S("Blue"), "#015dbb70"},
|
||||||
@ -26,6 +25,7 @@ local all_colours = {
|
|||||||
for _, col in ipairs(all_colours) do
|
for _, col in ipairs(all_colours) do
|
||||||
|
|
||||||
mobs:register_mob("mobs_animal:sheep_"..col[1], {
|
mobs:register_mob("mobs_animal:sheep_"..col[1], {
|
||||||
|
stay_near = {"farming:straw", 10},
|
||||||
stepheight = 0.6,
|
stepheight = 0.6,
|
||||||
type = "animal",
|
type = "animal",
|
||||||
passive = true,
|
passive = true,
|
||||||
|
Loading…
Reference in New Issue
Block a user