getPosition(); $down = $pos->getWorld()->getBlock($pos->getSide(Facing::DOWN)); if($down->getId() === BlockLegacyIds::AIR || $down instanceof Liquid || $down instanceof Fire){ $pos->getWorld()->setBlock($pos, VanillaBlocks::AIR()); $block = $this; if(!($block instanceof Block)) throw new AssumptionFailedError(__TRAIT__ . " should only be used by Blocks"); $fall = new FallingBlock(Location::fromObject($pos->add(0.5, 0, 0.5), $pos->getWorld()), $block); $fall->spawnToAll(); } } }