diff --git a/mods/ENTITIES/mcl_mobs/api.lua b/mods/ENTITIES/mcl_mobs/api.lua index 9b730d227..152302e7d 100644 --- a/mods/ENTITIES/mcl_mobs/api.lua +++ b/mods/ENTITIES/mcl_mobs/api.lua @@ -651,7 +651,6 @@ local mob_step = function(self, dtime) --end -- smooth rotation by ThomasMonroe314 - --[[ if self.delay and self.delay > 0 then @@ -1067,6 +1066,12 @@ minetest.register_entity(name, { _cmi_is_mob = true, pushable = def.pushable or true, + --j4i stuff + --automatic_rotate = 360, + automatic_face_movement_dir = def.rotate or 0, -- 0=front, 90=side, 180=back, 270=side2 + automatic_face_movement_max_rotation_per_sec = 360, + backface_culling = true, + --end j4i stuff -- MCL2 extensions teleport = teleport, diff --git a/mods/ENTITIES/mobs_mc/cow+mooshroom.lua b/mods/ENTITIES/mobs_mc/cow+mooshroom.lua index 48fcc8197..be4cceea3 100644 --- a/mods/ENTITIES/mobs_mc/cow+mooshroom.lua +++ b/mods/ENTITIES/mobs_mc/cow+mooshroom.lua @@ -9,6 +9,7 @@ local cow_def = { hp_max = 10, xp_min = 1, xp_max = 3, + rotate = 270, collisionbox = {-0.45, -0.01, -0.45, 0.45, 1.39, 0.45}, visual = "mesh", mesh = "mobs_mc_cow.b3d",