Skip to content

Commit 9804fb0

Browse files
committed
Add end_pillars to main_end & modified shattered_end
1 parent 2a866f3 commit 9804fb0

12 files changed

+39
-80
lines changed

biomes/end/main_end.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@ terrain:
5050
features:
5151
trees:
5252
- MAIN_PILLARS
53-
53+
5454
palette:
5555
- BLOCK:minecraft:end_stone: 319

biomes/end/shattered_end.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,4 @@ palette:
99

1010
features:
1111
trees:
12-
- SHATTERED_PILLARS
13-
- DRAGON_PILLARS
12+
- SHATTERED_PILLARS

features/end/vegetation/trees/chorus_trees.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ type: FEATURE
44
distributor:
55
type: PADDED_GRID
66
width: 6
7-
padding: 8
8-
salt: 2677
7+
padding: 2
8+
salt: 7639
99

1010
locator:
1111
type: AND

features/end/vegetation/trees/dragon_pillars.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

features/end/vegetation/trees/main_pillars.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ distributor:
88
sampler:
99
type: EXPRESSION
1010
expression: |
11-
max(circle(centerRadius, x+noise(x,z)-1, z+noise(x,z)-1, 1),circle(centerRadius-50, x+noise(x,z)-1, z+noise(x,z)-1, 0.5))
11+
max(circle(centerRadius, x+noise(x,z)-1, z+noise(x,z)-1, 1),circle(centerRadius-70, x+noise(x,z)-1, z+noise(x,z)-1, 0.5))
1212
variables:
1313
centerRadius: ${meta.yml:biome-distribution.main-end-scale}
1414
buffer: ${meta.yml:biome-distribution.void-buffer-scale}
@@ -49,6 +49,6 @@ structures:
4949
distribution:
5050
type: WHITE_NOISE
5151
structures:
52-
- small_shattered_pillar: 10
53-
- medium_shattered_pillar: 4
54-
- large_shattered_pillar: 2
52+
- shattered_pillar: 150
53+
- end_pillar: 2
54+
- leaning_end_pillar: 1

features/end/vegetation/trees/shattered_pillars.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ structures:
3131
distribution:
3232
type: WHITE_NOISE
3333
structures:
34-
- small_shattered_pillar: 10
35-
- medium_shattered_pillar: 4
36-
- large_shattered_pillar: 2
34+
- shattered_pillar: 150
35+
- end_pillar: 2
36+
- leaning_end_pillar: 1

structures/end/trees/pillars/dragon_pillar.tesf renamed to structures/end/trees/pillars/end_pillar.tesf

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,14 @@ num randPrecision = 100;
22

33
num height = 40 + randomInt(30);
44
num yTranslate = -20;
5-
num radius = 5;
5+
num radius = 4+randomInt(2);
66

77
for(num y = yTranslate; y <= height+yTranslate; y = y + 1) {
88
for(num x = -radius; x <= radius; x = x + 1) {
99
for(num z = -radius; z <= radius; z = z + 1) {
1010
if (pow(x,2)+pow(z,2) < pow(radius,2)) {
1111
block(x, y, z, "minecraft:obsidian", false);
12-
}
13-
12+
}
1413
}
1514
}
1615
}

structures/end/trees/pillars/large_shattered_pillar.tesf

Lines changed: 0 additions & 15 deletions
This file was deleted.

structures/end/trees/pillars/medium_shattered_pillar.tesf

Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
num height = 7+randomInt(5);
2+
num random = randomInt(21);
3+
num r = 0.5;
4+
5+
if (random >= 20) {
6+
r = 1.2;
7+
height = 12+randomInt(9);
8+
} else if (random >= 16) {
9+
r = 0.5;
10+
height = 7+randomInt(5);
11+
} else if (random >= 0) {
12+
r = 0.1;
13+
height = 7+randomInt(7);
14+
}
15+
16+
for (num y = -5+randomInt(3); y <= height ; y = y + 1) {
17+
for (num x = -r; x <= r; x = x + 1) {
18+
for (num z = -r; z <= r; z = z + 1) {
19+
block(x, y, z, "minecraft:obsidian");
20+
}
21+
}
22+
23+
}
24+
25+
if (randomInt(10) == 0 && r != 0.5) entity(0, height+2, 0, "minecraft:end_crystal");
26+

structures/end/trees/pillars/small_shattered_pillar.tesf

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)