Skip to content

Commit

Permalink
added more upper rooms
Browse files Browse the repository at this point in the history
  • Loading branch information
NewJumper committed Aug 1, 2023
1 parent 931862c commit 6d90a3e
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// 1.20.1 2023-07-31T20:45:38.5633718 Registries
// 1.20.1 2023-07-31T20:47:55.9543437 Registries
68170e4100ca5f0c7910e05fe8b65978b67d7214 data/deeperdarker/dimension_type/otherside.json
8b58be914958ee5f1e91cc71c77770e71e78fe6d data/deeperdarker/worldgen/biome/deeplands.json
6d1c80cd2ba63b4ea42e3be82941c8f7ec9a8cfd data/deeperdarker/worldgen/biome/echoing_forest.json
Expand Down Expand Up @@ -83,4 +83,4 @@ fd0123d46886c3b1f663646f0c6a4ce34fc97641 data/deeperdarker/worldgen/template_poo
3a4cebd37b0a138ef1be1a09b2f199037622c535 data/deeperdarker/worldgen/template_pool/ancient_temple/starts.json
ef744a437f4e1d046bf7a5e5c23e5f19b6e8b1f2 data/deeperdarker/worldgen/template_pool/ancient_temple/upper.json
9d456dd681ac7a240ce702c765a3ece97c7c5bb8 data/deeperdarker/worldgen/template_pool/ancient_temple/upper/corners.json
f85b8e6b813eeea1c9d2f3930ddc8754c632f146 data/deeperdarker/worldgen/template_pool/ancient_temple/upper/rooms.json
da7f5ecfc416f201fd292ddfdc1a68eb082f3175 data/deeperdarker/worldgen/template_pool/ancient_temple/upper/rooms.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,33 @@
"projection": "rigid"
},
"weight": 1
},
{
"element": {
"element_type": "minecraft:single_pool_element",
"location": "deeperdarker:ancient_temple/upper/rooms/room_1",
"processors": "deeperdarker:ancient_temple_degradation",
"projection": "rigid"
},
"weight": 1
},
{
"element": {
"element_type": "minecraft:single_pool_element",
"location": "deeperdarker:ancient_temple/upper/rooms/room_2",
"processors": "deeperdarker:ancient_temple_degradation",
"projection": "rigid"
},
"weight": 1
},
{
"element": {
"element_type": "minecraft:single_pool_element",
"location": "deeperdarker:ancient_temple/upper/rooms/room_3",
"processors": "deeperdarker:ancient_temple_degradation",
"projection": "rigid"
},
"weight": 1
}
],
"fallback": "minecraft:empty"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public static void bootstrap(BootstapContext<StructureTemplatePool> context) {
context.register(createKey("ancient_temple/basement/stairs"), new StructureTemplatePool(empty, ImmutableList.of(Pair.of(location("ancient_temple/basement/stairs/staircase_0", degradation), 2), Pair.of(location("ancient_temple/basement/stairs/staircase_1", degradation), 2), Pair.of(location("ancient_temple/basement/stairs/staircase_2", degradation), 1), Pair.of(location("ancient_temple/basement/stairs/staircase_3", degradation), 1), Pair.of(location("ancient_temple/basement/stairs/staircase_4", degradation), 1), Pair.of(location("ancient_temple/basement/stairs/staircase_5", degradation), 1)), StructureTemplatePool.Projection.RIGID));
context.register(createKey("ancient_temple/upper"), new StructureTemplatePool(empty, ImmutableList.of(Pair.of(location("ancient_temple/upper/fountain_0", degradation), 1), Pair.of(location("ancient_temple/upper/fountain_1", degradation), 1), Pair.of(location("ancient_temple/upper/fountain_2", degradation), 1), Pair.of(location("ancient_temple/upper/apex", degradation), 1)), StructureTemplatePool.Projection.RIGID));
context.register(createKey("ancient_temple/upper/corners"), new StructureTemplatePool(empty, ImmutableList.of(Pair.of(location("ancient_temple/upper/corners/corner_0", degradation), 1), Pair.of(location("ancient_temple/upper/corners/corner_1", degradation), 1), Pair.of(location("ancient_temple/upper/corners/corner_2", degradation), 1), Pair.of(location("ancient_temple/upper/corners/corner_3", degradation), 1), Pair.of(location("ancient_temple/upper/corners/corner_4", degradation), 1), Pair.of(location("ancient_temple/upper/corners/corner_5", degradation), 1), Pair.of(location("ancient_temple/upper/corners/corner_6", degradation), 1)), StructureTemplatePool.Projection.RIGID));
context.register(createKey("ancient_temple/upper/rooms"), new StructureTemplatePool(empty, ImmutableList.of(Pair.of(location("ancient_temple/upper/rooms/room_0", degradation), 1)), StructureTemplatePool.Projection.RIGID));
context.register(createKey("ancient_temple/upper/rooms"), new StructureTemplatePool(empty, ImmutableList.of(Pair.of(location("ancient_temple/upper/rooms/room_0", degradation), 1), Pair.of(location("ancient_temple/upper/rooms/room_1", degradation), 1), Pair.of(location("ancient_temple/upper/rooms/room_2", degradation), 1), Pair.of(location("ancient_temple/upper/rooms/room_3", degradation), 1)), StructureTemplatePool.Projection.RIGID));
}

public static Function<StructureTemplatePool.Projection, SinglePoolElement> location(String name, Holder<StructureProcessorList> processor) {
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 6d90a3e

Please sign in to comment.