3 Development questions

Discussion in 'Plugin Development' started by TheWolfBadger, Feb 13, 2016.

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

    TheWolfBadger

    Well it's been quite a while since I've asked the Bukkit Community a question, so I guess I'll consider that a good thing lol. Anyway I have 3 questions to ask if someone can explain to me. I am currently working with armor stands and I would like to know how I would go about moving one as if it is a player/animal? I'm not sure if you can spawn armor stands in the ground and/or make smaller armor stands with the setSmall() method make the armor stand more closer to the ground? My third and last question I have is, what is a EulerAngle (how do I use it too?)?

    Thanks, Badger.
     
  2. Offline

    teej107

    You have to write some sort of AI. You can move the armorstand around by teleporting or setting velocity. An easier way would to have it ride an entity.
    You can spawn armor stands in the ground but I'm not sure if they'll break or not. Small and normal armor stands are the same distance from the ground.
    https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/util/EulerAngle.html
     
  3. Offline

    TheWolfBadger

    Best way to go about it by making it follow another player would be teleporting or setting velocity right?
     
  4. Offline

    CraftCreeper6

    @TheWolfBadger
    Without changing NavMesh and creating Custom Entity Classes (Modding)
     
  5. Offline

    mcdorli

    They're entities, they can't break.
     
  6. Offline

    I Al Istannen

    @TheWolfBadger If an armorstand is too deep in the ground it will turn completly black and take every item in possess in the shadow (lightning in minecraft...). So that is something to be aware of.
     
  7. Offline

    TheWolfBadger

    I figured all this out, now the only thing I can't figure out is the fact that the player head is not being shown as it should?... I even have theee right code for the skull
     
  8. Offline

    Konato_K

    I've seen before that you can set an offset in Minecarts for the rideable entities in them (whether they should show higher or lower instead of the normal height when you're in it), I believe you can apply this to any entity.
     
  9. Offline

    TheWolfBadger

    I already figured this part out.
    I'm trying to figure this out:
     
  10. Offline

    Konato_K

Thread Status:
Not open for further replies.

Share This Page