Creating a new mob?

Discussion in 'Plugin Development' started by MinerPiggeh, Apr 21, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    MinerPiggeh

    Is it possible to create a new mob within the Bukkit API and give the mob a player skin? If not is it possible to create a zombie with his hands down? Like a normal player.
     
  2. Offline

    chasechocolate

    I guess you could create a player NPC and give it the behavior of a zombie.
     
  3. I would do what chasechocolate suggested. But isn't the hand stuff client sided? Since the arms don't move I don't see a reason why bukkit would tell the client about it...correct me if I'm wrong.
     
  4. Offline

    bellegueule

    yes i think its client side too but its the server who tell to the zombie to actt like a zombie zombie, so if you copy the zombie class for your NCP class you should be able to disable the arm animation

    but am maybe completly wrong, am new in the bukkit world :p
     
  5. Offline

    WiseHollow

    I'm also very interested in this :) Now just gotta figure out how to make a player npc with zombie behavior.
     
  6. Yes fcourse, but he asked for a zombie with "normal" arms...
     
  7. Offline

    bellegueule

    CaptainBern he ask a zombie with normal arm or with normal arm "animation"?

    Edit: maybe its me but when a zombie is not moving his arm are not raise.
     
  8. Correct me if I'm wrong but I think he is asking for a way to let zombies put their arms down. If I'm informed correctly all animations are client sided what also means the arms are, you say then don't raise their arms when they aren't moving? Weird, I never saw a zombie with his arms not raised....
    If I was him I would just search for a player who has a zombie skin, or even change mine to one and create an npc of my character and use that.
     
  9. Offline

    bellegueule

    maybe the zombie dont have any other position for there arm , but what prevent him to use the zombie class for the IA, but importing a skin for its own? if each player can have a custom skin, i dont know why we cant use one for an NPC,

    and since i dont have any knowlage about minecraft plugin developpement, i will stop posting, cuz i trying to help with my logic sens, but its maybe more confusing than something else,

    regards,

    Bellegueule
     
  10. AI*, And no, we can't give players a custom skin, not without spout. And yes using the zombie ai on an npc is the most logic way...In my answer I just said that repositioning the arms is impossible..

    Regards,
    CaptainBern

    What do you think? That we can create an npc and say: Here ya go npc, take this skin! No, we can't, first of all, a npc is a player based character (the npc's we are talking about), so when we create one, we have to give it a playername, if the name excist then it will show the clients the npc with the original player's skin, if it doesnt excist it will be just Steve. Now I suggest you to stop this please, obviously you have no idea how it works . Like you see here: http://forums.bukkit.org/threads/npcspawner-lib-spawn-basic-npcs.3298/ the npc: Npc-Test is not a registered player so it's skin is Steve, but as you can see npc Jimpi has a skin so that means there is a registered player named Jimpi...

    Kind regards

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 1, 2016
Thread Status:
Not open for further replies.

Share This Page