I use Netbeans, too
ev.getBlock(); String line0 = sign.getLine(0); Sign sign = (Sign) ev.getBlock().getState(); String line0 = sign.getLine(0); [...]...
Try it with the onEntityTargetEvent. Something like: if ((event.getTarget instanceof Player) && (event.getEntity instanceof Wolf))...
??? It's for Netbeans and you don't have to use xterm or gnome-terminal...
In Netbeans, it's pretty simple. If you want a copy to your plugins folder, you only have to add <target name="-post-jar"> <copy...
Try something with this function:...
Location loc1 = player.getEyeLocation(); Location loc2 = block.getLocation(); loc2.setY(loc2.getBlockY()+2); loc2.setX(loc2.getBlockX()+0.5);...
BlockState state = block.getState(); Sign sign = null; if (state instanceof Sign) sign = (Sign) state; This gives you the sign object. You can...
Separate names with a comma.