@@ -105,31 +105,31 @@ public Random getRandom(ChunkCoord coord) {
105
105
private void placeTree ( int x , int y , int z ) {
106
106
var world = generator . world ;
107
107
// tree
108
- for ( int i = 0 ; i <= 6 ; i ++ ) {
108
+ for ( int i = 0 ; i <= 7 ; i ++ ) {
109
109
world . setBlock ( x , y + i , z , Blocks . MAPLELOG . id ) ;
110
110
}
111
111
// leaves, bottom
112
- world . setBlock ( x - 1 , y + 3 , z , Blocks . MAPLELEAVES . id ) ;
113
- world . setBlock ( x + 1 , y + 3 , z , Blocks . MAPLELEAVES . id ) ;
114
- world . setBlock ( x , y + 3 , z - 1 , Blocks . MAPLELEAVES . id ) ;
115
- world . setBlock ( x , y + 3 , z + 1 , Blocks . MAPLELEAVES . id ) ;
116
- world . setBlock ( x - 1 , y + 6 , z , Blocks . MAPLELEAVES . id ) ;
117
- world . setBlock ( x + 1 , y + 6 , z , Blocks . MAPLELEAVES . id ) ;
118
- world . setBlock ( x , y + 6 , z - 1 , Blocks . MAPLELEAVES . id ) ;
119
- world . setBlock ( x , y + 6 , z + 1 , Blocks . MAPLELEAVES . id ) ;
112
+ world . setBlock ( x - 1 , y + 4 , z , Blocks . MAPLELEAVES . id ) ;
113
+ world . setBlock ( x + 1 , y + 4 , z , Blocks . MAPLELEAVES . id ) ;
114
+ world . setBlock ( x , y + 4 , z - 1 , Blocks . MAPLELEAVES . id ) ;
115
+ world . setBlock ( x , y + 4 , z + 1 , Blocks . MAPLELEAVES . id ) ;
116
+ world . setBlock ( x - 1 , y + 7 , z , Blocks . MAPLELEAVES . id ) ;
117
+ world . setBlock ( x + 1 , y + 7 , z , Blocks . MAPLELEAVES . id ) ;
118
+ world . setBlock ( x , y + 7 , z - 1 , Blocks . MAPLELEAVES . id ) ;
119
+ world . setBlock ( x , y + 7 , z + 1 , Blocks . MAPLELEAVES . id ) ;
120
120
// leaves, thick
121
121
for ( int x1 = - 1 ; x1 <= 1 ; x1 ++ ) {
122
122
for ( int z1 = - 1 ; z1 <= 1 ; z1 ++ ) {
123
123
// don't overwrite the trunk
124
124
if ( x1 == 0 && z1 == 0 ) {
125
125
continue ;
126
126
}
127
- for ( int y1 = 4 ; y1 <= 5 ; y1 ++ ) {
127
+ for ( int y1 = 5 ; y1 <= 6 ; y1 ++ ) {
128
128
world . setBlock ( x + x1 , y + y1 , z + z1 , Blocks . MAPLELEAVES . id ) ;
129
129
}
130
130
}
131
131
}
132
132
133
- world . setBlock ( x , y + 7 , z , Blocks . MAPLELEAVES . id ) ;
133
+ world . setBlock ( x , y + 8 , z , Blocks . MAPLELEAVES . id ) ;
134
134
}
135
135
}
0 commit comments