From 7c4f416b00b5750c216e99ac4fe2f9f34ea88d0c Mon Sep 17 00:00:00 2001 From: Pyritie Date: Sun, 5 Oct 2025 22:57:56 +0100 Subject: [PATCH] fixing floating glacian trees --- .../trees/mossy_glowshroom_roots_1.nbt | Bin 0 -> 386 bytes .../trees/mossy_glowshroom_roots_2.nbt | Bin 0 -> 487 bytes .../trees/mossy_glowshroom_roots_3.nbt | Bin 0 -> 437 bytes .../trees/mossy_glowshroom_roots_4.nbt | Bin 0 -> 473 bytes .../trees/mossy_glowshroom_roots_5.nbt | Bin 0 -> 435 bytes .../trees/mossy_glowshroom_roots_6.nbt | Bin 0 -> 602 bytes .../trees/mossy_glowshroom_roots_7.nbt | Bin 0 -> 672 bytes .../trees/mossy_glowshroom_roots_8.nbt | Bin 0 -> 452 bytes .../trees/mossy_glowshroom_roots_9.nbt | Bin 0 -> 689 bytes .../configured_feature/mars/tree/glacian.json | 15 +++++++++++++++ .../mars/tree/glacian_dead.json | 17 ++++++++++++++++- .../placed_feature/mars/tree/glacian.json | 5 +++++ .../placed_feature/mars/tree/glacian_dead.json | 5 +++++ kubejs/server_scripts/tfg/events.forests.js | 7 +------ 14 files changed, 42 insertions(+), 7 deletions(-) create mode 100644 kubejs/data/tfg/structures/trees/mossy_glowshroom_roots_1.nbt create mode 100644 kubejs/data/tfg/structures/trees/mossy_glowshroom_roots_2.nbt create mode 100644 kubejs/data/tfg/structures/trees/mossy_glowshroom_roots_3.nbt create mode 100644 kubejs/data/tfg/structures/trees/mossy_glowshroom_roots_4.nbt create mode 100644 kubejs/data/tfg/structures/trees/mossy_glowshroom_roots_5.nbt create mode 100644 kubejs/data/tfg/structures/trees/mossy_glowshroom_roots_6.nbt create mode 100644 kubejs/data/tfg/structures/trees/mossy_glowshroom_roots_7.nbt create mode 100644 kubejs/data/tfg/structures/trees/mossy_glowshroom_roots_8.nbt create mode 100644 kubejs/data/tfg/structures/trees/mossy_glowshroom_roots_9.nbt diff --git a/kubejs/data/tfg/structures/trees/mossy_glowshroom_roots_1.nbt b/kubejs/data/tfg/structures/trees/mossy_glowshroom_roots_1.nbt new file mode 100644 index 0000000000000000000000000000000000000000..dfb56f4a1744b07a8a6b5bb14dbcd2ba818abde1 GIT binary patch literal 386 zcmV-|0e$`-iwFP!00000|E-qMYJ)%!MMr1W7)v4F)3-vOOP~50HfEbjQw_S%G=I>) zu1m8iCF#x;B8UoS=bjx$up*k149&qY5rwlHPYKsK6{~GmzYW#+bkAf4Z@nAu#}&Nm zhPWW7pF`+>hK~#b3{uA=7`ap@J9o|$pU9+qB9rprBa;J+)*sD>0UrUf1jv#JSw(^| zm$I_UOe!lozK>L&Ba_;DWRR>s`^wK}L-WZ2pU7x)s5vv>!+;M1J`DH>kR?EtOvuva zQ1dZ>j{&j@pbnk-n4UwF(Po|%pU7z61uJ`x%uJbQ%{d30bHMr6OJ}riM{{PtnI|}> z`YeF60L}t93*an(vjKbz;A19arRJ~ze2SCLoMt<_b>6%1%fuzgqkVU@@GqOY&DPe9 zZI>Tix2~vq>bsrmedC6b7OUR2_3Luo^se?z*OIhd>&E4F-wc#}hM%(Ql-ggf)FJet gbggd!AKEf@;pV}5`|SE5@O1k{--B`9u3!oP0Cc{bS{%&G~lBF9}W1F=aHLhWTbWe;$$W_ zmzpt`w9b+b13nD+@C+Ym-z6Un_-MdK13m`uF@TQ&e2VXNk{RhdD`DS9MmqD7PYL)a zz()Z-YRadaW;DR$_MHJ|2Ap}y`5z|d%rl&=aOS048px%ATzV?kKa6w_NIp2&Rm`X(^_H*ax6DZWM{+I!=Mr#MfU^Re72vD@XEnn)cMeA; zcfT``i-BAW12`MN*#OQ4aJInxWr184 z$YlX%JLRmV|Bt12H@kORAEQsNb-WG1eg>Pa= dWlqbY=<3!*_u#uem7(ho`UH*5_;wo)003b~>zV)n literal 0 HcmV?d00001 diff --git a/kubejs/data/tfg/structures/trees/mossy_glowshroom_roots_3.nbt b/kubejs/data/tfg/structures/trees/mossy_glowshroom_roots_3.nbt new file mode 100644 index 0000000000000000000000000000000000000000..3404c9bf5b0d26e137c4116fab1e1e8da29cfaf0 GIT binary patch literal 437 zcmV;m0ZRTKiwFP!00000|E-q6PQpMChNs<~ZHqDbJf6Lo7*Afw0xLFROWI9D-oUrE zODw1?J3k2|b0GQp&o|v^VM0`q?(3~nL=>tTiiavIGP6}Xf9og1w+BVsd+QzT5Vdam z@q$p{qv&Kb}v1Dw$u$yw^fK(A1_kTWt!&L8Lec&>a`>DeV8 z4fyCYd`yC2z?lJO2AmC$V}P7|e4kHuKl%qVC+>*KI?(X&X0OZZ~yL*=Oi+nW)X>qPB;qo8M8Zc6t7M6_u{> fb>PDd9`5DUz4i9lb$#IJ`is5+c5o6@5)1$U^BP(CVN_rpA;_Xg*T0%sIBBjr58Oqh2I=VJvvR^T(C>X>-XBQu8slX4yyo9Lye zUL#EE+!>fuE=Bne&mc1Er3KEKavot)&RXECDQDuWJe+gmy^J825#%z0Tt<+~P`OO} zd~vx@kP8L5P>>6$Tq8_sj}6T9k|EA7E|(SLvVvTe%0;|?xLlUX^{3Z_^3gPt@|m9M zWH8;jjSs>1pWHYDd~_ck=HYdHzuvf_bk*Xsu2(taPffk`O(=akgZZ*?Rq?i1m5nb# zSyzBnUHR^Iw<}vvU;Rh@bxQ58S88`Ib$3~6Q?LJ@FN2w{LfP~E1b6d#^WcJe@lD(F PaQh8E^3iq!>I?t?=hEwp literal 0 HcmV?d00001 diff --git a/kubejs/data/tfg/structures/trees/mossy_glowshroom_roots_5.nbt b/kubejs/data/tfg/structures/trees/mossy_glowshroom_roots_5.nbt new file mode 100644 index 0000000000000000000000000000000000000000..afd0133d6dd13a65f6a650b15080c7f947a17035 GIT binary patch literal 435 zcmV;k0ZjfMiwFP!00000|E-oyZi6rog~xcHKvgy8>9$>0U3D8d#7$8tMqsIFZqQp7 z@*g~S94SZ^it_R1z41692gm@sa-$^x3@hzd+^;NyWKo&otIPXO&l2L!Dyw1m3S?ut z!vhiQE`(`DUctoYjBsm-u}Gx2Fc-CmeRr}; znvnqv1~A+_4=Z8zeb-B#@#R9`b0HA9BAVgOg_DbzRmbxLf^@Bd_q|>kq==zmR9R^Tp-DfLs`m z3#nYh+2K6Llpo@Jaek7cP6l_4s>iT>cq`J1{ dz;AzNB;3C!tKN0n4Lm&j!9PQaq<-=W007$#-Z=mO literal 0 HcmV?d00001 diff --git a/kubejs/data/tfg/structures/trees/mossy_glowshroom_roots_6.nbt b/kubejs/data/tfg/structures/trees/mossy_glowshroom_roots_6.nbt new file mode 100644 index 0000000000000000000000000000000000000000..6d9a5d1b7e488f54a2ea4bff05ffb178490e88a3 GIT binary patch literal 602 zcmV-g0;T;QiwFP!00000|E-waZrd;nh3OwrPKsfDo?h>I=v8kEH`Ov@sU6q`+Vu_g z*0tKQOCpM7)&&q?1fP%2p-dX^8ej$W)IEm^0ODFN%Ps3-1$eg`HovC$&tnB{n%g-n z*UKH%ewgTnxZt8FvPQhfI0Qpn-|2IQ5)ij{H<aI>_l%JmZDEyunZTzG`8wien0%amtyNr+%1cwS2vn&s6hMbAFiTNAu$hew@LN z_^5ZDDL(j(@hOv0|f{rtIb_UPR;Mo~GJI*unZmN{NKtnDx}iJ>I)D0d3n%tHJs-Rqs^aMIWJ}HQ#(^)v^lS3Cq~LnjFg=iDLXMz_QsH% z80~$LWX~{CE@GryE6#IlUyc^qo^Yiw;8^dPqh92sE=)-b*`_xTP{EpghQeO|HcEk4Hl|F0g o>HkSR#~L=FpS#G%0xxyF_}0$tO&F)h!N0_1l6Ur)Em? z=lKr1??=4B!QtiMgelG$zcTKWF*Kuz6HXa>&IBqBp}BakC&O@hkO_k3i?s;v(pvtC zwIaiWm9dQXKxxh}T%MzXG3&+E6gjJ4IL*j-MV!FIanxFtX1KN76>CL?@su87k6q}= zFkCG>r6z0O6fDbETRh!+DQ@eJ?Z8tdsg38LkJB;qnuK$WJB? zm!Fc-12n_Ugi@iWQZN9AKIHauu`*noLJ`LRK2Pwo*9kR6hO3uRXf~8)V)kBWHZ&tW zAG-H-&&1(;S;`l2?nu5IrJ0!Xl4hsS>?q9{hI`ILrexxHg)gu0AaBo3mNH5k@AC#bf!r8L59l@GSc(BHb1p6!w>&c;Ln1?Z*Q65<_0ocEs)`AfsAy1 zNwq*mI=?RRlVP}hhzvI~k&(_y$vZOA?-XhNRFod#%$4+13O)6asUYr~U7Du!@4FJ* zx8^Cq?et^&WxH!OZPVR9_x)oH_4lFQr(tT-Sib7BZ~sGmJ`J_&w^v4b{WwvtOPfvMlrS?0L!FmObs&RO}oX0|QN_euI7M zQC$)7xU0!b2%7x*_jm1`k^#&?w#C5+0B~2@UCQ0(kgUo&|7^4F)3X58T5V1DzFQ%- zb?X*LCp3rhkysAm9FKh_7|O>pig7-114iHsw?CYZ z2=I}Z53+~c{z%Mc#3+mz)gJZk(>YQ9oqSHhoR?r~k1-#CGn9{K6u}702RZjEp9zNY z5dl83-%FmM`dMPm6Aa}nZ*WcsMg{n&03Q|LlLX{IKR-NkQ5P~7S2=()+3I7OO^A`NwiyG$yx2U4g9X%5fmRf8ZA|&Jy;53jhE^yxt-J literal 0 HcmV?d00001 diff --git a/kubejs/data/tfg/structures/trees/mossy_glowshroom_roots_9.nbt b/kubejs/data/tfg/structures/trees/mossy_glowshroom_roots_9.nbt new file mode 100644 index 0000000000000000000000000000000000000000..f4ee0109668ba1d41ed01c3baf0d22858ecc94a8 GIT binary patch literal 689 zcmV;i0#5xOiwFP!00000|E-tXZrd;nhH2|y*~PFv&#rep?5ekgn`)V{%nob=?fM4W zQ_rr=G;t`BI|LAr1fQw@rzkS107|e!^AZgJ%6ZaFjP)3& z_tO*R*bVrAh2>=-&A62@=S)U37jbf$ap#P=WIPoo!EkZrl?lG=$`~e&rQ+l?;{@+B zlM8vi(nI7~(&PR>k7x9FN>75}^mt0oCeMZ9EDA-Od|i&w{Km-)cNWNSwQ49mM2%hP z$!LbtV<|lehN}%^Jj1w^$%I;!d^v?Lr|{(zz8vL?xP$p?t?~6N`SJ>1p7NF0i}U3v zU&P(H(gQTZ)pJ4V*)Tz|SD@l-nCx^WX(m72GrlL7t*=BJsc#se=HKGUjMQ7MG$$Bo z4w`Lk5IsTCY!#ZVLbFw9wv=XKb}#kF-*@S}kdbAyUQ8iT}|gOqv8<#dHJs*Gu*i&!~OQlDa{Fnt7l}m*^LZ$-?86GbLYxef|2Hq zDnYvc5I{oD+Y{h0kMq28Z|I&}NLkMysiUjARG=Q*PxwqrB%YZcvm XtjGE;_QTA>yPxnI8&j>b?i2t3>$+%X literal 0 HcmV?d00001 diff --git a/kubejs/data/tfg/worldgen/configured_feature/mars/tree/glacian.json b/kubejs/data/tfg/worldgen/configured_feature/mars/tree/glacian.json index 8546d84c1..6dadef471 100644 --- a/kubejs/data/tfg/worldgen/configured_feature/mars/tree/glacian.json +++ b/kubejs/data/tfg/worldgen/configured_feature/mars/tree/glacian.json @@ -2,6 +2,21 @@ "type": "afc:trunkless_stacked_tree", "config": { "layers": [ + { + "templates": [ + "tfg:trees/mossy_glowshroom_roots_1", + "tfg:trees/mossy_glowshroom_roots_2", + "tfg:trees/mossy_glowshroom_roots_3", + "tfg:trees/mossy_glowshroom_roots_4", + "tfg:trees/mossy_glowshroom_roots_5", + "tfg:trees/mossy_glowshroom_roots_6", + "tfg:trees/mossy_glowshroom_roots_7", + "tfg:trees/mossy_glowshroom_roots_8", + "tfg:trees/mossy_glowshroom_roots_9" + ], + "min_count": 1, + "max_count": 1 + }, { "templates": [ "tfg:trees/mossy_glowshroom_stem_1", diff --git a/kubejs/data/tfg/worldgen/configured_feature/mars/tree/glacian_dead.json b/kubejs/data/tfg/worldgen/configured_feature/mars/tree/glacian_dead.json index 9a277c8f5..94e131f69 100644 --- a/kubejs/data/tfg/worldgen/configured_feature/mars/tree/glacian_dead.json +++ b/kubejs/data/tfg/worldgen/configured_feature/mars/tree/glacian_dead.json @@ -2,6 +2,21 @@ "type": "afc:trunkless_stacked_tree", "config": { "layers": [ + { + "templates": [ + "tfg:trees/mossy_glowshroom_roots_1", + "tfg:trees/mossy_glowshroom_roots_2", + "tfg:trees/mossy_glowshroom_roots_3", + "tfg:trees/mossy_glowshroom_roots_4", + "tfg:trees/mossy_glowshroom_roots_5", + "tfg:trees/mossy_glowshroom_roots_6", + "tfg:trees/mossy_glowshroom_roots_7", + "tfg:trees/mossy_glowshroom_roots_8", + "tfg:trees/mossy_glowshroom_roots_9" + ], + "min_count": 1, + "max_count": 1 + }, { "templates": [ "tfg:trees/mossy_glowshroom_stem_1", @@ -28,7 +43,7 @@ }, "placement": { "width": 1, - "height": 1, + "height": 10, "allow_submerged": true, "allow_deeply_submerged": false } diff --git a/kubejs/data/tfg/worldgen/placed_feature/mars/tree/glacian.json b/kubejs/data/tfg/worldgen/placed_feature/mars/tree/glacian.json index ee917a6be..1ec6dec12 100644 --- a/kubejs/data/tfg/worldgen/placed_feature/mars/tree/glacian.json +++ b/kubejs/data/tfg/worldgen/placed_feature/mars/tree/glacian.json @@ -5,6 +5,11 @@ "type": "tfc:flat_enough", "flatness": 0.8, "radius": 4 + }, + { + "type": "minecraft:random_offset", + "xz_spread": 0, + "y_spread": -7 } ] } \ No newline at end of file diff --git a/kubejs/data/tfg/worldgen/placed_feature/mars/tree/glacian_dead.json b/kubejs/data/tfg/worldgen/placed_feature/mars/tree/glacian_dead.json index ee917a6be..1ec6dec12 100644 --- a/kubejs/data/tfg/worldgen/placed_feature/mars/tree/glacian_dead.json +++ b/kubejs/data/tfg/worldgen/placed_feature/mars/tree/glacian_dead.json @@ -5,6 +5,11 @@ "type": "tfc:flat_enough", "flatness": 0.8, "radius": 4 + }, + { + "type": "minecraft:random_offset", + "xz_spread": 0, + "y_spread": -7 } ] } \ No newline at end of file diff --git a/kubejs/server_scripts/tfg/events.forests.js b/kubejs/server_scripts/tfg/events.forests.js index bda91c251..36cc40f8b 100644 --- a/kubejs/server_scripts/tfg/events.forests.js +++ b/kubejs/server_scripts/tfg/events.forests.js @@ -151,7 +151,6 @@ TFCEvents.worldgenData(event => { null, null, [ - //"betterend:glacian_hymenophore[facing=up]", "tfg:glacian_leaves_fallen", 'tfg:groundcover/glacian_stick' ], @@ -160,14 +159,10 @@ TFCEvents.worldgenData(event => { 'tfg:mars/tree/glacian', null, null, null, null, null, null, placement => { - placement.flatEnough(flatness => { - flatness.flatness(0.8) - flatness.radius(4) - }) placement.jsonPlacement({ "type": "minecraft:random_offset", "xz_spread": 0, - "y_spread": -2 + "y_spread": -7 }) } )