Wow, Good Question Lol. try to use setBlock like PHP: //for setting bloch slab i think you should use:$y + 0.25 i dont know if its working or not, but this is my idea pls try it on InteractEvent and tell me Resault
$y is $player->y or $block->y and every 0.5 is the center of a block, i mean when you want to get player under block, you use $y - 0.5 and when you get $y - 0.25 or $y - 1.25 it'll get slab under player. it should work but im not sure.
Well usually settings blocks like stairs you would do Code: $player->getDirection() And by doing that you can place stairs, but whats super confusing is if you are not using $player and just cords onRun function. Ive tried $block->setDirection but that doesnt work
Figured it out PHP: $stair = BlockFactory::get(Block::BRICK_STAIRS); $stairdown = Block::get(Block::BRICK_STAIRS,1);
Bruh its not full code (i used in here) so you should know when i said $y - 0.5, $y is $player->y Lol i didnt send full code, i though you know
Ye my bad I forgot to ask about stairs aswell. Both ways work for slabs though Just something that confuses me is brick slabs