Give snowballs, eggs and ender pearls a collision box

This commit is contained in:
teknomunk 2025-01-04 12:38:45 -06:00
parent bd31808bed
commit 6824ce0428
3 changed files with 6 additions and 6 deletions

View File

@ -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,

View File

@ -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,

View File

@ -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,