Compatibility
Minecraft: Java Edition
Platforms
Supported environments
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Links
Details
Adds a simple /smithing
command.
When a player is holding an item that can be upgraded in the smithing table and is looking at a smithing table and is within 5 blocks (by default) of that smithing table, the command will consume 1 Netherite Ingot (that has no custom data) from the player's inventory and upgrade their diamond item to Netherite.
Built this specifically so that Geyser/Bedrock or other 1.20+ players playing on a Java 1.19.4 or below server can still make use of the smithing table.
An Update to Geyser has made it obsolete for this purpose.
Can also be used on a 1.20 server to negate the need for Netherite Upgrades.
Permissions and default values:
Permissions
permissions:
smithing.use:
description: Allows players to use the /smithing command.
default: true
smithing.anywhere:
description: Allows players to use the /smithing command without looking at a smithing table.
default: op
smithing.free:
description: Allows players to use the /smithing command without needing or consuming a Netherite Ingot.
default: false
Configurable Options and default values:
Config
# The max distance a player can be from the smithing table they're looking at when using /smithing
maxDistance: 5
# Whether the smithing table sound should be played when a player successfully uses /smithing
playSound: true
# Whether a message should be sent to the player when they use /smithing successfully
sendSuccessMessages: true
# Whether a message should be sent to the user when /smithing is used unsuccessfully
sendFailureMessages: true
# Whether a player in Creative Mode is required to have and use a Netherite Ingot (in-dependant of the smithing.free permission)
creativeSmithsFree: true
# Message strings, use '§' to add formatting. https://minecraft.wiki/w/Formatting_codes
logger.notPlayer: "Only players may use this command."
message.noPermission: "§cYou don't have permission to use this command.§r"
message.noTable: "§cYou must be looking at a smithing table to use this command.§r"
message.noIngot: "§cYou must have at least 1 Netherite Ingot.§r"
message.invalidItem: "§cYou cannot upgrade this item. Please hold the item you wish to upgrade in your main hand.§r"
message.success: "§aYou've successfully upgraded your item.§r"
Limitations:
Only works with the vanilla recipes, as they are hard-coded into the plugin
Does not check if the player running the command has access to and the ability to use the Smithing Table they are looking at, only that it is in their line of sight, and nearby.
As a disclaimer I should state, I do not have a way of testing geyser connections myself.