SomebodyMakeAConstruct/kubejs/client_scripts/tinkersight.js
2024-06-02 17:24:46 -05:00

105 lines
3.3 KiB
JavaScript

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.tooltip(tooltip => {
tools.forEach(tool => {
tooltip.add(tool, "§4But that's not a construct, is it?");
});
armors.forEach(armor => {
tooltip.add(armor, "§4Tinker would be ashamed.");
});
});