I have an area which is like 20x20 wide, how can I set 50% blocks of stone and 50% blocks of diamond block in that area?
Do you want to set the blocks in random places in the area or like... the left half of the area be filled with stone and the right half be filled with diamond?
https://github.com/LegendOfMCPE/Wor...on/Changer/Picker/RandomLinearBlockPicker.php https://github.com/BlockHorizons/li.../src/sofe/libgeom/shapes/CuboidShape.php#L176
I don't get this https://github.com/LegendOfMCPE/Wor...on/Changer/Picker/RandomLinearBlockPicker.php where are the blocks being set and where are the percentages? It just say array rand
BlockPicker->feed() provides Block objects to be set. Shape->getSolidStream() provides a generator that yields true when the given Vector3 object is a valid position.