i want to make a effect that when player shoot snowball and hit on a mob, it will been turned into its spawn egg, so i tried to modified the ENTITIES/mobs_mc/2_throwing.lua
in that files, it register a snowball_entity and has a hit_mob hook
but after i modified the function,and restart the server, i found it has no effects
i was wondering if its hook were overwrited by ITEM/mcl_throwing/register.lua which also defined a snowball hit effects and looks like what i had met in the game
i want to make a effect that when player shoot snowball and hit on a mob, it will been turned into its spawn egg, so i tried to modified the
ENTITIES/mobs_mc/2_throwing.luain that files, it register a snowball_entity and has a hit_mob hook
but after i modified the function,and restart the server, i found it has no effects
i was wondering if its hook were overwrited by
ITEM/mcl_throwing/register.luawhich also defined a snowball hit effects and looks like what i had met in the game