Minecraft wiki entry for Funky_Portal, associated text: The funky portal block cannot be obtained as an item even by using the /give command. The funky portal block can be placed using commands such as /fill or /setblock and is generated when throwing a book into a nether portal. Using /setblock ~ ~ ~ neither_portal sets the block and give it randomized block data as to its destination dimension.