Skip to content

the hook function for snowball's hit_mob dont works #16

Description

@yunfan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions