forked from MineClone5/MineClone5
Fix creeper head
This commit is contained in:
parent
a8152760b9
commit
b6c9a1c423
|
@ -88,12 +88,16 @@ local cow_def = {
|
||||||
--head code
|
--head code
|
||||||
has_head = true,
|
has_head = true,
|
||||||
head_bone = "head",
|
head_bone = "head",
|
||||||
|
|
||||||
swap_y_with_x = false,
|
swap_y_with_x = false,
|
||||||
reverse_head_yaw = false,
|
reverse_head_yaw = false,
|
||||||
|
|
||||||
head_bone_pos_y = 3.6,
|
head_bone_pos_y = 3.6,
|
||||||
head_bone_pos_z = -0.6,
|
head_bone_pos_z = -0.6,
|
||||||
|
|
||||||
head_height_offset = 1.0525,
|
head_height_offset = 1.0525,
|
||||||
head_direction_offset = 0.5,
|
head_direction_offset = 0.5,
|
||||||
|
--end head code
|
||||||
}
|
}
|
||||||
|
|
||||||
mobs:register_mob("mobs_mc:cow", cow_def)
|
mobs:register_mob("mobs_mc:cow", cow_def)
|
||||||
|
|
|
@ -56,12 +56,16 @@ mobs:register_mob("mobs_mc:creeper", {
|
||||||
--head code
|
--head code
|
||||||
has_head = true,
|
has_head = true,
|
||||||
head_bone = "head",
|
head_bone = "head",
|
||||||
|
|
||||||
swap_y_with_x = true,
|
swap_y_with_x = true,
|
||||||
reverse_head_yaw = true,
|
reverse_head_yaw = true,
|
||||||
head_bone_pos_y = 3.6,
|
|
||||||
head_bone_pos_z = -0.6,
|
head_bone_pos_y = 2.4,
|
||||||
head_height_offset = 1.0525,
|
head_bone_pos_z = 0,
|
||||||
head_direction_offset = 0.5,
|
|
||||||
|
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.
|
-- Force-ignite creeper with flint and steel and explode after 1.5 seconds.
|
||||||
-- TODO: Make creeper flash after doing this as well.
|
-- TODO: Make creeper flash after doing this as well.
|
||||||
|
|
Loading…
Reference in New Issue