As part of a larger program i need to read the text of a wall sign but i can't figure it out, the only parr i have is the Block. private static void requestLine(Block block){ } ps: i'm still learning java, i'm more a php-writer
Code: BlockState state = block.getState(); Sign sign = null; if (state instanceof Sign) sign = (Sign) state; This gives you the sign object. You can find the rest here: http://javadoc.lukegb.com/Bukkit/db/d26/interfaceorg_1_1bukkit_1_1block_1_1Sign.html