NeoOrigins v2.2.44 (MC 26.2)
Curse Maven Snippet
What's new
The Blacksmith's Quality Craftsmanship now strengthens modded weapons, such as Expanded Combat's claymores, and servers can choose which items it covers. Resource bars sit above the armour row instead of behind it, Farmer and Rancher can be switched off in classic mode, and the classic Arachnid's Webbing webs mobs. Pack authors can place blocks and run
commandconditions on a mob target,trigger_cooldownholds on abilities and hit powers, and a cooldown bar takes its own label and colour.Supports: Minecraft 26.1.x (Java 25) · Minecraft 26.2 (Java 25) · Minecraft 26.3 (Java 25) · Minecraft 1.21.1 (Java 21)
Changes
Quality Craftsmanship reaches modded weapons. The Blacksmith's crafting bonus gave its attack damage only to swords, axes and tridents, and its mining speed only to items built on vanilla's tool classes, so a modded weapon built on a plain item, such as an Expanded Combat claymore, got the durability bonus and nothing else. A crafted item now also counts as a weapon when it is in the sword, axe or melee weapon item tags, or when it isn't a tool and its own attributes add main-hand attack damage. Tools also count through the pickaxe, axe, shovel, hoe, mining tool and shears tags, and armour through
#c:armors. A pickaxe still gets only the tool bonus, and on 1.21.1 the mace now gets the attack damage bonus. Seequality_equipment.Resource bars sit above the armour row (#166). Resource bars without a saved position were drawn at a fixed height, the same row as the armour bar, so the armour icons covered the bottom bar whenever a player wore armour. On 1.21.1 the bars were also drawn underneath the vanilla HUD. Bars now stack from the top of the hearts and armour, so they move up when armour shows and sit lower in Creative, where no hearts are drawn, and on 1.21.1 they are drawn over the vanilla HUD. The HUD editor's default spot matches, and a bar placed by hand in the HUD editor keeps its saved position. See Cooldowns & HUD.
Configuration
Quality Craftsmanship can be tuned in
power_overrides.toml. Only the Blacksmith's Efficient Repairs had a table, so a server could not change what Quality Craftsmanship covers without a datapack. The new[power_overrides.class_blacksmith_quality]table sets its four bonuses,bonus_attack_damage,bonus_mining_speed,bonus_armor_toughnessanddurability_multiplier, and four lists of item ids or#tags:weapon_items,tool_itemsandarmor_itemsadd items to that bonus, andexcluded_itemskeeps items from every bonus, durability included. For example,weapon_items = ["#c:tools/melee_weapon"]. A list left empty keeps the power's own. See Classes.Farmer and Rancher can be switched off (#167).
content.tomlhad no setting for the classic-mode Farmer and Rancher, so aclass_farmer = falseorclass_rancher = falseadded by hand was deleted the next time a world loaded, and both classes stayed in the picker. The[classes]section now has both,trueby default, andfalsehides the class in classic mode. Both stay classic-only: outside classic mode they are never offered, whatever the setting says. On the first start after updating, NeoForge logs once each thatcontent.tomlandpower_overrides.tomlare "not correct" while it adds the new keys. This is harmless. See[classes].
Bug Fixes
The classic Arachnid's Webbing webs mobs (#162).
set_blockandblock_action_atinside atarget_actionwere skipped whenever the target was a mob, so Webbing only ever webbed players. On a mob target,set_blocknow places at the mob's block, wherever the caster could build by hand, andblock_action_atruns itsblock_actionat the mob's block. The actions inside it still run as the caster, so@sin a command there is the caster, not the mob.block_action_atalso logs a warning when it has noblock_action, and says so when the inner action was written underactioninstead. Seetarget_actionandblock_action_at.The
commandcondition runs as a mob target (#165). Insidetarget_condition, acommandcondition was false whenever the target was a mob, and its command never ran. It now runs as the mob, so@sis the mob and a command can read its data, at permission level 2 and with the command power blacklist applied, as on players. Player targets work as before. Seecommand.trigger_cooldownholds on abilities (#163). Anactive_abilitythat usedtrigger_cooldownon itself, to give itself a longer cooldown than usual, lost it as soon as its action finished, because the ability then started its usual cooldown over the top. It now keeps whichever cooldown ends later.trigger_cooldownalso shows the cooldown on the ability HUD when the power holds a skill slot or the class slot, as the docs said it did. Seetrigger_cooldown.Hit and event powers respect
trigger_cooldown(#163). Atrigger_cooldownon anaction_on_hitoraction_on_eventpower set a timer the power never read, so it still fired on every hit or event. Both now wait for that cooldown to end, so a hit power can put itself on cooldown from its own action. Seeaction_on_hitandaction_on_event.Expired
add_to_setentries are removed (#158). An entry whosetime_limithad run out stopped matchingin_set, but stayed in the player's saved data until something next wrote to that set. Expired entries are now removed on the player's next tick, along with any set they leave empty. Seeadd_to_set.
Pack Author Features
quality_equipmenttakes item lists. Four new fields,weapon_items,tool_items,armor_itemsandexcluded_items, each take item ids or#tags. The first three add items to that bonus on top of the automatic checks, andexcluded_itemskeeps items from every bonus, durability included, ahead of everything else. An item inarmor_itemsgets toughness only if it is worn in the head, chest, legs or feet slot, and gets the durability bonus either way. Ids and tags that no loaded mod registers never match, and listed items also count at the workstations named inintercept_menus. Seequality_equipment.action_on_hithas acooldown(#163). The newcooldownfield takes the number of ticks, 20 to a second, after the power fires before it can fire again, and0, the default, means none. A longertrigger_cooldownon the power still stands. Event powers have no HUD slot, so to show the wait as a bar, trigger acooldownpower alongside. Seeaction_on_hit.A cooldown bar takes its own label and colour (#161). The
cooldownpower ignoredlabelandcolorinhud_render: the label was always made from the file name, and the colour never changed. Both are now read, and alabelthat is a translation key shows translated, on resource bars as well, so bar labels can be translated. Aneoorigins:cooldownwith ahud_renderblock now draws the same bar as a resource power unless it setssprite_location,bar_indexoricon_index, where before anyhud_renderblock switched it to the thinner sprite bar with an icon, and it no longer logs a namespace warning when packs load. The docs, which said itshud_renderhad the same shape as a resource's, now list the fields it reads and when each bar is drawn. Seeorigins:cooldownandresource.
This mod has no additional files

