Heylo Everyone. I Need A Simple Code To Change The Oak Leaves To A Maple Color Or Crimson Red. The Last Time I Accidentally Make The Oak Leave Color To Pink , Its Was Like A Year Ago So I Dont Have The Code .. I Will Appreciate Your Help.
Itd Is Possible To Make A Code For It? Like When A Plugin OnLoad It Will Set The Biome To Specific Color.
Try to take a look at this: https://github.com/shoghicp/PaintMyLawn/blob/master/src/shoghicp/PaintMyLawn/Main.php
PHP: $minX = 100;$minZ = 100;$maxX = 128;$maxZ = 128;$c = [146, 188, 89]; //default biome grass color$level = <yourLevelObject>;for($x = $minX; $x <= $maxX; $x++){for($z = $minZ; $z <= $maxZ; $z++){$level->setBiomeColor($x, $z, $c[0], $c[1], $c[2]);}} Keep in mind that the biome color does not get changed for you directly, you need to rejoin to see the changes.