From b7079e8b19a445ecf8b678f1bc204a98026957db Mon Sep 17 00:00:00 2001 From: ancientmarinerdev Date: Tue, 21 Mar 2023 21:47:20 +0000 Subject: [PATCH 1/3] Fix slime and some nether mob speeds --- mods/ENTITIES/mobs_mc/hoglin+zoglin.lua | 2 +- mods/ENTITIES/mobs_mc/piglin.lua | 4 ++-- mods/ENTITIES/mobs_mc/skeleton_wither.lua | 2 +- mods/ENTITIES/mobs_mc/slime+magma_cube.lua | 18 +++++++++--------- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/mods/ENTITIES/mobs_mc/hoglin+zoglin.lua b/mods/ENTITIES/mobs_mc/hoglin+zoglin.lua index 1da650812..9a5187ae9 100644 --- a/mods/ENTITIES/mobs_mc/hoglin+zoglin.lua +++ b/mods/ENTITIES/mobs_mc/hoglin+zoglin.lua @@ -36,7 +36,7 @@ local hoglin = { jump = true, makes_footstep_sound = true, walk_velocity = 1, - run_velocity = 4, + run_velocity = 3.2, drops = { {name = "mobs_mcitems:leather", chance = 1, diff --git a/mods/ENTITIES/mobs_mc/piglin.lua b/mods/ENTITIES/mobs_mc/piglin.lua index 12c3d5d54..072e0b928 100644 --- a/mods/ENTITIES/mobs_mc/piglin.lua +++ b/mods/ENTITIES/mobs_mc/piglin.lua @@ -62,8 +62,8 @@ local piglin = { }, jump = true, makes_footstep_sound = true, - walk_velocity = 4.317, - run_velocity = 5.6121, + walk_velocity = 2, + run_velocity = 4, drops = { {name = "mcl_bows:crossbow", chance = 10, diff --git a/mods/ENTITIES/mobs_mc/skeleton_wither.lua b/mods/ENTITIES/mobs_mc/skeleton_wither.lua index 332b1d56e..314260581 100644 --- a/mods/ENTITIES/mobs_mc/skeleton_wither.lua +++ b/mods/ENTITIES/mobs_mc/skeleton_wither.lua @@ -43,7 +43,7 @@ mcl_mobs.register_mob("mobs_mc:witherskeleton", { distance = 16, }, walk_velocity = 1.2, - run_velocity = 2.4, + run_velocity = 2.0, damage = 7, reach = 2, drops = { diff --git a/mods/ENTITIES/mobs_mc/slime+magma_cube.lua b/mods/ENTITIES/mobs_mc/slime+magma_cube.lua index 85f1d36c8..71a45b5ab 100644 --- a/mods/ENTITIES/mobs_mc/slime+magma_cube.lua +++ b/mods/ENTITIES/mobs_mc/slime+magma_cube.lua @@ -205,8 +205,8 @@ local slime_big = { attack_type = "dogfight", passive = false, jump = true, - walk_velocity = 2.5, - run_velocity = 2.5, + walk_velocity = 1.9, + run_velocity = 1.9, walk_chance = 0, jump_height = 5.2, fear_height = 0, @@ -226,8 +226,8 @@ slime_small.collisionbox = {-0.51, -0.01, -0.51, 0.51, 1.00, 0.51} slime_small.visual_size = {x=6.25, y=6.25} slime_small.damage = 3 slime_small.reach = 2.75 -slime_small.walk_velocity = 1.3 -slime_small.run_velocity = 1.3 +slime_small.walk_velocity = 1.8 +slime_small.run_velocity = 1.8 slime_small.jump_height = 4.3 slime_small.spawn_small_alternative = "mobs_mc:slime_tiny" slime_small.on_die = spawn_children_on_die("mobs_mc:slime_tiny", 0.6, 1.0) @@ -250,8 +250,8 @@ slime_tiny.drops = { min = 0, max = 2,}, } -slime_tiny.walk_velocity = 0.7 -slime_tiny.run_velocity = 0.7 +slime_tiny.walk_velocity = 1.7 +slime_tiny.run_velocity = 1.7 slime_tiny.jump_height = 3 slime_tiny.spawn_small_alternative = nil slime_tiny.on_die = nil @@ -404,8 +404,8 @@ local magma_cube_big = { attack = "mobs_mc_magma_cube_attack", distance = 16, }, - walk_velocity = 4, - run_velocity = 4, + walk_velocity = 2.5, + run_velocity = 2.5, damage = 6, reach = 3, armor = 53, @@ -457,7 +457,7 @@ magma_cube_small.visual_size = {x=6.25, y=6.25} magma_cube_small.damage = 3 magma_cube_small.reach = 2.75 magma_cube_small.walk_velocity = .8 -magma_cube_small.run_velocity = 2.6 +magma_cube_small.run_velocity = 2.0 magma_cube_small.jump_height = 6 magma_cube_small.damage = 4 magma_cube_small.reach = 2.75 From 7f3734b6cba88b149c0de70d072925ceaef9c194 Mon Sep 17 00:00:00 2001 From: ancientmarinerdev Date: Sat, 25 Mar 2023 23:39:11 +0000 Subject: [PATCH 2/3] Ensure hoglins and piglins aren't faster than player. --- mods/ENTITIES/mobs_mc/hoglin+zoglin.lua | 2 +- mods/ENTITIES/mobs_mc/piglin.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mods/ENTITIES/mobs_mc/hoglin+zoglin.lua b/mods/ENTITIES/mobs_mc/hoglin+zoglin.lua index 9a5187ae9..926bc614b 100644 --- a/mods/ENTITIES/mobs_mc/hoglin+zoglin.lua +++ b/mods/ENTITIES/mobs_mc/hoglin+zoglin.lua @@ -36,7 +36,7 @@ local hoglin = { jump = true, makes_footstep_sound = true, walk_velocity = 1, - run_velocity = 3.2, + run_velocity = 2.8, drops = { {name = "mobs_mcitems:leather", chance = 1, diff --git a/mods/ENTITIES/mobs_mc/piglin.lua b/mods/ENTITIES/mobs_mc/piglin.lua index 072e0b928..b8c8faf21 100644 --- a/mods/ENTITIES/mobs_mc/piglin.lua +++ b/mods/ENTITIES/mobs_mc/piglin.lua @@ -62,8 +62,8 @@ local piglin = { }, jump = true, makes_footstep_sound = true, - walk_velocity = 2, - run_velocity = 4, + walk_velocity = 1.4, + run_velocity = 2.8, drops = { {name = "mcl_bows:crossbow", chance = 10, From 3bdc77a1aabfbcb90ad3251256ef6348b0829de0 Mon Sep 17 00:00:00 2001 From: ancientmarinerdev Date: Sun, 26 Mar 2023 03:19:03 +0100 Subject: [PATCH 3/3] Hoglins should only spawn in crimson forest --- mods/ENTITIES/mobs_mc/hoglin+zoglin.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/mods/ENTITIES/mobs_mc/hoglin+zoglin.lua b/mods/ENTITIES/mobs_mc/hoglin+zoglin.lua index 926bc614b..8bad858a8 100644 --- a/mods/ENTITIES/mobs_mc/hoglin+zoglin.lua +++ b/mods/ENTITIES/mobs_mc/hoglin+zoglin.lua @@ -120,7 +120,6 @@ mcl_mobs:spawn_specific( "nether", "ground", { -"Nether", "CrimsonForest" }, 0,