mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2025-01-24 07:51:07 +01:00
Give snowballs, eggs and ender pearls a collision box
This commit is contained in:
parent
bd31808bed
commit
6824ce0428
3 changed files with 6 additions and 6 deletions
|
@ -32,11 +32,11 @@ local function egg_spawn_chicks(pos)
|
|||
end
|
||||
|
||||
vl_projectile.register("mcl_throwing:egg_entity",{
|
||||
physical = false,
|
||||
physical = true,
|
||||
timer=0,
|
||||
textures = {"mcl_throwing_egg.png"},
|
||||
visual_size = {x=0.45, y=0.45},
|
||||
collisionbox = {0,0,0,0,0,0},
|
||||
collisionbox = {-0.1,-0.1,-0.1,0.1,0.1,0.1},
|
||||
pointable = false,
|
||||
|
||||
get_staticdata = mcl_throwing.get_staticdata,
|
||||
|
|
|
@ -101,11 +101,11 @@ end
|
|||
|
||||
-- Ender pearl entity
|
||||
vl_projectile.register("mcl_throwing:ender_pearl_entity",{
|
||||
physical = false,
|
||||
physical = true,
|
||||
timer=0,
|
||||
textures = {"mcl_throwing_ender_pearl.png"},
|
||||
visual_size = {x=0.9, y=0.9},
|
||||
collisionbox = {0,0,0,0,0,0},
|
||||
collisionbox = {-0.1,-0.1,-0.1,0.1,0.1,0.1},
|
||||
pointable = false,
|
||||
|
||||
get_staticdata = mcl_throwing.get_staticdata,
|
||||
|
|
|
@ -40,11 +40,11 @@ local function snowball_particles(pos, vel)
|
|||
})
|
||||
end
|
||||
vl_projectile.register("mcl_throwing:snowball_entity", {
|
||||
physical = false,
|
||||
physical = true,
|
||||
timer=0,
|
||||
textures = {"mcl_throwing_snowball.png"},
|
||||
visual_size = {x=0.5, y=0.5},
|
||||
collisionbox = {0,0,0,0,0,0},
|
||||
collisionbox = {-0.1,-0.1,-0.1,0.1,0.1,0.1},
|
||||
pointable = false,
|
||||
|
||||
get_staticdata = mcl_throwing.get_staticdata,
|
||||
|
|
Loading…
Reference in a new issue