Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to spawn NPC and perform action on tap?

Comments in 'Plugin Development' started by myst02, May 23, 2015.

  1. myst02
    Offline

    myst02 Active Member

    Joined:
    Mar 23, 2015
    Posts:
    97
    Minecraft User:
    myst02
    Hi,

    how to spawn NPC on specific position with armor and perform an action on NPC tap? (Like InPVP has)
    I searched through whole forums but I didn't find how to do this.

    Can anyone help me with this problem?

    Thanks in advance!
    Jon and CraftYourBukkit like this.
  2. CrazedMiner
    Offline

    CrazedMiner Notable Member Plugin Developer

    Joined:
    Jan 31, 2015
    Posts:
    348
    Plugins:
    2
    Minecraft User:
    CrazedMinerYT
    0.11 or 0.10?

    I haven't started developing for 0.11 yet but I have the code to add them in 0.10 :p
  3. Jon
    Offline

    Jon Active Member Plugin Developer

    Joined:
    Sep 1, 2013
    Posts:
    201
    Plugins:
    3
    Minecraft User:
    Heromine14
    In 0.11.0 you need the setSkin(); or you will get the invalid skin error
  4. CrazedMiner
    Offline

    CrazedMiner Notable Member Plugin Developer

    Joined:
    Jan 31, 2015
    Posts:
    348
    Plugins:
    2
    Minecraft User:
    CrazedMinerYT
    I'm aware of this but I don't have an Android device so I'm not developing on 0.11 till it comes on iOS
  5. myst02
    Offline

    myst02 Active Member

    Joined:
    Mar 23, 2015
    Posts:
    97
    Minecraft User:
    myst02
    I would need the code for 0.10.

    Thank you!
  6. Adrian
    Offline

    Adrian Active Member

    Joined:
    Jun 26, 2014
    Posts:
    64
    Minecraft User:
    Adrian
    There is a plugin, but I don't think I can tell you where it is because it is not in the Plugin page of this website, its from another source. :(
  7. Anton Magsino
    Offline

    Anton Magsino Active Member

    Joined:
    Jan 17, 2014
    Posts:
    58
    Minecraft User:
    MinecrafterPH
    mcg76?
  8. Adrian
    Offline

    Adrian Active Member

    Joined:
    Jun 26, 2014
    Posts:
    64
    Minecraft User:
    Adrian
    Yea, but idk about the tapping part, you may have to configure it though.
  9. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,306
    Plugins:
    11
    Minecraft User:
    PEMapModder

Share This Page

Advertisement