Give snowballs, eggs and ender pearls a collision box
This commit is contained in:
parent
bd31808bed
commit
6824ce0428
@ -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 New Issue
Block a user