What method is used to find the block a wall sign is located on? I've tried using Sign s; but I don't know how to initialize it.
First you need to do some sort of check to make sure your sign is a block. You can check the material, the id, whatever floats your boat. Then you can cast the Block's BlockState (Block.getState()) to a Sign. Example: Code: Block b = someBlockOfYourChoice; if (b.getState() instanceof Sign) { Sign s = (Sign) b.getState(); //Do what you want with your sign. }