From 13451998d6b4f0b772def1b46c6a0d229a46e2fb Mon Sep 17 00:00:00 2001 From: materus Date: Sun, 10 May 2026 16:02:30 +0200 Subject: [PATCH] Toms recipes, dynamic view, remove invontory tabs --- config/dynamicview.json | 34 ++++ config/toms_storage-common.toml | 11 -- config/toms_storage-server.toml | 59 ++++++ index.toml | 28 ++- .../textures/gui/crafting_terminal.png | Bin 2260 -> 0 bytes .../textures/gui/storage_terminal.png | Bin 1859 -> 0 bytes kubejs/server_scripts/simple_storage.js | 182 +++++++++++++++++- mods/dynamic-view.pw.toml | 13 ++ mods/inventory-tabs.pw.toml | 13 -- pack.toml | 2 +- 10 files changed, 300 insertions(+), 42 deletions(-) create mode 100644 config/dynamicview.json delete mode 100644 config/toms_storage-common.toml create mode 100644 config/toms_storage-server.toml delete mode 100644 kubejs/assets/toms_storage/textures/gui/crafting_terminal.png delete mode 100644 kubejs/assets/toms_storage/textures/gui/storage_terminal.png create mode 100644 mods/dynamic-view.pw.toml delete mode 100644 mods/inventory-tabs.pw.toml diff --git a/config/dynamicview.json b/config/dynamicview.json new file mode 100644 index 0000000..49ec10c --- /dev/null +++ b/config/dynamicview.json @@ -0,0 +1,34 @@ +{ + "minChunkViewDist": { + "desc:": "The minimum chunk view distance allowed to use. Default: 10, minimum 3, maximum 200", + "minChunkViewDist": 6 + }, + "maxChunkViewDist": { + "desc:": "The maximum chunk view distance allowed to use. Set to the max a player could benefit from. Default: 10, minimum 3, maximum 200", + "maxChunkViewDist": 12 + }, + "meanAvgTickTime": { + "desc:": "The average tick time to stabilize the distances around. Setting it higher than 50ms is not advised, as after 50ms the TPS will go below 20. Default: 45ms, min: 10, max:100", + "meanAvgTickTime": 45 + }, + "viewDistanceUpdateRate": { + "desc:": "The change frequency of distances in seconds. Default: 30, min:1, max:1000", + "viewDistanceUpdateRate": 60 + }, + "minSimulationDist": { + "desc:": "The minimum simulation distance allowed to use. Default: 4, minimum 1, maximum 200", + "minSimulationDist": 4 + }, + "maxSimulationDist": { + "desc:": "The maximum simulation distance allowed to use. Default: 10, minimum 1, maximum 200", + "maxSimulationDist": 8 + }, + "adjustSimulationDistance": { + "desc:": "Enables automatic simulation distance adjustment. Default: true", + "adjustSimulationDistance": true + }, + "logMessages": { + "desc:": "Whether to output log messages for actions done. This can be helpful to balance the other settings nicely. Default = false", + "logMessages": false + } +} diff --git a/config/toms_storage-common.toml b/config/toms_storage-common.toml deleted file mode 100644 index 4c955de..0000000 --- a/config/toms_storage-common.toml +++ /dev/null @@ -1,11 +0,0 @@ -#IMPORTANT NOTICE: -#THIS IS ONLY THE COMMON CONFIG. It does not contain all the values adjustable for Tom's Simple Storage -#The settings have been moved to toms_storage-server.toml -#That file is PER WORLD, meaning you have to go into 'saves//serverconfig' to adjust it. Those changes will then only apply for THAT WORLD. -#You can then take that config file and put it in the 'defaultconfigs' folder to make it apply automatically to all NEW worlds you generate FROM THERE ON. -#This may appear confusing to many of you, but it is a new sensible way to handle configuration, because the server configuration is synced when playing multiplayer. -importantInfo = true -#List of mod ids whose blocks is ignored by the inventory connector -blockedMods = [] -#List of block ids ignored by the inventory connector -blockedBlocks = [] diff --git a/config/toms_storage-server.toml b/config/toms_storage-server.toml new file mode 100644 index 0000000..77f0138 --- /dev/null +++ b/config/toms_storage-server.toml @@ -0,0 +1,59 @@ +#Inventory Connector Range +# Default: 16 +# Range: 4 ~ 256 +inventoryConnectorRange = 16 +#Only Allow Trims to Connect Inventories +onlyTrimsConnect = false +#Inventory Cable Connector Maximum number of cables +# Default: 2048 +# Range: > 16 +invCableConnectorMaxScanSize = 2048 +#Wireless terminal reach +# Default: 16 +# Range: 4 ~ 64 +wirelessReach = 16 +#Wireless terminal reach +# Default: 64 +# Range: 16 ~ 512 +advWirelessRange = 32 +#Adv Wireless terminal requied beacon level for infinite range +#Value of 0 only requires a single beacon block nearby +#Value of -1 disables this feature entirely +# Default: 1 +# Range: -1 ~ 4 +wirelessTermBeaconLvl = -1 +#Adv Wireless terminal requied beacon level for cross dimensional access +#Value of 0 only requires a single beacon block nearby +#Value of -1 disables this feature entirely +# Default: 4 +# Range: -1 ~ 4 +wirelessTermBeaconLvlDim = -1 +#Inventory Cable Connector requied beacon level for inventory linking +#Value of 0 only requires a single beacon block +#Value of -1 disables this feature entirely +# Default: 0 +# Range: -1 ~ 4 +invLinkBeaconLvl = 0 +#Inventory Linking range with beacons +#Value of 0 disables this feature entirely +# Default: 4096 +# Range: > 0 +invLinkBeaconRange = 4096 +#Inventory Cable Connector requied beacon level for same dimension access with unlimited range +#Value of 0 only requires a single beacon block +#Value of -1 disables this feature entirely +# Default: 1 +# Range: -1 ~ 4 +invLinkBeaconLvlSameDim = -1 +#Inventory Cable Connector requied beacon level for cross dimensional access +#Value of 0 only requires a single beacon block +#Value of -1 disables this feature entirely +# Default: 2 +# Range: -1 ~ 4 +invLinkBeaconLvlCrossDim = -1 +#Use multithreading to improve performance +runMultithreaded = true +#Base tick cooldown for Basic Inventory Hopper item transfer +# Default: 10 +# Range: 1 ~ 200 +basicHopperCooldown = 10 diff --git a/index.toml b/index.toml index 35e447f..0eacf8e 100644 --- a/index.toml +++ b/index.toml @@ -68,6 +68,10 @@ hash = "41f5a7ac2f60ed98c384cdb33a5586a2106144001ee5d32edb8f0e97f98762bd" file = "config/defaultoptions/keybindings.txt" hash = "f78b301f223be57085448a7ea605540bf4ebeaae36b15732addd9d3f2af8cdc2" +[[files]] +file = "config/dynamicview.json" +hash = "83f8e1beb5ee9a80b873df9e1a0427a28a605561499cbd637da1e92f3539959b" + [[files]] file = "config/enhancedai/Mobs/Custom targeting/custom_hostile.json" hash = "17f29fe7e8b3220a73bf87b05a08602f56cd836cad3fae42de1e53971fa336e8" @@ -153,8 +157,8 @@ file = "config/supplementaries-client.toml" hash = "80e5996a4fd4b93a98b66e0ea4892767932cae2cc1789650b6016e976cedc001" [[files]] -file = "config/toms_storage-common.toml" -hash = "b54cd94393754928944a5705e3c3c783144efa6541231895482eb3e031834605" +file = "config/toms_storage-server.toml" +hash = "7e3680bc94d28b4a16c6155f0affd1f09db21cdf7d77f64d7e0e914092c799e9" [[files]] file = "config/treechop-common.toml" @@ -260,14 +264,6 @@ hash = "79c26cf20110a8e22f5860814577145846fb5578a5ad80c795e15210403c9738" file = "kubejs/assets/toms_storage/textures/block/trim.png" hash = "093e2ca74695222dfe16afc6efef3fcca0af8b875f4ba2f1f7e9c908eba394b5" -[[files]] -file = "kubejs/assets/toms_storage/textures/gui/crafting_terminal.png" -hash = "4b0461c6bea1301e83a63a270e3d0e7880363b6797da7c948cd9ad46ab4351a1" - -[[files]] -file = "kubejs/assets/toms_storage/textures/gui/storage_terminal.png" -hash = "a4a05102ee564955d71566a7d8c085880be35a497661a2d4645fcf6e5e3c13e9" - [[files]] file = "kubejs/assets/toms_storage/textures/item/adv_wireless_terminal.png" hash = "060161bd209cb7ff6c1649f5d9dbb0de84531e854f65cdc3047d4ad6fef75ec1" @@ -294,7 +290,7 @@ hash = "7010330160f4af3b97c2cd99ef529b724dffa11a320e99cc202fff51aae7227c" [[files]] file = "kubejs/server_scripts/simple_storage.js" -hash = "0c098f71ad46ae7353c74ca62e7d37e581c0a3930bd9154a8635635ca602b95e" +hash = "9c77aa097a10746dfba03f3d33d80b1f5e736ea73fe47de99a87ca7920915455" [[files]] file = "kubejs/server_scripts/waystones.js" @@ -1029,6 +1025,11 @@ file = "mods/dynamic-fps.pw.toml" hash = "ae6fd52d8bdcbeca5bbe6db840f22f92c1928fe0fda22017b19612b9b00a245a" metafile = true +[[files]] +file = "mods/dynamic-view.pw.toml" +hash = "628baba407713012052036ee76b3a311b89cbacad953cb2b29d0683d909cac02" +metafile = true + [[files]] file = "mods/easy-anvils.pw.toml" hash = "9f511e824978b45d8d90244e921dafcbb9bc01d1e4aced66afac71740ffa5ff6" @@ -1323,11 +1324,6 @@ file = "mods/inventory-particles.pw.toml" hash = "dd0e33b72227eced263649c930c4a11162365591c02b5e7008ae111c0ea16070" metafile = true -[[files]] -file = "mods/inventory-tabs.pw.toml" -hash = "77e564f0ba938056be27bf43b0422c0fcb767aa206e8cd0ee351aada0f664591" -metafile = true - [[files]] file = "mods/iris.pw.toml" hash = "f67aa60c765593a8c70f78296a460349c6aef5f4a16d173eae02e8803b545ad4" diff --git a/kubejs/assets/toms_storage/textures/gui/crafting_terminal.png b/kubejs/assets/toms_storage/textures/gui/crafting_terminal.png deleted file mode 100644 index 563fa09bc677c414cc14af7bccd003b12c2b72bb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2260 zcmeAS@N?(olHy`uVBq!ia0y~yU}OMc4rT@hhU_&FAs}9Hkh>GZx^prw85kH?(j9#r z85lP9bN@+XWnf^?3h)VWWn~31KOM~7Kg%V~h*4Wx_x--CJFR|aR|HMTFfS=7>Feuz z^ym=-1B0JjSTq9z17AsyU+{lqz~Fk|&Itwv2F?PH$YKTtZeb8+WSBKaf`NfU($mE; zq$2L^+|H!g79y^*O)i@${`-G_?)I2Q77pPvN=vG(j=hl7fB(v1!`+fP+q%7XXC7be z@%w%Gv!^U|dvE-Izq-cAO2}yFhjlBW5z$CZ&>G^ z&13v?`$W1f+k*M>$&5eV$iHi_VRZQ{y7xkZ5Yq+EjWaF780*<0XR(!?O>STnXne)7 z#p=A?afaFau`-=@d(PJ8H;CvotUoY&FW3L%+mgrG3l!xX(%+T~9ni@rmE(UAJQid%@xwhO$4wQl8HXe= z*z+y#4 z&rT&ph4JB`0E{Iyn z_-TGjNhialkK60=pFLg|#C)dG*oMpDmK(z_(?EF+EB2`p0#m-X=?X+%U&O9p!_APt zyZY4XjI+DgtWLdU66+8RXD{#<>u22O!F)oVMXFusUi zbV8oxJtxzJ+WY@D?J>9Mc^Y-BYAN@A*}2UJ8EjN8SRT;Yu}7(UiG-xU=aQatj4!@ujQ0uDBA%Oy9l zO<}W=yC~1{b~Ar6NaeefhX4E5201Y>Pd2nVTcFPTq}4C;<#*PUUFkPoe{Rt1*q0vr z)FF+zqWaAi?mG;;3{m_xecTBqbFJ=2ux_3z^FcZ1;_IaAA9b7VN$@g@F~pU(nDiKY z$v+*>5>aJuiD9^O8D91~ay!^-6HM5RVuEirCLEv9%Almfpzzl` z$-zaYp~#uJD1|BG_2&jl<{+*AHV@9kF0i=9&hRt7#=6Jz?aiD6Id`|qJ5+YoFl3bf zusN_#=KK2Y*#-)k5&F-Xu6F&`rXV80uFaJ#2=c!jb}sKS0VPMvqp208txbr zCcL#(7Gt_#?(}17gBkCEp5^kLd!-JP^j!=2QzdsNE9KqJBVDl$9p#N>cET=)cX^aC z$|i5-DV1K(t;WOg{QtELYyu#|WRefeIQeJ&zVtIr41!V)LL6qN13DQ6#T;BX*?gYY zzqJ)MVl??*c_4dE;(;@N*6&F_b(2x#_)E5)i10}6cNdyJ37IU=Vm5PNK4->o-Ql_P z>V$1Y3b11L!>;mXcmceCv7&2}<=qCs*IMjO%zfMs{+<{6u)F(tVGP6m|9^g4&i^;N zJN*!Y1OxMd*Y|kY9x&GA9gM#+Q$~!TPH<-l9}mNFsnp^(GZoIIR-an^A>>B_^9LP= z=M1YKeB$C=zzDIj;rd=_2n$^1Pv~%;621^5CzHi6kM)I2f@n+}m=CTM(3~gqvE!2# zNOyxX?}5z>km3@=htwc(-}At_G8jPCIVi~m#L&pUfZSLLs8?U{G zot@=F#o^@pjdy=vXOR10Z+wrj{^IYC6@T~(1zDakZW6x0z`(%Z>FVdQ&MBb@02;%< AOaK4? diff --git a/kubejs/assets/toms_storage/textures/gui/storage_terminal.png b/kubejs/assets/toms_storage/textures/gui/storage_terminal.png deleted file mode 100644 index 4f255854071c2ecac98e714c8fb6752fafbb242d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1859 zcmeAS@N?(olHy`uVBq!ia0y~yU}OMc4rT@hhU_&FAs}9Hkh>GZx^prw85kH?(j9#r z85lP9bN@+XWnf@X5AX?bWnf_VbTD`SESESVMs01~_xrN$wECT05i}*k{L!OFB_$<& zeSHiJ3>P=*`GG7d3Gxg6j|3QOUnsRPFfecyctjR6FmMZlFeAgPIT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$I z+-8VvF<4OlFP}G?AyWZt(~=B^NQE0~4rDOovA(c7pk=XVlS)I&H(rkabqA_V5)M=& zMcje>r9~MGyf>~kaDEL1$K`IRhG<5JZxQNt+@I~p43;)&V7tK3S>aSGDs_NC;(+>j z#;qHx8Pp$aX1fx;kkMM2c+KCq8UA|}zI`Kp!1KpF<%Zi&PygR~sCa`j!*=d { - event.remove({ mod: 'toms_storage'}) + // filers + event.remove({ output: "toms_storage:item_filter"}) + event.shaped( + Item.of('toms_storage:item_filter', 1), + [ + ' A ', + 'AFA', + ' A ' + ], + { + F: 'create:filter', + A: 'minecraft:andesite' + } + ) + event.remove({ output: "toms_storage:polymorphic_item_filter"}) + event.shaped( + Item.of('toms_storage:polymorphic_item_filter', 1), + [ + 'B', + 'I', + ], + { + I: 'toms_storage:item_filter', + B: '#c:plates/brass' + } + ) + event.remove({ output: 'toms_storage:tag_item_filter'}) + event.shaped( + Item.of('toms_storage:tag_item_filter', 1), + [ + 'B ', + 'IP', + ], + { + I: 'toms_storage:item_filter', + B: '#c:plates/brass', + P: 'minecraft:paper' + } + ) + // trims + event.remove({ not: {input: "minecraft:water_bucket"} ,output: 'toms_storage:trim'}) + event.shaped( + Item.of('toms_storage:trim', 1), + [ + 'ASA', + 'SCS', + 'ASA' + ], + { + A: 'create:andesite_alloy', + S: 'minecraft:stick', + C: '#c:chests' + }) + // Terminals + event.remove({ output: 'toms_storage:wireless_terminal'}) + event.remove({ output: 'toms_storage:adv_wireless_terminal'}) + event.remove({ output: 'toms_storage:storage_terminal'}) + event.shaped( + Item.of('toms_storage:storage_terminal', 1), + [ + " X ", + "CIG", + " X " + ], + { + X: 'create:electron_tube', + I: 'create:brass_casing', + C: 'create:redstone_link', + G: 'minecraft:glass' + } + ) + event.remove({ output: 'toms_storage:crafting_terminal'}) + event.shaped( + Item.of('toms_storage:crafting_terminal', 1), + [ + " X ", + "AHI", + " G " + ], + { + X: 'create:electron_tube', + I: 'toms_storage:storage_terminal', + H: 'create:brass_casing', + G: 'create:linked_controller', + A: 'minecraft:crafting_table' + } + ) + // Inventory cables & connectors + event.remove({ output: 'toms_storage:inventory_cable'}) + event.shapeless( + Item.of('toms_storage:inventory_cable', 4), + [ + "minecraft:dried_kelp", + "create:brass_sheet", + "minecraft:ender_pearl" + ] + ) + event.remove({ not: {input: "minecraft:water_bucket"} ,output: 'toms_storage:basic_inventory_hopper'}) + event.remove({ output: 'toms_storage:basic_inventory_hopper'}) + event.shapeless( + Item.of('toms_storage:basic_inventory_hopper', 1), + [ + "toms_storage:inventory_cable", + "create:brass_sheet", + "create:chute" + ] + ) + event.remove({ not: {input: "minecraft:water_bucket"} ,output: 'toms_storage:inventory_proxy'}) + event.shaped( + Item.of('toms_storage:inventory_proxy', 1), + [ + " S ", + "OHO", + " I " + ], + { + "H":"create:brass_casing", + "O":"create:brass_hand", + "I":"create:redstone_link", + "S":"create:electron_tube" + } + ) + event.remove({ output: 'toms_storage:inventory_connector'}) + event.shaped( + Item.of('toms_storage:inventory_connector', 1), + [ + " X ", + "CIC", + " O " + ], + { + "C":"#c:chests", + "O":"create:brass_hand", + "I":"create:brass_casing", + "X":"create:electron_tube" + } + ) + event.remove({ output: 'toms_storage:inventory_cable_connector'}) + event.shaped( + Item.of('toms_storage:inventory_cable_connector', 1), + [ + "ISH" + ], + { + "I":"toms_storage:inventory_cable", + "S":"create:brass_sheet", + "H":"create:brass_hand" + } + ) + //Others + event.remove({ output: 'toms_storage:open_crate'}) + event.shaped( + Item.of('toms_storage:open_crate', 1), + [ + "PSP", + "ACA", + "PSP" + ], + { + "C":"#c:chests", + "S":"minecraft:stick", + "A":"create:andesite_alloy", + "P":"#c:planks" + } + ) + event.remove({ output: 'toms_storage:level_emitter'}) + event.shaped( + Item.of('toms_storage:level_emitter', 1), + [ + " L ", + "CIC" + ], + { + "I":"toms_storage:inventory_cable", + "C":"create:brass_sheet", + "L":"create:analog_lever", + } + ) + + + }) \ No newline at end of file diff --git a/mods/dynamic-view.pw.toml b/mods/dynamic-view.pw.toml new file mode 100644 index 0000000..53eb1e1 --- /dev/null +++ b/mods/dynamic-view.pw.toml @@ -0,0 +1,13 @@ +name = "Dynamic View and Simulation Distances" +filename = "dynview-1.21-4.0.jar" +side = "server" + +[download] +hash-format = "sha1" +hash = "8fa1d09a85cab699b4473dba000f383f957529df" +mode = "metadata:curseforge" + +[update] +[update.curseforge] +file-id = 5570957 +project-id = 366140 diff --git a/mods/inventory-tabs.pw.toml b/mods/inventory-tabs.pw.toml deleted file mode 100644 index fd4f0a1..0000000 --- a/mods/inventory-tabs.pw.toml +++ /dev/null @@ -1,13 +0,0 @@ -name = "Inventory Tabs" -filename = "inventory-tabs-1.4.4+1.21.jar" -side = "client" - -[download] -url = "https://cdn.modrinth.com/data/VD1aynYU/versions/kH13neOQ/inventory-tabs-1.4.4%2B1.21.jar" -hash-format = "sha512" -hash = "c858bac0f7fbd16670ed23c0c1dfd55aaa741d8508c61037d1960832976aba6dcaf7ccbaca487417760b319d0517bc14c5891646a366843e0c1bf35be5b399ce" - -[update] -[update.modrinth] -mod-id = "VD1aynYU" -version = "kH13neOQ" diff --git a/pack.toml b/pack.toml index 77f5e29..9266cd4 100644 --- a/pack.toml +++ b/pack.toml @@ -6,7 +6,7 @@ pack-format = "packwiz:1.1.0" [index] file = "index.toml" hash-format = "sha256" -hash = "a730bcc8a26f92895632458bc1a0e21eed729ea63d2f8ea28db5ddd899fd2e13" +hash = "0dc33c4171bd5932dd9a6312977f8766b1ba6299ffc2321033eb58fe0e20b60d" [versions] minecraft = "1.21.1"