mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-17 00:21:07 +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,
|
switch = 0,
|
||||||
_lifetime = def._lifetime or 7,
|
_lifetime = def._lifetime or 7,
|
||||||
owner_id = def.owner_id,
|
owner_id = def.owner_id,
|
||||||
rotate = def.rotate,
|
|
||||||
_vl_projectile = {
|
_vl_projectile = {
|
||||||
behaviors = behaviors,
|
behaviors = behaviors,
|
||||||
ignore_gravity = true,
|
ignore_gravity = true,
|
||||||
|
|
|
@ -457,13 +457,12 @@ mcl_mobs.register_arrow("mobs_mc:wither_skull", {
|
||||||
textures = {
|
textures = {
|
||||||
"mobs_mc_wither_projectile.png^[verticalframe:6:0", -- top
|
"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: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:4", -- back
|
||||||
"mobs_mc_wither_projectile.png^[verticalframe:6:5", -- front
|
"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,
|
velocity = 7,
|
||||||
rotate = 90,
|
|
||||||
_lifetime = 15,
|
_lifetime = 15,
|
||||||
on_punch = function(self) end,
|
on_punch = function(self) end,
|
||||||
allow_punching = function(self, _, _, object)
|
allow_punching = function(self, _, _, object)
|
||||||
|
@ -514,13 +513,12 @@ mcl_mobs.register_arrow("mobs_mc:wither_skull_strong", {
|
||||||
textures = {
|
textures = {
|
||||||
"mobs_mc_wither_projectile_strong.png^[verticalframe:6:0", -- top
|
"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: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:4", -- back
|
||||||
"mobs_mc_wither_projectile_strong.png^[verticalframe:6:5", -- front
|
"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,
|
velocity = 4,
|
||||||
rotate = 90,
|
|
||||||
_lifetime = 25,
|
_lifetime = 25,
|
||||||
on_punch = function(self) end,
|
on_punch = function(self) end,
|
||||||
allow_punching = function(self, _, _, object)
|
allow_punching = function(self, _, _, object)
|
||||||
|
|
Loading…
Reference in a new issue