#Blocks
1 messages · Page 1 of 1 (latest)
All locations in the game are always a block, and their identity as a block is a "permutation."
So you'd just (example using location 0,0,0)
const overworld = world.getDimension("overworld");
try{
const block = overworld.getBlock({x: 0, y: 0, z: 0});
block.setPermutation(BlocKPermutation.resolve("minecraft:air"));
}catch(chunkError){}