mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-16 16:11:06 +01:00
Fixed abnormal skull rotation
This commit is contained in:
parent
2a65e15b02
commit
fa35be8427
2 changed files with 4 additions and 7 deletions
|
@ -410,7 +410,6 @@ function mcl_mobs.register_arrow(name, def)
|
|||
switch = 0,
|
||||
_lifetime = def._lifetime or 7,
|
||||
owner_id = def.owner_id,
|
||||
rotate = def.rotate,
|
||||
_vl_projectile = {
|
||||
behaviors = behaviors,
|
||||
ignore_gravity = true,
|
||||
|
|
|
@ -457,13 +457,12 @@ mcl_mobs.register_arrow("mobs_mc:wither_skull", {
|
|||
textures = {
|
||||
"mobs_mc_wither_projectile.png^[verticalframe:6:0", -- top
|
||||
"mobs_mc_wither_projectile.png^[verticalframe:6:1", -- bottom
|
||||
"mobs_mc_wither_projectile.png^[verticalframe:6:2", -- left
|
||||
"mobs_mc_wither_projectile.png^[verticalframe:6:3", -- right
|
||||
"mobs_mc_wither_projectile.png^[verticalframe:6:4", -- back
|
||||
"mobs_mc_wither_projectile.png^[verticalframe:6:5", -- front
|
||||
"mobs_mc_wither_projectile.png^[verticalframe:6:3", -- right
|
||||
"mobs_mc_wither_projectile.png^[verticalframe:6:2", -- left
|
||||
},
|
||||
velocity = 7,
|
||||
rotate = 90,
|
||||
_lifetime = 15,
|
||||
on_punch = function(self) end,
|
||||
allow_punching = function(self, _, _, object)
|
||||
|
@ -514,13 +513,12 @@ mcl_mobs.register_arrow("mobs_mc:wither_skull_strong", {
|
|||
textures = {
|
||||
"mobs_mc_wither_projectile_strong.png^[verticalframe:6:0", -- top
|
||||
"mobs_mc_wither_projectile_strong.png^[verticalframe:6:1", -- bottom
|
||||
"mobs_mc_wither_projectile_strong.png^[verticalframe:6:2", -- left
|
||||
"mobs_mc_wither_projectile_strong.png^[verticalframe:6:3", -- right
|
||||
"mobs_mc_wither_projectile_strong.png^[verticalframe:6:4", -- back
|
||||
"mobs_mc_wither_projectile_strong.png^[verticalframe:6:5", -- front
|
||||
"mobs_mc_wither_projectile_strong.png^[verticalframe:6:3", -- right
|
||||
"mobs_mc_wither_projectile_strong.png^[verticalframe:6:2", -- left
|
||||
},
|
||||
velocity = 4,
|
||||
rotate = 90,
|
||||
_lifetime = 25,
|
||||
on_punch = function(self) end,
|
||||
allow_punching = function(self, _, _, object)
|
||||
|
|
Loading…
Reference in a new issue