From b6c9a1c423a9831cb3684e6a7e1b57163d6d4ab4 Mon Sep 17 00:00:00 2001 From: jordan4ibanez Date: Sun, 25 Apr 2021 19:51:11 -0400 Subject: [PATCH] Fix creeper head --- mods/ENTITIES/mobs_mc/cow+mooshroom.lua | 4 ++++ mods/ENTITIES/mobs_mc/creeper.lua | 12 ++++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/mods/ENTITIES/mobs_mc/cow+mooshroom.lua b/mods/ENTITIES/mobs_mc/cow+mooshroom.lua index c346b1037a..f6abe62989 100644 --- a/mods/ENTITIES/mobs_mc/cow+mooshroom.lua +++ b/mods/ENTITIES/mobs_mc/cow+mooshroom.lua @@ -88,12 +88,16 @@ local cow_def = { --head code has_head = true, head_bone = "head", + swap_y_with_x = false, reverse_head_yaw = false, + head_bone_pos_y = 3.6, head_bone_pos_z = -0.6, + head_height_offset = 1.0525, head_direction_offset = 0.5, + --end head code } mobs:register_mob("mobs_mc:cow", cow_def) diff --git a/mods/ENTITIES/mobs_mc/creeper.lua b/mods/ENTITIES/mobs_mc/creeper.lua index 9f083620db..fa2337cf62 100644 --- a/mods/ENTITIES/mobs_mc/creeper.lua +++ b/mods/ENTITIES/mobs_mc/creeper.lua @@ -56,12 +56,16 @@ mobs:register_mob("mobs_mc:creeper", { --head code has_head = true, head_bone = "head", + swap_y_with_x = true, reverse_head_yaw = true, - head_bone_pos_y = 3.6, - head_bone_pos_z = -0.6, - head_height_offset = 1.0525, - head_direction_offset = 0.5, + + head_bone_pos_y = 2.4, + head_bone_pos_z = 0, + + head_height_offset = 1.1, + head_direction_offset = 0, + --end head code -- Force-ignite creeper with flint and steel and explode after 1.5 seconds. -- TODO: Make creeper flash after doing this as well.