How to make passive mobs attack players

Discussion in 'Community Support' started by ztevn, Jan 29, 2017.

  1. ztevn

    ztevn New Member

    Joined:
    Jan 29, 2017
    Messages:
    16
    Likes Received:
    0
    Hey im trying to make a villager mob that will attack players and spawn snowmen that will also attack players. Now I was able to do all that, but the villager isnt attacking hes just following me. Also the snowmen's attack (snowball) dont do damage even though i set their damage to 2. Any help?
     
    #1
  2. Rickyling

    Rickyling Community Manager
    Community Manager Supporter Moderator Quality Assurance

    Joined:
    Jul 24, 2015
    Messages:
    687
    Likes Received:
    215
    Passive mobs (with the exception to projectile throwing mobs like the snow golem) can't attack for some reason. Like you said, they'll move toward players but can't hit them. This is simply due to how Minecraft is made.
    If you want to make the villager "attack" players you'll have to work around it, using the damage skill.
    I can't help you with they now but maybe someone else has suggestions.
    For the snowmen, their default attacks aren't affected by damage values.

    You might want to take a look at the shoot mechanic to replace that.
    http://www.mythicmobs.net/manual/doku.php/skills/mechanics/shoot
     
    #2
  3. ztevn

    ztevn New Member

    Joined:
    Jan 29, 2017
    Messages:
    16
    Likes Received:
    0
    yeah i just went more in depth through the manual and it seems like the shoot mechanic is what i need. I just got another problem though. I tried creating a wither skeleton this time but it wouldnt attack me even when i hit it. I tried changing the mob type to normal skeleton and it doesnt work still. Also the equipment im trying to give them (diamond armor,sword and shield) doesnt work.
     
    #3

Share This Page