skillsmith-1.0.1-1.21.1.jar
Curse Maven Snippet
What's new
CodeBadger: Skillsmith 1.0.1
New
For pack makers
- Wildcard ids: item, block, mob, potion and enchantment ids can use
*(minecraft:golden_*,*:*_ore) in locks, lists, perks, XP sources, anvil rules and workstations. A lock that names something by its own id replaces any wildcard lock that covers it, so you can lock a whole family (or a whole mod withsomemod:*) and still give single items their own locks. - Lock messages: any lock (items, blocks, brewing, enchantments, dimensions, mobs, anvil repair rules, and the anvil's
repair/enchant/rename) can have its ownmessage, shown in place of "Requires ...".{requirements}shows what's missing;{all_requirements}shows the whole lock, green for what you have and red for what you don't. - Places: XP sources and perks take
dimensionsandbiomes(ids, wildcards, or#biome groups) to count only there. Attribute perks switch on and off as players move. - Per-skill rules in
skills.json, all optional:starting_level: the level new players start at, and the floor for respecs and death loss.points_per_level: how many points each level uses, so strong skills can cost more.respec/respec_cooldown: whether this skill can be respecced, and its own cooldown.death_safe: this skill never loses levels on death.hidden: the skill still works but is left off the screen, leaderboard and popups.
- Milestone rewards:
rewardsinskills.jsongives items the first time a skill reaches a level. - XP curve choice:
skillXpCurveinskillsmith-common.toml(orxp_curveon a skill) picks the linear curve (default) or vanilla's XP curve for skills that level with skill XP. - Machine feedback: a machine listed in
gates/workstations/that won't make something tells nearby players why: its owner is missing a skill, or nobody owns it. Reword it with themachine_locked/machine_unownedevents infeedback.json(which also takedistanceandrepeat_seconds), or per workstation withmessage/unowned_message. /skillsmith why [item]: shows every lock on an item (or the one in your hand) and the file and entry each came from./skillsmith uncovered <mod>: lists a mod's items that have no lock yet./skillsmith export: writes every skill, perk, lock and XP source to Markdown, plus a CSV of item locks.- Advancement trigger:
codebadger_skillsmith:skilllets data packs and quest mods with advancement tasks (like FTB Quests) check skill levels and prestige ranks.
For players
- XP popups: "+12 Mining" notices as skills earn skill XP. Turn them off with
xpPopupsinskillsmith-client.toml. - Leaderboard: its own screen (J, rebindable) and
/skillsmith top, by skill or total level, including offline players.leaderboard = falseturns it off. - Dropdown filters: the Unlocks tab's skill and gate filters are dropdown lists.
- Smithing stamps on gear: tools and armor made with a Smithing durability bonus show the smith's level and the bonus ("Smithing Level 20, +25% durability (313, normally 250)"), including gear another player made.
For servers
- XP boosts:
/skillsmith boost <multiplier> <minutes> [skill]runs a timed skill XP boost, announced to everyone and kept across restarts. - Offline players:
/skillsmith offline <name> set|xp|setprestige|reset ...changes a player who isn't online, applied when they next join. - Creative:
creativeIgnoresLocks(default on) makes Creative players ignore every lock, including skill level requirements, and machines they own work while they're in Creative. Turn it off to test locks in Creative.
For addon and mod developers
- Lock text:
SkillsmithApi.describeRequirementanddescribeMissingwrite a lock the way Skillsmith's tooltips do. - Craft lock messages:
tellCraftLockedtells a player what crafting items needs using Skillsmith's stored locks, so a pack's own lock messages show up in addons' messages too. - Item stamps:
stampItemmarks items with an addon skill and a fixed level;stampItemLivewith one that follows the holder's current level;registerStampLineswrites the tooltip lines from that level;getStampLevelgives the level to apply. - Machine messages:
tellMachineRefusedlets other mods' machines show Skillsmith's "can't make X" message.
Changes
- Mining XP from stone: natural stone, deepslate, netherrack, basalt, blackstone and end stone give a little Mining XP (0.05 each, at most 3 a minute).
- Place-based XP: bonus XP for ores mined in the Nether and the End (for modded End ores), fish caught in oceans, and new ground explored in the End.
- Modded ores and ingots by name: ore XP and perks also match
*:*_ore, and ingot-smelting XP matches*:*_ingot, for mods that don't use the shared tags. - Balance: planting crimson and warped fungus needs Farming 8 (was 10).
- Respec messages name the level a skill goes back to, since it can now be a starting level.
Fixes
- Curios and Accessories slots: use locks now cover items worn in Curios or Accessories slots. A locked one is taken back out and returned to the inventory, like locked armor. Neither mod is required.
- Machines owned by Creative players no longer refuse locked recipes.
Note for existing configs
Default files never overwrite ones you already have. To get the new defaults (the stone, Nether, End and ocean XP sources, the ore and ingot wildcards, the fungus levels and the new feedback.json events), edit those files or delete them so they're rebuilt on the next launch. New settings in the .toml files are added automatically.
This mod has no additional files