Blacksmith icon

Blacksmith -----

Adds Blacksmith and Scrapper traits to Citizens NPCs




- Adds a separate message for clicking an NPC with an empty hand
- Changes some API required by BlacksmithVisuals

I'm going to release BlacksmithVisuals very soon, so look out for the link to the Spigot page.

Edit: BlacksmithVisuals can be found here: https://www.spigotmc.org/resources/blacksmithvisuals.118714/
----------, Aug 7, 2024

Changes:
- Lots of bugs related to scrappers have been fixed.
- Blacksmiths and scrappers now make a sound after they have finished working, indicating success or failure.
- Some events have been added which will be used in a blacksmith add-on hopefully releasing soon.
----------, Jul 29, 2024

This is a huge update which adds a new scrapper trait that can be applied to Citizens NPCs. The scrapper is able to salvage armor trims into the trim template, trim material and the base item. It can remove the netherite from netherite items, returning the upgrade template, the netherite ingot and the base item turned into a diamond item. Of course, the scrapper is able to salvage tools, swords and armor into their crafting components as well. Optionally, the scrapper can even undo any crafting table recipe, including making four planks into a log.

Additionally, some tab-completions have been improved, a description is shown when executing a setting without providing a value, and some bugs have probably been fixed as well.

Note for existing users: A lot of configuration options have been moved around or renamed, but I've used a migration system based on Stargate's custom configuration, so every setting should be moved to the correct configuration node. Missing comments should appear as well.
----------, May 7, 2024

This update fixes a bug which was only present in new installations, and prevented blank configurations from being properly loaded.

Sorry for this fix being so delayed. I didn't get a notification for the message by Swede, and no one has mentioned the problem in the Discord linked to the "Ask Questions / Get Support" button.
----------, Nov 12, 2023

This version has several improvements to make things easier, as well as some important bug-fixes.

Added improvements:
- An alert should now be shown in the console if a new version is available.
- Anvil repairs. Anvils can be repaired if reforgeAnvils is set to true.
- reforgeAbleItems negation. A minus symbol (-) can be used in front of a material name or a preset to blacklist that item from reforgeAbleItems. This makes it much easier to remove specific items or groups of items.
- reforgeAbleItems can be changed globally using commands. With the introduction of negation, changing reforgeAbleItems could be useful to prevent elytras or netherite items from being repaired.
- basePrice and pricePerDurabilityPoint wildcards. When setting basePrice or pricePerDurabilityPoint, you can now use a "*" character to match anything. For example, setting basePrice for the material "netherite*" will set the price for all materials (limited to those than can be repaired) starting with netherite. For advanced users: Internally, the * is converted into .*, and a RegEx match is used.
- reforgeAbleItems' tab-completion has been improved, and now shows all presets and filters.

Fixes bugs:
- Fixes an incorrect permission check that looked for blacksmith.reforge instead of blacksmith.use
- Fixes the value of reforgeAbleItems in the config being ignored.
----------, Jan 11, 2023

This update fixes a bug in the input validation where 0 wasn't accepted as a valid value.

The "enchantmentBlocklist" option has been added, which allows specifying a list of enchantments blacksmiths should never add as part of random enchantments. By default, Curse of Vanishing, Curse of Binding and Mending is blocked.
----------, Nov 5, 2022

Resource Information
Author:
----------
Total Downloads: 483
First Release: Oct 26, 2022
Last Update: Aug 7, 2024
Category: ---------------
All-Time Rating:
3 ratings
Find more info at git.knarcraft.net...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings