From 3fd739ac8d2dc9ff83606033c6b91d4965459fde Mon Sep 17 00:00:00 2001 From: Hexugory Date: Sun, 2 Jun 2024 17:07:17 -0500 Subject: [PATCH] tinker has come --- .../sounds/armor_fail.ogg | Bin 4115 -> 0 bytes .../survivalistessentials/sounds/bow_fail.ogg | Bin 4115 -> 0 bytes .../survivalistessentials/sounds/hoe_fail.ogg | Bin 4115 -> 0 bytes .../sounds/sword_fail.ogg | Bin 4115 -> 0 bytes .../sounds/tool_fail.ogg | Bin 4115 -> 0 bytes config/paxi/resourcepacks/FUCK/pack.mcmeta | 6 - config/survivalistessentials-client.toml | 3 - config/survivalistessentials-common.toml | 48 ------- index.toml | 58 +++------ kubejs/client_scripts/tinkersight.js | 105 ++++++++++++++++ kubejs/config/common.properties | 12 ++ kubejs/server_scripts/tinkerban.js | 4 + kubejs/startup_scripts/tinkermode.js | 117 ++++++++++++++++++ mods/survivalist-essentials.pw.toml | 13 -- mods/tinkersurvival.pw.toml | 13 -- pack.toml | 2 +- 16 files changed, 255 insertions(+), 126 deletions(-) delete mode 100644 config/paxi/resourcepacks/FUCK/assets/survivalistessentials/sounds/armor_fail.ogg delete mode 100644 config/paxi/resourcepacks/FUCK/assets/survivalistessentials/sounds/bow_fail.ogg delete mode 100644 config/paxi/resourcepacks/FUCK/assets/survivalistessentials/sounds/hoe_fail.ogg delete mode 100644 config/paxi/resourcepacks/FUCK/assets/survivalistessentials/sounds/sword_fail.ogg delete mode 100644 config/paxi/resourcepacks/FUCK/assets/survivalistessentials/sounds/tool_fail.ogg delete mode 100644 config/paxi/resourcepacks/FUCK/pack.mcmeta delete mode 100644 config/survivalistessentials-client.toml delete mode 100644 config/survivalistessentials-common.toml create mode 100644 kubejs/client_scripts/tinkersight.js create mode 100644 kubejs/config/common.properties create mode 100644 kubejs/server_scripts/tinkerban.js create mode 100644 kubejs/startup_scripts/tinkermode.js delete mode 100644 mods/survivalist-essentials.pw.toml delete mode 100644 mods/tinkersurvival.pw.toml diff --git a/config/paxi/resourcepacks/FUCK/assets/survivalistessentials/sounds/armor_fail.ogg b/config/paxi/resourcepacks/FUCK/assets/survivalistessentials/sounds/armor_fail.ogg deleted file mode 100644 index ec45eed49fe7d8810763887a4974d9a15af43289..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4115 zcmeHKeNaB4Ng z6G^aXpiDN6X`7~Qz$ArK9HGTpcXr10gQ8gEqoQlKTPs~a>h8GfA9ePh-Sb}Xqx(;H z$Ng((@7#Cax#ygF&b_~L-+kv6@7!6263}8P>iKnuBA@v4^|Oqp7%#opRBN?SjD*6Y z)C(c|5QBc7WE4{)9~5dNC26VpWB$(j-9#&+M% z(rxCn334}AkBV&`Q8=V?RZ9+xd(4O$@T#_j>vU^bBBywLh1Zd@9w?U@cvgys>Fzgr zbpuGXtd-6gMLyf{r~G>Yr(Ruw0dHRDT&_DAa2!>GGM;BBaU`qf1^`&vvkI!M=Cdbk0hl2W#QA9o2ot{x#)DBm5aa7P;4bFMCy^Wf10WJibzZdA{e z6>RhsUM@FZJ+b%mM{2d-l0^>(46#Y;j=p4@$*0x z58wJ@5PP6P>(L;?dNtU=*SG(HU`@_72sdzQ`MI~W-_9#i_>Q1%VPd`^>|4hYAKFJ6 zbK-y}APq~@&Ls`^n_8FXAg}2n@m{FSDDCU*>C7FKeQ=3x*4;k(LD~=5%5&Ir&-9-o z%l76?SM2_adM@Dja7)$h{vpyxM0{i_jh_&(*Cl7wdrB$GwJzelU{k8JHx8$e3JpTV ze-lh_Rz9qM6r1)%DV2F5v!?V1 zdrP0SOy$*-JzHbmviAl5-s%(0pTBAO{M%Q)e5BSap_iDB&^qrb!kbNaXY#x7B2B}H z6ls#FFVcNe(lwLs#f!XRt9NIszxVCHt+x+LW3&pwC>5%>qb=^f7I$w;*SyQy@V39V zFYwI8=IE2b%xDFc8_K^_M3U}bXoa3G}vubtfW zeyEO3-i{0yq&tT`x~OdD4gG}ws;?CLMIT=0)?Si_$BEVb)8)E$ZuqS_X(pLQL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.add(tool, "§4But that's not a construct, is it?"); + }); + armors.forEach(armor => { + tooltip.add(armor, "§4Tinker will not tolerate this."); + }); +}); \ No newline at end of file diff --git a/kubejs/config/common.properties b/kubejs/config/common.properties new file mode 100644 index 0000000..51fd4d1 --- /dev/null +++ b/kubejs/config/common.properties @@ -0,0 +1,12 @@ +#KubeJS Common Properties +#Wed May 22 21:46:13 CDT 2024 +allowAsyncStreams=false +announceReload=true +hideServerScriptErrors=false +ignoreCustomUniqueRecipeIds=false +matchJsonRecipes=true +packmode= +saveDevPropertiesInConfig=false +serverOnly=false +startupErrorGUI=true +startupErrorReportUrl= diff --git a/kubejs/server_scripts/tinkerban.js b/kubejs/server_scripts/tinkerban.js new file mode 100644 index 0000000..e2de0ef --- /dev/null +++ b/kubejs/server_scripts/tinkerban.js @@ -0,0 +1,4 @@ +ServerEvents.recipes(event => { + event.remove({ output: "#forge:tools" }); + event.remove({ output: "#forge:armors" }); +}); \ No newline at end of file diff --git a/kubejs/startup_scripts/tinkermode.js b/kubejs/startup_scripts/tinkermode.js new file mode 100644 index 0000000..7e5a3b3 --- /dev/null +++ b/kubejs/startup_scripts/tinkermode.js @@ -0,0 +1,117 @@ +const tools = [ + "minecraft:wooden_axe", + "minecraft:stone_axe", + "minecraft:iron_axe", + "minecraft:diamond_axe", + "minecraft:golden_axe", + "minecraft:netherite_axe", + "caverns_and_chasms:silver_axe", + "caverns_and_chasms:necromium_axe", + "minecraft:wooden_shovel", + "minecraft:stone_shovel", + "minecraft:iron_shovel", + "minecraft:diamond_shovel", + "minecraft:golden_shovel", + "minecraft:netherite_shovel", + "caverns_and_chasms:silver_shovel", + "caverns_and_chasms:necromium_shovel", + "minecraft:wooden_hoe", + "minecraft:stone_hoe", + "minecraft:iron_hoe", + "minecraft:golden_hoe", + "minecraft:diamond_hoe", + "minecraft:netherite_hoe", + "caverns_and_chasms:silver_hoe", + "caverns_and_chasms:necromium_hoe", + "minecraft:wooden_pickaxe", + "minecraft:stone_pickaxe", + "minecraft:iron_pickaxe", + "minecraft:golden_pickaxe", + "minecraft:diamond_pickaxe", + "minecraft:netherite_pickaxe", + "caverns_and_chasms:silver_pickaxe", + "caverns_and_chasms:necromium_pickaxe", + "minecraft:wooden_sword", + "minecraft:stone_sword", + "minecraft:iron_sword", + "minecraft:golden_sword", + "minecraft:diamond_sword", + "minecraft:netherite_sword", + "caverns_and_chasms:silver_sword", + "caverns_and_chasms:necromium_sword", + "minecraft:shield", + "minecraft:bow", + "minecraft:crossbow", + "minecraft:fishing_rod", + "minecraft:trident", + "quark:pickarang", + "quark:flamerang", + "quark:echorang" +] + +const armors = [ + "environmental:thief_hood", + "minecraft:leather_helmet", + "minecraft:turtle_helmet", + "minecraft:chainmail_helmet", + "minecraft:iron_helmet", + "minecraft:golden_helmet", + "minecraft:diamond_helmet", + "minecraft:netherite_helmet", + "caverns_and_chasms:silver_helmet", + "caverns_and_chasms:necromium_helmet", + "caverns_and_chasms:sanguine_helmet", + "quark:forgotten_hat", + "environmental:healer_pouch", + "minecraft:leather_chestplate", + "minecraft:chainmail_chestplate", + "minecraft:iron_chestplate", + "minecraft:golden_chestplate", + "minecraft:diamond_chestplate", + "minecraft:netherite_chestplate", + "caverns_and_chasms:silver_chestplate", + "caverns_and_chasms:necromium_chestplate", + "caverns_and_chasms:sanguine_chestplate", + "environmental:architect_belt", + "environmental:yak_pants", + "minecraft:leather_leggings", + "minecraft:chainmail_leggings", + "minecraft:iron_leggings", + "minecraft:golden_leggings", + "minecraft:diamond_leggings", + "minecraft:netherite_leggings", + "caverns_and_chasms:silver_leggings", + "caverns_and_chasms:necromium_leggings", + "caverns_and_chasms:sanguine_leggings", + "environmental:wanderer_boots", + "minecraft:leather_boots", + "minecraft:chainmail_boots", + "minecraft:iron_boots", + "minecraft:golden_boots", + "minecraft:diamond_boots", + "minecraft:netherite_boots", + "caverns_and_chasms:silver_boots", + "caverns_and_chasms:necromium_boots", + "caverns_and_chasms:sanguine_boots" +] + +ItemEvents.modification(event => { + //const whitelist = Ingredient.of(/minecraft:.*/); + + tools.forEach(tool => { + console.info(tool); + /*if (whitelist.test(tool)) { + console.info('pass'); + }*/ + event.modify(tool, item => { + item.maxDamage = 1; + }); + }); + + armors.forEach(armor => { + console.info(armor); + event.modify(armor, item => { + item.maxDamage = 1; + }); + }); +}); \ No newline at end of file diff --git a/mods/survivalist-essentials.pw.toml b/mods/survivalist-essentials.pw.toml deleted file mode 100644 index 6bc491b..0000000 --- a/mods/survivalist-essentials.pw.toml +++ /dev/null @@ -1,13 +0,0 @@ -name = "Survivalist Essentials" -filename = "SurvivalistEssentials-1.19.2-4.2.0.15.jar" -side = "both" - -[download] -url = "https://cdn.modrinth.com/data/hFW7KOhm/versions/tyPRs9Fe/SurvivalistEssentials-1.19.2-4.2.0.15.jar" -hash-format = "sha1" -hash = "846a5848912115086f9e221e72ff4be956f81a0d" - -[update] -[update.modrinth] -mod-id = "hFW7KOhm" -version = "tyPRs9Fe" diff --git a/mods/tinkersurvival.pw.toml b/mods/tinkersurvival.pw.toml deleted file mode 100644 index 28d963c..0000000 --- a/mods/tinkersurvival.pw.toml +++ /dev/null @@ -1,13 +0,0 @@ -name = "Tinkers' Survival" -filename = "TinkerSurvival-1.19.2-4.1.1.2.jar" -side = "both" - -[download] -url = "https://cdn.modrinth.com/data/KRi6s8j8/versions/6vBkyRPa/TinkerSurvival-1.19.2-4.1.1.2.jar" -hash-format = "sha1" -hash = "d7d0d5ec635857b5cc1c4840979fc65634fd98d3" - -[update] -[update.modrinth] -mod-id = "KRi6s8j8" -version = "6vBkyRPa" diff --git a/pack.toml b/pack.toml index a8ff68a..a264050 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 = "8f4e3c47ea9e888603e7de2a18e7ee38cc8a858f8ed418334bf90a7bd1bd9521" +hash = "bed938749b04d2b01a77bb7b368ba1d4ef1e67dc39650752774a5d6d3e3e03d5" [versions] forge = "43.3.13"