From 975efb228836ceabf3ff06b8de0f3af9fd67ea69 Mon Sep 17 00:00:00 2001 From: epCode Date: Sat, 13 Mar 2021 10:35:36 -0800 Subject: [PATCH 1/5] Fix #1136 --- mods/PLAYER/mcl_player/init.lua | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/mods/PLAYER/mcl_player/init.lua b/mods/PLAYER/mcl_player/init.lua index 90cba148f3..449b062c50 100644 --- a/mods/PLAYER/mcl_player/init.lua +++ b/mods/PLAYER/mcl_player/init.lua @@ -6,6 +6,16 @@ mcl_player = {} -- Note: This is currently broken due to a bug in Irrlicht, leave at 0 local animation_blend = 0 +local function get_mouse_button(player) + local controls = player:get_player_control() + local get_wielded_item_name = player:get_wielded_item():get_name() + if controls.RMB and not string.find(player:get_wielded_item():get_name(), "mcl_bows:bow") or controls.LMB then + return true + else + return false + end +end + mcl_player.registered_player_models = { } -- Local for speed. @@ -174,30 +184,30 @@ minetest.register_globalstep(function(dtime) player_anim[name] = nil player_sneak[name] = controls.sneak end - if controls.LMB and not controls.sneak and head_in_water and is_sprinting == true then + if get_mouse_button(player) == true and not controls.sneak and head_in_water and is_sprinting == true then player_set_animation(player, "swim_walk_mine", animation_speed_mod) elseif not controls.sneak and head_in_water and is_sprinting == true then player_set_animation(player, "swim_walk", animation_speed_mod) - elseif is_sprinting == true and controls.LMB and not controls.sneak and not head_in_water then + elseif is_sprinting == true and get_mouse_button(player) == true and not controls.sneak and not head_in_water then player_set_animation(player, "run_walk_mine", animation_speed_mod) - elseif controls.LMB and not controls.sneak then + elseif get_mouse_button(player) == true and not controls.sneak then player_set_animation(player, "walk_mine", animation_speed_mod) - elseif controls.LMB and controls.sneak and is_sprinting ~= true then + elseif get_mouse_button(player) == true and controls.sneak and is_sprinting ~= true then player_set_animation(player, "sneak_walk_mine", animation_speed_mod) elseif is_sprinting == true and not controls.sneak and not head_in_water then player_set_animation(player, "run_walk", animation_speed_mod) - elseif controls.sneak and not controls.LMB then + elseif controls.sneak and not get_mouse_button(player) == true then player_set_animation(player, "sneak_walk", animation_speed_mod) else player_set_animation(player, "walk", animation_speed_mod) end - elseif controls.LMB and not controls.sneak and head_in_water and is_sprinting == true then + elseif get_mouse_button(player) == true and not controls.sneak and head_in_water and is_sprinting == true then player_set_animation(player, "swim_mine") - elseif not controls.LMB and not controls.sneak and head_in_water and is_sprinting == true then + elseif not get_mouse_button(player) == true and not controls.sneak and head_in_water and is_sprinting == true then player_set_animation(player, "swim_stand") - elseif controls.LMB and not controls.sneak then + elseif get_mouse_button(player) == true and not controls.sneak then player_set_animation(player, "mine") - elseif controls.LMB and controls.sneak then + elseif get_mouse_button(player) == true and controls.sneak then player_set_animation(player, "sneak_mine") elseif not controls.sneak and head_in_water and is_sprinting == true then player_set_animation(player, "swim_stand", animation_speed_mod) From 1bdf14119860862c024bd8187666bf732d901d19 Mon Sep 17 00:00:00 2001 From: epCode Date: Sat, 13 Mar 2021 23:17:50 +0000 Subject: [PATCH 2/5] Delete Zombie horse for copyright reasons --- .../mobs_mc/textures/mobs_mc_horse_zombie.png | Bin 11350 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 mods/ENTITIES/mobs_mc/textures/mobs_mc_horse_zombie.png diff --git a/mods/ENTITIES/mobs_mc/textures/mobs_mc_horse_zombie.png b/mods/ENTITIES/mobs_mc/textures/mobs_mc_horse_zombie.png deleted file mode 100644 index 846769e2378b7eae0114ce99f2e5654daa364b45..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 11350 zcmd5?^;Z<$)23NKiKR;#StO+!mRgoxK>1^7ybWd0GxlmTiRs!UqE+)DTC1} z#_0C{ZE)bK$_i)>|CZiM$CA8%89aN4z7rZ6Vb}i*y)oYU=wA}oSw&qDcNya)5kDhc zmBtS=v^TRV3UWH`3rB4pKW*oYR$CJ)Ri8B1;#fN_`D$KypkA<1_X5#``tER`Qf{tNPNn`(H(3;H8W^`k$!BD zKCPDS*X+3cy?ve~HBi;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YjN`qB2inLguw(X_o*Hu!yK%-)z9&S!@R{?QCh9*tSoV|Y4%QX3Bdp1%v*i00F)b2hh1AsCikh;09Fn!f{;?b! z!=L~O$uonuF=e*~FUf`0C8@Be@%uY!3C#LXh*Iz*MIpv*Z-s&-Y zzJG ze+to_7{>rps=2a{5EZ4Ggm4O_v^$0`N6zul3MCeR)aQU;v&TdB|8?A3@BG;dt8X0S zJZ#ywQ`3Ue)c=GZ)7H>@{n1`J&LZVSxv67$Kkn%IwwTZ2+ZNZ(NhIdbQTo@}$x#FE z0q*T)>4^m!bt65o+YUK)2`%pgK8gbHC* z@>5+I5TDgw$)u{@k=^p?BHCEcBEmg`$SU=i-qC(gdxotyH-CYO1Z?IjT1 zW$I^YA^Q;DqFWkNm`oPA-l%7(=G$0n*D0iWV;R;-v-W0gnD5dT4Mhs%sHGjLPlgmp zq?=}BUpjqsJ}1m`984@3_73aW`2M?*PdCCL%M=5|UrJE_$>%?ZDOYxbs=XtY!T}x_ zCe}cEeyt7GZxL?rP-e Date: Sat, 13 Mar 2021 23:19:28 +0000 Subject: [PATCH 3/5] Remove Zombie horse from immediate game --- mods/ENTITIES/mobs_mc/horse.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ENTITIES/mobs_mc/horse.lua b/mods/ENTITIES/mobs_mc/horse.lua index b9d82660c6..4e588855f4 100644 --- a/mods/ENTITIES/mobs_mc/horse.lua +++ b/mods/ENTITIES/mobs_mc/horse.lua @@ -451,6 +451,6 @@ mobs:spawn_specific("mobs_mc:donkey", mobs_mc.spawn.grassland_savanna, {"air"}, -- spawn eggs mobs:register_egg("mobs_mc:horse", S("Horse"), "mobs_mc_spawn_icon_horse.png", 0) mobs:register_egg("mobs_mc:skeleton_horse", S("Skeleton Horse"), "mobs_mc_spawn_icon_horse_skeleton.png", 0) -mobs:register_egg("mobs_mc:zombie_horse", S("Zombie Horse"), "mobs_mc_spawn_icon_horse_zombie.png", 0) +--mobs:register_egg("mobs_mc:zombie_horse", S("Zombie Horse"), "mobs_mc_spawn_icon_horse_zombie.png", 0) mobs:register_egg("mobs_mc:donkey", S("Donkey"), "mobs_mc_spawn_icon_donkey.png", 0) mobs:register_egg("mobs_mc:mule", S("Mule"), "mobs_mc_spawn_icon_mule.png", 0) From 7a5aa54035479b28bd03c3c1a9d56c217bad7339 Mon Sep 17 00:00:00 2001 From: iliekprogrammar Date: Sun, 14 Mar 2021 12:10:54 +0800 Subject: [PATCH 4/5] Allow water & lava buckets dispensed break nether portals. --- mods/ITEMS/mcl_buckets/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/ITEMS/mcl_buckets/init.lua b/mods/ITEMS/mcl_buckets/init.lua index 72677eb96d..9e830fd738 100644 --- a/mods/ITEMS/mcl_buckets/init.lua +++ b/mods/ITEMS/mcl_buckets/init.lua @@ -148,7 +148,7 @@ function mcl_buckets.register_liquid(def) end, _on_dispense = function(stack, pos, droppos, dropnode, dropdir) local iname = stack:get_name() - local buildable = minetest.registered_nodes[dropnode.name].buildable_to + local buildable = minetest.registered_nodes[dropnode.name].buildable_to or dropnode.name == "mcl_portals:portal" if def.extra_check and def.extra_check(droppos, nil) == false then -- Fail placement of liquid @@ -277,4 +277,4 @@ minetest.register_craftitem("mcl_buckets:bucket_empty", { end, }) -dofile(modpath.."/register.lua") \ No newline at end of file +dofile(modpath.."/register.lua") From 08f522ffffd9c309a1c5703d8f2a237c705f722e Mon Sep 17 00:00:00 2001 From: Code-Sploit Date: Sun, 14 Mar 2021 06:24:34 +0000 Subject: [PATCH 5/5] Fix arrows being pointable --- mods/ITEMS/mcl_bows/arrow.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/mods/ITEMS/mcl_bows/arrow.lua b/mods/ITEMS/mcl_bows/arrow.lua index 145227e1fc..efa465ddfe 100644 --- a/mods/ITEMS/mcl_bows/arrow.lua +++ b/mods/ITEMS/mcl_bows/arrow.lua @@ -37,6 +37,7 @@ S("Arrows might get stuck on solid blocks and can be retrieved again. They are a local ARROW_ENTITY={ physical = true, + pointable = false, visual = "mesh", mesh = "mcl_bows_arrow.obj", visual_size = {x=-1, y=1},