mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-26 04:21:07 +01:00
Fix creeper head
This commit is contained in:
parent
a8152760b9
commit
b6c9a1c423
2 changed files with 12 additions and 4 deletions
|
@ -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)
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue