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

[New API] yaw and pitch and type

Comments in 'Plugin Development' started by swagboy47, Jun 28, 2014.

  1. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    Fix your grammar please.
  2. swagboy47
    Offline

    swagboy47 Active Member

    Joined:
    Jun 10, 2014
    Posts:
    445
    Minecraft User:
    swagking
    like can you put for every mob i well spawn the same eid ? because i am not can move every and each mob
  3. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    Sorry for the delay. I just spent 30 minutes teaching my grandfather remotely via phone call how to send photos by whatsapp. :D

    Anyway, no. As I said, an entity has a UNIQUE ID. Therefore, every time you add an entity, get it by:
    PHP:
    $eid Entity::$entityCount++;
    And make sure each entity has its sole unique eid registered by the above method, and different entities have different ones, since you are going to reuse that next time.
    swagboy47 likes this.

Share This Page

Advertisement