Solved How to create custom shaped nether portal? (Like circle)

Discussion in 'Plugin Development' started by Quaro, Mar 12, 2014.

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

    Quaro

    How to create custom shaped nether portal? (Like circle)
     
  2. Offline

    Zarko

    set the blocks and add the nether portal blocks and voilĂ .
     
  3. Offline

    Quaro

  4. Offline

    Zarko

    You want the code or ..?
     
  5. Offline

    Quaro

    Zarko Code, because when i use worldedit to set portal blocks, its not appearing.
    I want something like this:
    [​IMG]
     
  6. Offline

    GameplayJDK

    Quaro
    To place a block you do this:
    Code:java
    1.  
    2. Location blockLocation = new Location(Bukkit.getServer().getWorld("world"), blockX, blockY, blockZ);
    3. blockLocation.getBlock().setType(Material.NETHER_PORTAL); // I don' know if it's named NETHER_PORTAL, but it should
    4.  
     
    Quaro and Zarko like this.
  7. Offline

    Quaro

    -SOLVED BY MY SELF-
    Still thanks.
     
  8. Offline

    GameplayJDK

    Quaro
    You're welcome :)
     
Thread Status:
Not open for further replies.

Share This Page