From d48a9bd58b991177489f6d1413b4e543b4433ee4 Mon Sep 17 00:00:00 2001 From: Sollace Date: Wed, 30 Aug 2023 21:35:05 +0100 Subject: [PATCH] Add the altar to world generation --- .../unicopia/structures/altar/center_1.nbt | Bin 0 -> 882 bytes .../structures/altar/pillar/pillar_0.nbt | Bin 0 -> 271 bytes .../structures/altar/pillar/pillar_1.nbt | Bin 0 -> 270 bytes .../structures/altar/pillar/pillar_2.nbt | Bin 0 -> 272 bytes .../structures/altar/pillar/pillar_3.nbt | Bin 0 -> 272 bytes .../structures/altar/pillar/pillar_4.nbt | Bin 0 -> 270 bytes .../structures/altar/pillar/pillar_5.nbt | Bin 0 -> 272 bytes .../structures/altar/pillar/pillar_6.nbt | Bin 0 -> 259 bytes .../unicopia/worldgen/structure/altar.json | 15 ++++ .../worldgen/structure_set/altars.json | 14 +++ .../worldgen/template_pool/altar.json | 16 ++++ .../worldgen/template_pool/altar_pillar.json | 82 ++++++++++++++++++ 12 files changed, 127 insertions(+) create mode 100644 src/main/resources/data/unicopia/structures/altar/center_1.nbt create mode 100644 src/main/resources/data/unicopia/structures/altar/pillar/pillar_0.nbt create mode 100644 src/main/resources/data/unicopia/structures/altar/pillar/pillar_1.nbt create mode 100644 src/main/resources/data/unicopia/structures/altar/pillar/pillar_2.nbt create mode 100644 src/main/resources/data/unicopia/structures/altar/pillar/pillar_3.nbt create mode 100644 src/main/resources/data/unicopia/structures/altar/pillar/pillar_4.nbt create mode 100644 src/main/resources/data/unicopia/structures/altar/pillar/pillar_5.nbt create mode 100644 src/main/resources/data/unicopia/structures/altar/pillar/pillar_6.nbt create mode 100644 src/main/resources/data/unicopia/worldgen/structure/altar.json create mode 100644 src/main/resources/data/unicopia/worldgen/structure_set/altars.json create mode 100644 src/main/resources/data/unicopia/worldgen/template_pool/altar.json create mode 100644 src/main/resources/data/unicopia/worldgen/template_pool/altar_pillar.json diff --git a/src/main/resources/data/unicopia/structures/altar/center_1.nbt b/src/main/resources/data/unicopia/structures/altar/center_1.nbt new file mode 100644 index 0000000000000000000000000000000000000000..d7d936e5a35af8781578b2578d52e974f62c7bdb GIT binary patch literal 882 zcmb2|=3oGW|95BJ^}Ayr;FkV)eu}u_s<2wgb=9$7S8YFWTFQX8aEipjZ@j;3Y7eHJ zu6r}BZRWzgx0DoFEWe%k`R0blZl$P6vX{4KbY%SAJ7?eBZ_g*qx-m5*NT##S_QPwl z_&Uk(%lh`yQhwPaU1*ZqujQPlv+&5>4$EU25~~yDG=1a=emkSJ>EWIO1#t-$`UZ2v zC3?fp8n`{=Yb$0yytDb?or4AM5-iFM=IjpLfyA?xI48^V{GA9y4#IADu|tmSiOPf1*QVna|$1ZUiXo~Dgl$2ecBUft9c z6&83}Gt1IdclnB^qS=gYw~{a2V^Dr;xcEl0+s5NPN&TK%4-{lGwncLr+=&WV|6$TS z?vtlA_VgTr5L#8+y5_B2l)n1KO|7c3u6c78r7wSRQxnA8`)Kb6F8%c%K7k3K&T|?k zR|j5Mbobwca~iAXEKi$pv@cRaVx7FfovOx%*SLAM0|OHnX4PAhml(&KV(%$A=l!!` z;<-vqd4o%q>(9FH;$Bj7z~g)C6n=@9`zCy1Jp7co?euZ2I|n_!_dVfr+f}YoZg449 zbEh>hFkk+g1QMSP5-(OQ_y4q$vF$X_NPaJ%k?$NqM%u18+iq>1B7AgIv>jHE!H33;<+$;g_m^I=K6x!>yCf8 zFkyb$&c4=j^VI6*6g{&Ss7lM~zjjD|E34hw1^*8{`jAuTp8hZ$D6;nG!>B9n=@-w; z2|T`CY{Q5Bkvc2iIZJzY-tM0?d*#Xg+t1Qp3D4Vm+dliVTAyn9$CnRZ{!8>Yd}oH? zegA0-Z~Jhrv*X>_fB0MRTg?WWB{zKMF0~Qe{a$~U&6L^8HUAliANQa7ud2qjw?9$m jzri2HO^12s)^MoS^c~(I>$v>>OZ6#>uVykSFfafBWCY1u literal 0 HcmV?d00001 diff --git a/src/main/resources/data/unicopia/structures/altar/pillar/pillar_0.nbt b/src/main/resources/data/unicopia/structures/altar/pillar/pillar_0.nbt new file mode 100644 index 0000000000000000000000000000000000000000..4bd8067a61ec3ac3da251263024fddb5018e083a GIT binary patch literal 271 zcmV+q0r37GiwFP!00000|BX>iPXaLzeXxMtB?jZozrxwG@#K}vE(00twoN;R;6LzR z+eToMg@a8dP5VCjrqcj5W=X!e0#Is_YgYCehMkHECzMrV(OTbqrlv4zRKcf<2xnnF z%#)JxSuy5J|G}w7oCz9Ku2qBi!HZLv=&hyJvcb$z&scpq>3k4c2gyjx_rZIMRWFXa zNIP9~AM|9f+=(N*`Lli=VBaR$3OR$RZ1FSz2iYe&8Z4CJp7qA^PJWE?Pc!EskY!aa zUsvULZzcAf_i@2q2CR!Gar@1c(x7>dK5#6P$u0RPc}}F_9qO$=x(!p(tJ6(0IotA; Vls-77qQT=2egV9d=L81=006T=gOvaP literal 0 HcmV?d00001 diff --git a/src/main/resources/data/unicopia/structures/altar/pillar/pillar_1.nbt b/src/main/resources/data/unicopia/structures/altar/pillar/pillar_1.nbt new file mode 100644 index 0000000000000000000000000000000000000000..1930aa0721ae94af90669782794b63405159faff GIT binary patch literal 270 zcmV+p0rCDHiwFP!00000|7}rCYXUJ4eY$G1E5*`V|BC0HOHaMZ>^jP5HVMfTvHzg| zx(QVmTmwT$-bdbK8lc83$q!cmN=$_uW3Zq69e7cHo5$3}@ zDJfqR_nhe+XYznkjeHtZu2qBi!HZLv=&hyJvcb$z&scps>3k4c2gyjx_rZIMRWFXa zNIP9~AM|Xn+=(N*`L})@VBaR$3OR$RZ1FMx2iYe&87!3Io^@pTAV2Q%Pc!E!kY!aa zUsvULA0_sK_i@GE2CR!`ar@1U(xCZ_K5#6P$u0RPc}}F_9qO$=xeZg&o71S7oNf6| UN?#mP(ct+Pet<8 literal 0 HcmV?d00001 diff --git a/src/main/resources/data/unicopia/structures/altar/pillar/pillar_2.nbt b/src/main/resources/data/unicopia/structures/altar/pillar/pillar_2.nbt new file mode 100644 index 0000000000000000000000000000000000000000..d334c1a150ef6ecee58516727f11b24e31622274 GIT binary patch literal 272 zcmV+r0q_1FiwFP!00000|7}rCZ^AGPebBQ|E_VaNPDO!HZLv=&hyBvO(?W$XI_l>3tB|1j$Iu|G|5U^-&!6 zk#@S_W6-m~YA25D_RsqH3i~d}Amj|@GT`Y79Auy9WUy30*-UQ9N6C9474Ogt{^YhyN&hWwn#tK# WucY+BF%=CSfA9;NOb*Bg0ssIqD~ve+ literal 0 HcmV?d00001 diff --git a/src/main/resources/data/unicopia/structures/altar/pillar/pillar_3.nbt b/src/main/resources/data/unicopia/structures/altar/pillar/pillar_3.nbt new file mode 100644 index 0000000000000000000000000000000000000000..38bab0b9f0467f385fa6f4b3835ce9cfd09c6fc9 GIT binary patch literal 272 zcmV+r0q_1FiwFP!00000|BX>iYXUJ4eeSL{yHYH@^{;sDx%AYl%&w!1#v~+D#QuZ+ z>n7B#pdK0+Lh?R%Gt&Vrnj~Lb11L4g)s(x1VW*c71x~VADsG%GeL*i^=dHPd2tF8y|vU^HfS6j7>iFQgAYQ>AQ_4IKX`AkIEdpR z(ngnj2zoM@Z^V&Z{aQa?VBaTM3ps;I)_A%AJJ}{W8qAd9mi5N+PJUeFuQKN$kY!aa zqpNegw-Wp1;x)vRxb13;fst}2VxC6#9(~|gHj`WOQSzQh#XGcXe{?IRq<^jP5HVMfTvHzg| zx(QVmTmwT$-bdbK8lc83$q!cmN=$_uW3Zq69e7cHo5$3}@ zDJfqR_nhe+XYznkjW`V|*Q&w%;KeCS^wv^q*Hdp&pNVvkRNyXrQ|E_VaNPDO!UdC zBkgp<$Dn6})lMAQ?Vt7Y74}_{LC6`*Wx&%FILJQH$zZ7z_pCRTck*MBf1WuHfh?1-o_Y;ydlNR1B_VAI?H}~7 zD^Zs~oI?eRkmj+YRSPs&Ci&tTK&eHpW!W1Tb}A~IP*#I=XMKN8ZDBO1gHL}VOu~Fv zB_-uaam%Ux!Kr7Q7PaftV0H516efCWsk3abbTl%yA5MB7gmytP67zlV-eNn7<37?s zcRU9DG}s)(k=_4VKVMDNyoBWH+c?e`#mCNX= z9PhQnzSBQHwS9{|a4cibd3}`p38dm3n!#V(o+;%KOct}Gx$)+Ol-@a}qQT=gegKOp JHKODJ003Q@ck=)M literal 0 HcmV?d00001 diff --git a/src/main/resources/data/unicopia/worldgen/structure/altar.json b/src/main/resources/data/unicopia/worldgen/structure/altar.json new file mode 100644 index 00000000..ce10c242 --- /dev/null +++ b/src/main/resources/data/unicopia/worldgen/structure/altar.json @@ -0,0 +1,15 @@ +{ + "type": "minecraft:jigsaw", + "biomes": "#minecraft:has_structure/village_desert", + "max_distance_from_center": 80, + "project_start_to_heightmap": "WORLD_SURFACE_WG", + "size": 6, + "spawn_overrides": {}, + "start_height": { + "absolute": 0 + }, + "start_pool": "unicopia:altar", + "step": "surface_structures", + "terrain_adaptation": "beard_thin", + "use_expansion_hack": true +} \ No newline at end of file diff --git a/src/main/resources/data/unicopia/worldgen/structure_set/altars.json b/src/main/resources/data/unicopia/worldgen/structure_set/altars.json new file mode 100644 index 00000000..8d8eb846 --- /dev/null +++ b/src/main/resources/data/unicopia/worldgen/structure_set/altars.json @@ -0,0 +1,14 @@ +{ + "placement": { + "type": "minecraft:random_spread", + "salt": 54386171, + "separation": 32, + "spacing": 64 + }, + "structures": [ + { + "structure": "unicopia:altar", + "weight": 1 + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/unicopia/worldgen/template_pool/altar.json b/src/main/resources/data/unicopia/worldgen/template_pool/altar.json new file mode 100644 index 00000000..9f728658 --- /dev/null +++ b/src/main/resources/data/unicopia/worldgen/template_pool/altar.json @@ -0,0 +1,16 @@ +{ + "elements": [ + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "unicopia:altar/center_1", + "processors": { + "processors": [] + }, + "projection": "rigid" + }, + "weight": 1 + } + ], + "fallback": "minecraft:empty" +} \ No newline at end of file diff --git a/src/main/resources/data/unicopia/worldgen/template_pool/altar_pillar.json b/src/main/resources/data/unicopia/worldgen/template_pool/altar_pillar.json new file mode 100644 index 00000000..fb57b9eb --- /dev/null +++ b/src/main/resources/data/unicopia/worldgen/template_pool/altar_pillar.json @@ -0,0 +1,82 @@ +{ + "elements": [ + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "unicopia:altar/pillar/pillar_0", + "processors": { + "processors": [] + }, + "projection": "rigid" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "unicopia:altar/pillar/pillar_1", + "processors": { + "processors": [] + }, + "projection": "rigid" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "unicopia:altar/pillar/pillar_2", + "processors": { + "processors": [] + }, + "projection": "rigid" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "unicopia:altar/pillar/pillar_3", + "processors": { + "processors": [] + }, + "projection": "rigid" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "unicopia:altar/pillar/pillar_4", + "processors": { + "processors": [] + }, + "projection": "rigid" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "unicopia:altar/pillar/pillar_5", + "processors": { + "processors": [] + }, + "projection": "rigid" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "unicopia:altar/pillar/pillar_6", + "processors": { + "processors": [] + }, + "projection": "rigid" + }, + "weight": 1 + } + ], + "fallback": "minecraft:empty" +} \ No newline at end of file