Solved Ender portal fence?

Discussion in 'Plugin Development' started by mine-care, Sep 21, 2014.

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

    mine-care

    Hello fellow developers, today I saw in a server a potal to the nether in the shape of a single fence, it was like when you place one wooden fence for instance it becomes like tht. Soo I wonder code side, how is that possible? (I was not using recource pack or anything)

    Thanks in advance.
     
  2. Offline

    rbrick

    new ItemStack(Material.PORTAL, 1, (short) 3)
    That would get the item stack.
    You can also set a block to the portal material and set the data to 3
     
    mine-care likes this.
  3. Offline

    mine-care

Thread Status:
Not open for further replies.

Share This Page