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 zcmb2|=3oGW|7)jR%xZQJaCJ|=CgH7k|MGUH`QGz?Ntvb1_6p|Rb-|?m!v1yMn>AHm zo)cB-;7Wf!Pu6{d(yYlmXAc?*wr-a3=e%wyx;i&}KkwBaCFfJv^7l%=KQ6lGb=wYw z<@23i)VKBXF!KZ*SCQBmqHbM&PGtUxB{fQuKRr~Q%-nNL{%kv=JmV&o6O%Y2U7HN2 zZ`yR)M@!p!Uw_Da<;l0IQzopj|9$Fwy7T9gjPp-q6tA!}esH*fpV^M*2gd|ehiN`1 zEJO z2WF~UEdQm`u$kc;lLhw!orcYfH9QZJ)l!x|+rUuMHTnFUH0#}^_jZ3ceMI%-;@a{p zAM|JMK6~w2Z|-#Y*zN09RK40g_jT>#wn<{E?``|~y6Engb>DoiPuddu`q w+vab2J>^#X`YVcG7M85dXOh2VRQB-M!K&YHekpz^`R#hYx$xe)1TF>!0Cc{@m8=B#tk zHxzmfUY`8i_tNF9N>M`JAHEP3T)I)F&F{Xq(d^vl{ok&B$X@L6{i3VCy35~QBxlCR+8J{tsHB(ZO-?jC`HYD z`YglgTh2}5XSU<{@qtG^^S-J)?~jZF?#y;<9}FA%8Ed-Umrjy=X``KZ-`&mX^CW-H z9~uYT8SS!8EuWKSa^T6gxs2&-b1F~$lvjIx#(2)!f@e!(q)setjH%MPZr@YF?*%hQ zXG5D$LUHx1aI&>t3YC_*|$UtYI_L9MK1B7}8A-TbA>= ztCjCJp3vPG!}BCbL7aJKh1$3t#j9V(C5mqfDBgfdK$vNb8ya 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 zcmb2|=3oGW|7)im^gHAr(6;>U+}v)%UpDjh&Xn+vJISPNmgIfQ*X7=U?c2O{R_IvU zbE*_8{QPy^{BCBVQ^>@3uh#~>+8kuSPZ-c*(6 z{qe%M#-}Oqz)Z$;wmG~Lk{jmK)Tx}))O@m-{7JJR&UMXod$rs1-K(DWONgc~dG5_!-0P$GW{+5zGvhg} zXEjZU4W4h0omlehlF7fex$jJkEDtP6yRLHH&gjx+owMg41{R^a5=gdA|f4S)0ojccaop)tQo5$ptm-^pKe^EGd#o4EewzaRAeLrw@ qS>?YP(W&b`mOePlEBEf{)xBT8-7Kwr@bXvpKE|>Fp%5V+1_l7+{n)Ai literal 0 HcmV?d00001 diff --git a/kubejs/data/tfg/structures/trees/mossy_glowshroom_roots_4.nbt b/kubejs/data/tfg/structures/trees/mossy_glowshroom_roots_4.nbt new file mode 100644 index 0000000000000000000000000000000000000000..411abf34b87b798c5149182d2ff213985dbfc491 GIT binary patch literal 473 zcmb2|=3oGW|7)iO`X4e7IKKX^=#8F<=O1rA?-pO9ni>*wq&LUcWnbg{Te=1g)vxDr zs?;j{e*5lw{_avs2eup2s`D8Z$ZyWOk(VOrGi~;+iu}*-?r&zi%_eU1W%_}f*JV2# z4?j$ANH;hr!Pv~?CVO08Ui7z1&oaq#mPsOKBhwN zHizFDo;x03rxo}8u+7r%Y|nd`(nTzkpV}PqnNiODJek!l?1AyZS2HTkD;u{nPcD*^ znEhhuia2GTS9c_5gy^~c6gaP7^m-}lxmiVWi9zS09<0$!f3(JCPVwWtJqptWpBOd8 zxJ@`6u+!&HP2tXf3EZq8Vr7i7PgXzgnJ<$R&*|$;7k#p+DQ4O!*FE(+Vy2z?y8L>} zr;8?&Kh2!?D#hULu3r9w-{;@4V6G{VmwWcGw08f!9g9k?KH9u4-13RP@7}Mz8nxEV zKQ|SIe%ux@wO8LMGQ1%)_UF5@?b^`+@qgX_mU_KiAD&gNS6UvK6}z!_X f{>xJSx$5(Srs|Krw?7yB=C%KHv5ff@4+8@L=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 zcmb2|=3oGW|7)lD<~17#v>vZm;1Fv1{N=XT@Yqsm%Ok#lnr;azGxIJ)i+_^0sgTk1 z5bOH%@!8&w7K-dA7PyhBmFZAe~*6PF`Tq()B4l@hB z(QCO>TiUK>8W<5ODI=OpB=<&}ik7xJJ_+*nbiGl4w z!LbUpk6!`;tb}>W{U*NL%<(}uaI2cceH-^F@=4EjzA-w`&+|cf{fEb|`42tZKOud` z=c7*#HN;3v;9ePX4-_|;u+9RBd>mv5gKb>AEhz zb){Tm6-Z#2-+ykQkJJaL1lF%tY}>gQ9!2S&)_tACTCrW)Z2z(!=aX6UX5F^bxqe#q zYTb+%Z95*VZ?g&BZ~Sh8W}jp^TXVZl<(UPIovSUr&PnY16Oy^kW%&b1&*PFMGRr3? zZuymAb>d}+&EwX+dk*^l+?SQOzAKq)Ug4>k)0WrGNZ(qsciQ=o&%woYGoHJDe#}!h z=V1TiKPeL3^7>Dl&KZB`xze2Rp@;2!McZ??3m@k^=TZLoan5|DLFd%XjVJ`=e$)@ z_BlA~nLKfF)_YQvDzS3^g$bvniz@ZP-P~Vs^Z%->yija9=Q+>fv-6`Y^^>+pE`2#A z{e{QZg?2hTKA8ziq=XiqJ**Pmw(-fNbKNth8ZDmm%V4wKO8>TtY3sw}leXNPeMSAS z$5%zSSLNv^{Cdm|Z+&wl!#L)&U(b}eGu$pXLam0{Z)hBB9h|hqa($}0+bNI|2~BIm zpl`<}%$0asJ2B?oWJ|TaVGuJy+5vvEd^{#ijUTEERC|tHKz}-lNvGR|@#r^9-y4T4T zdq{OK9_%YTvU9pj(UU6-qB}O$dW$hkd!4rL&!;%YiW^^N$0ytV|9ZPgetDYL=jT89 zcE5MubMWB9rw>~+&q?k#dN;+;WO1jkpJeqp7A?MoJ1f?!A1F-Xi3-;_2aXh8iJF$SW9uE!Y}dArQ{
QSr0Y3ncT_yS1)g@gY>}k;rkG zCz8cA&#P~8nYy-JP8O-s*(!GNeb^2Au!YBis<>u7{MNtti^QylzpeyU8D(dFDX4w5 z(nh%0`O{O;eKt?E54*4~{us(>?D(mV=ecde8(W5lb1jOO&QdyD+22sBZ+vOZ)0ng{3P6X!e5PV`us_km`x6!Z3$YqJjj5d-R{Y^;*CZzbDRW^GuZim*nFMS)U|E( z^uP?WDQQXH;xf!klx^jAeJ?$K5#C%>O_5 z!TF}c`S~*+K4UYA(Vg%xtFfn~&U34So7H~3Pm>dO)OPTg8&8~g&g-PL(WUnyng2qj z$UQnU^-Bns?bnGb72eH`owe-C``to!wm;K6`1VWk@6_GdX1SN|+JFC>%=`8G!u!h; zvo1#*dVBan$?W;x``=D53%*_cVAnqH&u`CqTRVN+RPk>{K>mN{T07pYueXQ0RsFRH mT<<;a^cCN?ht^wvdzNi%TAnE(E@$_*aevgse`}jW7#IMo6Zj3hI&@3Ok)+Sh@xf**IR zKIy|T>(8(638SOUR_nx=#S7g#TVVFF!%zVMXB&0F{@fYn0#jO0(>2j`qvE!1b6XL0^{rYenZ^IE;$t;cM+ zPKi9}{%7!zjdJ*iNg`)X}wPU0;QvDI$jKaUs1ny77ejcr`>>Qu?< zuj?`tZ|zP$8+<8g#+TUZuca6B{TJW*d;f~PubZxfY%BP4pXIJ?=IZ-Cm#yU9)jtq7 MI4AV2iJO4|07JaqA^-pY 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 zcmb2|=3oGW|7)k;&bw{E)0X)<;pWi|cIVfX+rC+~y>)ih%#COGa+u%#V!IuDe%)D< zLXAn*ECLf)=CAy}T*GK3gVzS<&qBNmXI`g8Z{(E@g?LOYCUtUgUH1GK;vHbgG z;b%8^e>Ai{O;tR*W2)hEA2(z1!lGG)&wF;J*odkhEGT?7m2=;lQxa-@OCLQkdCcAu=g^=2rNYa<>EV|Ouk&i>TOa9gxz4GH?YsEr*h!vpu@ePbvovg7 zdShRn%xJrutZB>HwwgD^=J1ZGCtISX)>yXcFaPjVWS`8_?j6lPv)6w7s`K*`SNyzB zQ*U&CeySONLC$=${`cNrhr z9xQm?>T~c3`%Hx|yqfkWJofsX;x~$^vk~~ISeNgyH85bG(3w{KMb|y|O?X(vZ8S$e zWrv)chOJBd)GsWp^MVdC=zO2B`?TbPSl{OciysO6t^B!O$@tDr<->o!oz^_d*|s`8 zWyj54p7Q$}?|T+MKNa3I@mb%K(;79Bt@^7kKpeLe=6s7my% zKk$ToX3&d=LAJ`uXJs|pPk0o&pHei6sdsBTow)ErAJ21H$xJiPdlM(7O)k-AI`LOh z@?3R51|Qd1$AvpX-h^s>Tjf_hH9+RIv&``yzhW7Fuly(Xu|U1le*Ug^ z8=GDg-3utV=J4+MAEc#&*KU3%!oUCk>$+%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 }) } )