event.load("bucket_use"); block_to_destroy = "minecraft:lava";// < wichtig lava_max = 200;// < wichtig @wait wait(); if(player.getName(player) == "SirTerence7"){//---------------- wichtig > if(has_block){ if(block_type == block_to_destroy){ lava.get(block_loc); } }//----------------------------------------------------------- < } goto("wait"); //------------------------------------------------------------ das auch >> function lava.get(block_loc){ lava_counter = 0; $lava_locs = list.new(); list.add($lava_locs, block_loc); while(list.getSize($lava_locs) != 0){ block_loc = list.getIndex($lava_locs, 0); list.removeIndex($lava_locs, 0); lava.add_lava(loc.mod(block_loc,1,0,0)); lava.add_lava(loc.mod(block_loc,-1,0,0)); lava.add_lava(loc.mod(block_loc,0,1,0)); lava.add_lava(loc.mod(block_loc,0,-1,0)); lava.add_lava(loc.mod(block_loc,0,0,1)); lava.add_lava(loc.mod(block_loc,0,0,-1)); lava_counter++; if(lava_counter > $lava_max - 1) { break; } } } function lava.add_lava(temp_loc){ if(block.getType(temp_loc) == $block_to_destroy){ list.add($lava_locs, temp_loc); block.set(temp_loc, "minecraft:air"); } }