1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Solved How to make damaging snowballs?

Discussion in 'Development' started by MalakasPlayzMCPE, Feb 24, 2018.

  1. MalakasPlayzMCPE

    MalakasPlayzMCPE Zombie Pigman

    Messages:
    667
    How to give damage on the player that get shot?
     
  2. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    create custom snowball class extending snowball
    you can overwrite one of the function related to damage
    now you register a new entity and use that entity when people do the thing that shoot it
    you can also overwrite the onheld function to make it shoot deadly snowballs
     
  3. MalakasPlayzMCPE

    MalakasPlayzMCPE Zombie Pigman

    Messages:
    667
    Ok, thanks
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.