From 6824ce0428c29e072ebe8fde03b1c832f0e10b7f Mon Sep 17 00:00:00 2001 From: teknomunk Date: Sat, 4 Jan 2025 12:38:45 -0600 Subject: [PATCH] Give snowballs, eggs and ender pearls a collision box --- mods/ITEMS/mcl_throwing/egg.lua | 4 ++-- mods/ITEMS/mcl_throwing/ender_pearl.lua | 4 ++-- mods/ITEMS/mcl_throwing/snowball.lua | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/mods/ITEMS/mcl_throwing/egg.lua b/mods/ITEMS/mcl_throwing/egg.lua index 344314b6c..6720d6125 100644 --- a/mods/ITEMS/mcl_throwing/egg.lua +++ b/mods/ITEMS/mcl_throwing/egg.lua @@ -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, diff --git a/mods/ITEMS/mcl_throwing/ender_pearl.lua b/mods/ITEMS/mcl_throwing/ender_pearl.lua index d6f542ade..f20b29df5 100644 --- a/mods/ITEMS/mcl_throwing/ender_pearl.lua +++ b/mods/ITEMS/mcl_throwing/ender_pearl.lua @@ -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, diff --git a/mods/ITEMS/mcl_throwing/snowball.lua b/mods/ITEMS/mcl_throwing/snowball.lua index 6d3fca3ce..37d220dfc 100644 --- a/mods/ITEMS/mcl_throwing/snowball.lua +++ b/mods/ITEMS/mcl_throwing/snowball.lua @@ -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,