Entity Through Portal Event

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

  1. Offline

    rmb938

    My BukkitDev Profile
    My Plugins (0)
    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
     
  2. Offline

    fireblast709

    My BukkitDev Profile
    My Plugins (3)
    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

    My BukkitDev Profile
    My Plugins (0)
    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.
     

Share This Page