Under or above.

Discussion in 'Plugin Development' started by HyrulesLegend, Dec 16, 2013.

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

    HyrulesLegend

    How would I get the Entitys(Players) above or a below where a portal is placed (Im currently working with PlayerInteractEvent).
     
  2. Offline

    mrkirby153

    Max_The_Link_Fan

    What kind of portal? Nether?

    EDIT: When developing plugins "Portal" is sort of a general term :)
     
  3. Offline

    HyrulesLegend

    Sorry, I was referring to the single portal item. I'm calling PlayerInteractEvent when the Player is placing a single portal block.
     
  4. Offline

    mrkirby153

    Max_The_Link_Fan

    I would think if you are just checking within the x and z axis that you placed the block in, run a loop that checks for entities starting at 0 (Bedrock) and ending at 256 or so (Max Build height)
     
Thread Status:
Not open for further replies.

Share This Page