forked from mirrors/kolyah35-minecraft-pe-0.6.1
Massive Java Parity Update - fileshredder
3D/Fancy Clouds have been ported over Sky Rendering is now an option between Java and PE Java Sky/Fog color option is now accurate using the original color ramp instead of PE's slightly lower one Grass Sides are now tinted, and can be toggled in settings Added stars, the sun, and the moon in the daylight cycle Sunset color has been added, appears when the sun is rising or falling, buggy on PE's sky rendering option. Fixed leaves being rendered bright green when foliage tinting was turned off. Enabled Tall Grass generation code Tall Grass is now tinted. Other compile options have to be tested
This commit is contained in:
parent
d6a3e477c1
commit
31d80aedf8
23 changed files with 864 additions and 357 deletions
|
|
@ -10,6 +10,7 @@
|
|||
#include "../level/tile/ClothTile.h"
|
||||
#include "../level/tile/CropTile.h"
|
||||
#include "../level/tile/StemTile.h"
|
||||
#include "../level/tile/TallGrass.h"
|
||||
|
||||
const std::string DyePowderItem::COLOR_DESCS[] = {
|
||||
"black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
|
||||
|
|
@ -91,9 +92,9 @@ bool DyePowderItem::useOn( ItemInstance* itemInstance, Player* player, Level* le
|
|||
continue;
|
||||
|
||||
if (level->getTile(xx, yy, zz) == 0) {
|
||||
/*if (random.nextInt(10) != 0) {
|
||||
level->setTileAndData(xx, yy, zz, Tile::tallgrass.id, TallGrass.TALL_GRASS);
|
||||
} else*/ if (random.nextInt(3) != 0) {
|
||||
if (random.nextInt(10) != 0) {
|
||||
level->setTileAndData(xx, yy, zz, Tile::tallgrass->id, TallGrass::TALL_GRASS);
|
||||
} else if (random.nextInt(3) != 0) {
|
||||
level->setTile(xx, yy, zz, Tile::flower->id);
|
||||
} else {
|
||||
level->setTile(xx, yy, zz, Tile::rose->id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue