Skip to content

Forging Table Addon pour Minecraft 1.21.90

Forging Table est un addon qui introduit une nouvelle mécanique de forgeage similaire à une enclume ou une table de forge, mais très facile à personnaliser pour les développeurs avec la capacité de désenchanter les armes.

à partir de qduoubp · CurseForge
vues
13 vues
Mis à jour
Mis à jour 18.10.2026
  • 1.21.80 — 1.21.90

À propos de l'addon Forging Table

Forging Table is an addon that introduces players a new forging mechanic that similar to an anvil or smithing table. Still, it is very easy for developers to customize with disenchanting weapon ability.

Forging Table UI Panel

Forging Table — capture 2

Forging Table Recipe

Forging Table — capture 3

Features:

  • Forging Table API
  • Built-in disenchanting ability
Forging Table — capture 4
  • Built-in curse-removing ability
Forging Table — capture 5

Compatibility

If you are an addon developer who wants to add your custom forging table recipe, you can do it by copying the forging table module to your addon script folder from this behavior pack in the folder "scripts/module/ForgingTableModule.js".

Example code:

scripts/disenchant.js

import { ForgingTableModule } from "./module/ForgingTableModule"; import { ItemStack } from "@minecraft/server";

ForgingTableModule.registerForgingRecipe( { primary: { tag: [ "minecraft:is_tool", "minecraft:is_armor"] }, secondary: { item: [ "minecraft:book", "minecraft:enchanted_book" ] }, tool: { item: "minecraft:echo_shard" }, cost: 4 }, data =>{ let enchantable = data.result.getComponent("minecraft:enchantable"); if(enchantable && data.secondary && data.secondary.amount == 1){ let enchantments = enchantable.getEnchantments(); if(enchantments.length > 0 && !enchantable.hasEnchantment("binding") && !enchantable.hasEnchantment("vanishing")){ let book_enchantable = data.secondary.getComponent("minecraft:enchantable"); if(!book_enchantable.hasEnchantment(enchantments[0].type)){ let out_book = new ItemStack("minecraft:enchanted_book"); out_book.getComponent("minecraft:enchantable").addEnchantments(book_enchantable.getEnchantments().concat(enchantments[0])); data.secondary = out_book; enchantable.removeEnchantment(enchantments[0].type); if(data.tool.amount > 1){ data.tool.amount -= 1; }else{ data.tool = undefined; } data.primary = undefined; }else{ data.cancel = true; } }else{ data.cancel = true; } }else{ data.cancel = true; } } )

Versions

MinecraftLoaderFichierDateActions
1.21.90—Forging Table Resource v1.010.8 Ko

FAQ

Which Minecraft versions does Forging Table work on?

There are files for 1.21.90, 1.21.80. The newest is 1.21.90.

Where can I download Forging Table safely?

On this page: the file Forging Table Resource v1.0.mcpack (11 KB) is stored on Millida’s server, with no link shorteners. SHA-1 checksum: 9b0b72d1956971c1828bc1b179037b017b48eceb.

Avis

Soyez le premier à noter Forging Table

Commentaires 0

Connectez-vous pour commenterSe connecter

Addons similaires

Tous les addons

En savoir plus