diff --git a/mods/ENTITIES/mcl_mobs/api.lua b/mods/ENTITIES/mcl_mobs/api.lua index fb8383663..dd1d6e2d8 100644 --- a/mods/ENTITIES/mcl_mobs/api.lua +++ b/mods/ENTITIES/mcl_mobs/api.lua @@ -56,7 +56,6 @@ local mobs_drop_items = minetest.settings:get_bool("mobs_drop_items") ~= false local mobs_griefing = minetest.settings:get_bool("mobs_griefing") ~= false local creative = minetest.settings:get_bool("creative_mode") local spawn_protected = minetest.settings:get_bool("mobs_spawn_protected") ~= false --- TODO local remove_far = false local difficulty = tonumber(minetest.settings:get("mob_difficulty")) or 1.0 local show_health = false @@ -2742,12 +2741,6 @@ local mob_staticdata = function(self) self.following = nil self.state = "stand" - -- used to rotate older mobs - if self.drawtype - and self.drawtype == "side" then - self.rotate = math.rad(90) - end - if use_cmi then self.serialized_cmi_components = cmi.serialize_components(self._cmi_components) end @@ -3187,7 +3180,6 @@ minetest.register_entity(name, { spawn_small_alternative = def.spawn_small_alternative, do_custom = def.do_custom, jump_height = def.jump_height or 4, -- was 6 - drawtype = def.drawtype, -- DEPRECATED, use rotate instead rotate = math.rad(def.rotate or 0), -- 0=front, 90=side, 180=back, 270=side2 lifetimer = def.lifetimer or 57.73, hp_min = scale_difficulty(def.hp_min, 5, 1), @@ -3686,14 +3678,6 @@ function mobs:register_arrow(name, def) end --- compatibility function -function mobs:explosion(pos, radius) - local self = {sounds = {}} - self.sounds.explode = "tnt_explode" - mobs:boom(self, pos, radius) -end - - -- no damage to nodes explosion function mobs:safe_boom(self, pos, radius) diff --git a/mods/ENTITIES/mcl_mobs/api.txt b/mods/ENTITIES/mcl_mobs/api.txt index 162772f08..6813093a7 100644 --- a/mods/ENTITIES/mcl_mobs/api.txt +++ b/mods/ENTITIES/mcl_mobs/api.txt @@ -459,8 +459,6 @@ This function registers a spawn egg which can be used by admin to properly spawn Explosion Function ------------------ -mobs:explosion(pos, radius) -- DEPRECATED!!! use mobs:boom() instead - mobs:boom(self, pos, radius) 'self' mob entity 'pos' centre position of explosion diff --git a/mods/ENTITIES/mobs_mc/witch.lua b/mods/ENTITIES/mobs_mc/witch.lua index ff00512e1..58d745b0c 100644 --- a/mods/ENTITIES/mobs_mc/witch.lua +++ b/mods/ENTITIES/mobs_mc/witch.lua @@ -93,7 +93,7 @@ mobs:register_arrow("mobs_mc:potion_arrow", { -- node hit, bursts into flame hit_node = function(self, pos, node) - --mobs:explosion(pos, 1, 1, 0) + --TODO end })