Fix some itemstrings in mobs_mc

This commit is contained in:
Wuzzy 2017-02-15 01:00:12 +01:00
parent d201216fb5
commit 3e5988a853
5 changed files with 10 additions and 10 deletions

View file

@ -87,7 +87,7 @@ mobs:register_mob("mobs_mc:chicken", {
end,
]]
--from mobs_animals
follow = {"farming:seed_wheat", "farming:seed_cotton"},
follow = {"mcl_farming:wheat_seeds", "mcl_farming:beetroot_seeds", "mcl_farming:pumpkin_seeds", "mcl_farming:melon_seeds"},
view_range = 5,
on_rightclick = function(self, clicker)

View file

@ -54,12 +54,12 @@ mobs:register_mob("mobs_mc:enderman", {
view_range = 16,
attack_type = "dogfight",
replace_rate = 1,
replace_what = {"mcl_torches:torch","mcl_core:sand","mcl_core:desert_sand","mcl_core:cobble","mcl_core:dirt","mcl_core:dirt_with_glass","mcl_core:dirt_with_dry_grass","mcl_core:wood","mcl_core:stone","mcl_core:sandstone"},
replace_what = {"mcl_torches:torch","mcl_core:sand","mcl_core:desert_sand","mcl_core:cobble","mcl_core:dirt","mcl_core:dirt_with_glass","mcl_core:wood","mcl_core:stone","mcl_core:sandstone"},
replace_with = "air",
replace_offset = -1,
})
mobs:register_spawn("mobs_mc:enderman", { "mcl_core:sand", "mcl_core:desert_sand"}, 5, -1, 5000, 4, 31000)
mobs:register_spawn("mobs_mc:enderman", { "mcl_core:sand", "mcl_core:redsand"}, 5, -1, 5000, 4, 31000)

View file

@ -86,7 +86,7 @@ mobs:register_spawn("mobs_mc:ghast", {"mcl_core:lava_flowing", "mcl_nether:nethe
-- Ghast fireball
mobs:register_arrow("mobs_mc:ghast_fireball", {
visual = "sprite",
visual_size = {x = 0.5, y = 0.5},
visual_size = {x = 0.8, y = 0.8},
textures = {"mcl_fire_fire_charge.png"},
velocity = 6,

View file

@ -219,7 +219,7 @@ mobs:register_mob("mobs_mc:horse", {
stand_start = 25, stand_end = 75,
walk_start = 75, walk_end = 100,
},
follow = "farming:wheat",
follow = "mcl_farming:wheat_item",
view_range = 5,
on_rightclick = function(self, clicker)
@ -262,7 +262,7 @@ mobs:register_mob("mobs_mc:horse2", {
stand_start = 25, stand_end = 75,
walk_start = 75, walk_end = 100,
},
follow = "farming:wheat",
follow = "mcl_farming:wheat_item",
view_range = 5,
on_rightclick = function(self, clicker)
@ -305,7 +305,7 @@ mobs:register_mob("mobs_mc:horse3", {
stand_start = 25, stand_end = 75,
walk_start = 75, walk_end = 100,
},
follow = "farming:wheat",
follow = "mcl_farming:wheat_item",
view_range = 5,
on_rightclick = function(self, clicker)

View file

@ -56,12 +56,12 @@ mobs:register_mob("mobs_mc:sheep", {
look_start = 78,
look_end = 108,
},
follow = "farming:wheat",
follow = "mcl_farming:wheat_item",
view_range = 5,
on_rightclick = function(self, clicker)
local item = clicker:get_wielded_item()
if item:get_name() == "farming:wheat" then
if item:get_name() == "mcl_farming:wheat_item" then
if not self.tamed then
if not minetest.setting_getbool("creative_mode") then
item:take_item()
@ -84,7 +84,7 @@ mobs:register_mob("mobs_mc:sheep", {
end
return
end
if item:get_name() == "mobs:shears" and not self.naked then
if item:get_name() == "mcl_core:shears" and not self.naked then
self.naked = true
local pos = self.object:getpos()
minetest.sound_play("shears", {pos = pos})