If you have the Player variable, try this code: Code: import org.bukkit.World; //everything in between Location loc = player.getLocation(); World world[] = getServer().getWorlds(); Block blocktoset = world[0].getBlockAt(loc.getX(),loc.getY(),loc.getZ()); blocktoset.setTypeId(id);
There are no empty spaces in minecraft. Blocks you can't see are most likely air blocks (TypeId = 0). So just get the (already existing) block at the players position (with getBlockAt) and change the TypeId of it to whatever you want. €dit: I think you have to convert the double from getX()/getY()/getZ() to int !? (Haven't tried, just something that came into my mind) Cake