Disable taming and catching of mineturtle
This commit is contained in:
parent
437dd38e3d
commit
87f8eac287
@ -29,7 +29,6 @@ mobs:register_mob(
|
|||||||
walk_velocity = 2,
|
walk_velocity = 2,
|
||||||
run_velocity = 4,
|
run_velocity = 4,
|
||||||
jump = true,
|
jump = true,
|
||||||
follow = "tnt:tnt",
|
|
||||||
view_range = 10,
|
view_range = 10,
|
||||||
drops = {
|
drops = {
|
||||||
{name = "tnt:tnt",
|
{name = "tnt:tnt",
|
||||||
@ -51,10 +50,6 @@ mobs:register_mob(
|
|||||||
punch_start = 51,
|
punch_start = 51,
|
||||||
punch_end = 60,
|
punch_end = 60,
|
||||||
},
|
},
|
||||||
on_rightclick = function(self, clicker)
|
|
||||||
mobs:feed_tame(self, clicker, 4, false)
|
|
||||||
mobs:capture_mob(self, clicker, 0, 20, 40, false, nil)
|
|
||||||
end,
|
|
||||||
on_die = function(self, pos, hitter)
|
on_die = function(self, pos, hitter)
|
||||||
if hitter == nil or (hitter ~= nil and not hitter:is_player()) then
|
if hitter == nil or (hitter ~= nil and not hitter:is_player()) then
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user