Type of entity and direction of entity

Discussion in 'Plugin Development' started by plobnob, Sep 28, 2015.

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

    plobnob

    As of current, I am facing two problems regarding entities (living, mob entities, in this case).

    Firstly, the type of an entity. I am unaware of a way to store and then reuse the type of an entity, if you understand what I am getting at. A skeleton has a type to differentiate it from being a normal skeleton or a wither skeleton. Likewise with things like horses. I am unaware of how I would set or get these things, so if anyone could help out there, that would be appreciated.

    Secondly, I am having problems with the direction an entity is facing. I don't mean simply just that as such, since I have set the NBT tag for "NoAI" to true, meaning it has no AI. When I change the pitch, it does change its head angle. However, changing the yaw does not impact anything whatsoever. I looked at some people who used the summon command in command blocks, and they seemed to think that using the NoAI tag made the direction bug out. Any ideas as to a way around this?

    Thanks,
    Plob.
     
  2. Offline

    plobnob

    Bump- Anyone got any ideas on these?

    Plob.
     
  3. Offline

    FabeGabeMC

Thread Status:
Not open for further replies.

Share This Page