Entity Through Portal Event

Discussion in 'Plugin Development' started by rmb938, Nov 8, 2012.

  1. Offline

    rmb938

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Does anyone know the event that gets triggered when an entity goes through a nether portal? I tried EntityPortalEnterEvent but that gets triggered before they are teleported.

    I am thinking I have to use EntityTeleportEvent and check if they are going through a portal or something. If anyone can let me know that would be great :D

    Update: EntityTeleportEvent does not seem to get triggered when going through a portal

    This post has been edited 1 time. It was last edited by rmb938 Nov 8, 2012.
  2. Offline

    fireblast709

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Then there is no real event yet. It might appear later in the development
  3. Offline

    rmb938

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Alright. Seems it would of already been added since it should be pretty much identical to the PlayPortalEvent.

    Also the beta build they stated entities through portals is disabled but it still works.

    This post has been edited 1 time. It was last edited by rmb938 Nov 8, 2012.

Share This Page