NeoOrigins v2.2.43 (MC 26.3)
Curse Maven Snippet
What's new
Powers that place or break blocks now respect spawn protection and land claims, and admins can switch the check off. Sneaking holds wall climbers in place, resource bars can be resized in the HUD editor in any game mode, and the Night Vision key switches class and origin night vision again. Gated powers update on the player's own screen whenever their condition flips, so a gated elytra glides again after a respawn. Pack authors can test for any fluid at a player's feet, empty an entity set and have its entries expire, and a
delaykeeps the target it was scheduled with.Supports: Minecraft 26.1.x (Java 25) · Minecraft 26.2 (Java 25) · Minecraft 26.3 (Java 25) · Minecraft 1.21.1 (Java 21)
Changes
Powers that change blocks respect spawn protection and claims. Stone Wall placed cobblestone inside spawn protection and land claims, and so did every other power that places or breaks blocks. Placing, breaking, the block actions, tree felling, Flame Breath fire and a destructive or fire-making
explodenow happen only where the player whose power it is could build by hand: not inside spawn protection, outside the world border, in Adventure or Spectator mode, or where a claim mod refuses it through NeoForge's place and break events. Operators stay exempt from spawn protection, as in vanilla, and spawn protection only exists on a dedicated server. An action run on another player, such as the classic Arachnid's Webbing, checks the caster's rights at that spot, not the struck player's. A refusedactive_place_blockplaces nothing, shows "You can't build here" and spends no cooldown, hunger or resource, and tree felling stops at a log the player couldn't break. A power's explosion leaves blocks standing inside spawn protection, outside the border and for a player in Adventure or Spectator mode, and inside a claim the claim mod's own explosion setting decides. Placing and breaking by powers also fires the same place and break events a player's own building does, naming the power's owner, so block loggers record them. Passive crop growth, entities spawned byspawn_entityorspawn_projectile, such as TNT, large fireballs or lightning, and commands are not checked, though a player-owned small fireball, as in Flame Breath, still is. See Build protection.An
exploderun on another player is the caster's explosion. Anexplodein an action run on another player, such as atarget_action, went off as that player's own explosion, so it spared them, could hurt the caster standing nearby, and claim mods judged it by the struck player. It still goes off where they stand, but now as the explosion of the player whose power it is: it hurts the struck player, spares the caster, and claim mods judge it by the caster. No built-in power usesexplode. Seeexplode.Resource bars can be resized in the HUD editor. A bar's size could only be set with the origin editor's sliders, which need Creative or
show_origin_editor, so a survival player with an oversized bar, set in Creative or shipped in a modpack'shud.json, could not shrink it without turning onshow_origin_editorin their client config. Clicking a bar in the HUD editor now selects it, and the + and - buttons, or scrolling over it, set its size from 50% to 200% in 25% steps. Bar sizes save with their positions, and Reset All returns every bar in the editor to its normal size. See Cooldowns & HUD.Delayed actions keep their target (#158, #159).
delayran its action without the event it was scheduled in, so a delayed action that reads the entity a player hit, killed or interacted with, the one their projectile struck, or the one araycasthit, did nothing. Wrappingremove_from_setin adelayto make a mark fade silently kept the entry. The action now runs with that event, so target verbs act on its entity. Adelayinside a block use, a bonemeal or araycastblock hit now runs block verbs on that block, andexecute_command's~ ~ ~there is that block instead of the player's position. If a mob target has died, unloaded or changed dimension by then, or a player target has died or logged out, the action runs without the event, thoughremove_from_setstill takes the target out of its set. A kill's victim stays the target until its body is removed, about a second for a mob. Seedelay.
Configuration
- Build protection can be switched off.
admin.tomlhas a new[world_protection]section withrespect_build_protection,trueby default. Set it tofalseand powers change blocks wherever they could before, without firing place and break events. Commands run by powers are not checked, since a command can change blocks anywhere, not only where it runs, so the admin docs suggest addingsetblock,fill,cloneandplaceto the command power blacklist on servers that rely on claims. This covers commands written in the power itself, not ones inside a/functionit calls. On the first start after updating, NeoForge logs once each thatadmin.tomlandcontent.tomlare "not correct" while it adds the new section and updated comments. This is harmless. See Build protection.
Bug Fixes
The Night Vision key switches class and origin night vision. Since 2.2.23 the key counted only night vision from
persistent_effectpowers, so a player whose night vision came fromenhanced_vision, such as a Miner with Deep Sense or a classic Feline with Nocturnal, was told their origin had no night vision and could not turn it off. A player who had switched night vision off on an earlier origin was left in the dark, with no way to turn it back on. The key now switchesenhanced_visiontoo, and Deep Sense, Hawk Eye, Divine Sight, Keen Sight and Nocturnal name the key in their English descriptions.disable_night_visionincontent.tomlalso darkensenhanced_vision, and the docs now say so instead of calling the two independent. See Built-in keybinds and Global toggles.The HUD editor works on 26.3, and Edit HUD shows for abilities. Minecraft 26.3 renumbered the mouse buttons, so no click started a drag in the HUD editor: bars and the ability cluster could not be moved, and the scroll bar on the origin info and picker screens could not be dragged or clicked. They respond to the left button again. The pause menu also showed Edit HUD only while the player had a resource bar, and its keybind is unbound by default, so an origin with abilities but no bar could reach the editor only by binding that key. The button now shows while there is a resource bar or an ability slot. See Cooldowns & HUD.
Sneaking holds wall climbers in place. A wall climber counted as climbing only while their move pushed into the wall, so a sneaking climber who let go of the movement keys fell a tick later. Sneaking now holds them while a wall is right beside them, and resets their fall the way a ladder does. Pushing into a wall climbs as before, and sneak plus jump climbs from the hold. Climbing and holding only work off the ground, flying, elytra gliding and riding never hold, and a floor, a ceiling or an entity beside the player doesn't count as a wall. See
wall_climbing.Gated powers follow their condition on the player's own screen. The player's game decides gliding, walking on fluids, hidden hunger and air bars, vision and more from what the server last sent it, and that leaves out what a power does while its
power_conditionor ownconditionis off. Only a few movement powers sent an update when their condition flipped, so anelytra_flightpower gated on armour or rain lost its glide after a respawn or login taken while it was off. A power could likewise keep working on the player's screen after the server had switched it off. What a power does on the player's screen now updates within a quarter of a second of its condition flipping, and phasing, wall climbing and holding on to a wall, cobweb climbing, aiming through cobwebs, forced poses, forced swimming, being kept from swimming, ignoring water or other fluids, breathing in water or lava, and running out of air outside a fluid update on the same tick. See Power basics.Pack commands run at permission level 2 on 26.x. On Minecraft 26.1, 26.2 and 26.3,
execute_commandandraycast'scommand_along_rayandcommand_at_hitran their commands with the server's own owner permission, where 1.21.1 and the docs use level 2, the level of a command block. A pack command could therefore run admin commands the command power blacklist does not list. They now run as the player at level 2, as on 1.21.1, so packs can still run/function,/effectand/givefor players who aren't operators. Seeexecute_command.The origin screen shows the right key for each skill. The origin screen counted every active power as a skill, but the server gives a skill slot only to active powers without a named or vanilla key and without
"disable_hotkey": true. Twoactive_abilitypowers sharing"key": 2showed the keys of skill slots they don't use, such as Skill 2 and Skill 3 (S2 and S3 while unbound), and every real skill after them showed the wrong key. The screen now uses the server's rule, on a dedicated server too. See Keybinds.The origin screen shows the key for numbered and pack hotkeys. A power with
"key": N, or with a pack key such askey.mypack.dash, showed no key on the origin screen, bound or not, because every key starting withkey.was looked up as a vanilla control, and a nativeactive_abilitywith"key": Nshowed the key of a skill slot it didn't use. The screen now shows the key bound to that hotkey, or the hotkey's own name, such as Hotkey 02, while it is unbound, so players know which control to bind. Vanilla keys show as before. See Numbered slots.
Pack Author Features
wall_climbingcan turn the sneak hold off. The newallow_holdingfield,trueby default, lets a sneaking climber hold on a wall. Set it tofalseand the power still climbs but never holds, for a climber who should have to keep moving. Seewall_climbing.submerged_incan test a player's feet and any fluid (#157). It tested only the fluid at the eyes, so a player standing in fluid one block deep never matched, and with nofluidit knew only water and lava. The new"at": "feet"passes while any fluid comes up past the bottom of the hitbox, asin_waterdoes, so it is false in a boat that is not under water."eyes"stays the default. With nofluid,submerged_innow matches any fluid andfluid_heightmeasures the tallest one, modded fluids included, where beforefluid_heightalways read 0. On 26.1 and 26.2, older NeoForge builds still see only fluids in the water and lava tags. Seesubmerged_inandfluid_height.clear_setempties an entity set (#158). A pack had no way to empty an entity set:remove_from_settakes out only the entity being targeted, so a pack could not reset a set or stop one growing. The newclear_setaction empties a named set on the player. It reads no target, so it works in any action slot, including a hotkey, adelayor akillhandler. Seeclear_set.add_to_setentries can expire (#158). The newtime_limitfield takes a number of ticks, 20 to a second, after which the entry leaves the set by itself, andin_setstops matching on the tick it runs out. The timer counts the server's game time and is saved with the player, so it keeps running while they are offline and holds through a relog or a restart. Adding an entity that is already in the set restarts its timer, and adding it withouttime_limitmakes it permanent.remove_from_setandclear_setdrop the timer with the entry. The docs include an example that marks whatever you hit for 10 seconds. Seeadd_to_set.
Compatibility (Apoli / Origins)
Origins packs'
climbingholds on sneak. A translatedorigins:climbingpower now holds a sneaking player on a wall and honours"allow_holding": false, which was dropped from a power with noconditionorhold_condition. In NeoOrigins the hold is always sneaking: ahold_conditiononly keeps the power switched on after itsconditionstops. Apoli 2.12'sholding_conditionis not read yet. See Compatibility.Origins packs'
time_limitonadd_to_setworks.time_limitwas ignored, so entries never expired. They now leave the set after that many ticks. NeoOrigins keeps the timer across a relog, expires an entry on the exact tick, reads neitheraction_on_addnoraction_on_remove, and makes an entity added again withouttime_limitpermanent, where Origins leaves the old timer running. Seeadd_to_set.submerged_inandfluid_heightmatch the fluid they name. Afluidother than water or lava, such as a modded fluid or a fluid tag, was read as water or lava bysubmerged_inand as no fluid at all byfluid_height. Both now match the fluid with that id in its still and flowing forms, the fluid type with that id, and every fluid in the fluid tag with that id, since Origins packs name a tag without a#. A#prefix names the tag alone. Water and lava match as before. Afluidthat isn't written as an id now makes both conditions false and logs a warning, and one that names no fluid, fluid type or tag matches nothing, where before both fell back to water or lava. See Naming a fluid.Origins packs'
explodeignoresdamage_self. Anexplodeis always the explosion of the player whose power it is and never hurts them, whateverdamage_selfsays. In Origins,damage_selfis true by default, so there the explosion also hurts the player it goes off on, even when that is the power's owner. See Compatibility.
Documentation
add_multiplied_totalgives its formula. Theattribute_modifierdocs calledamountthe amount to multiply by, but anadd_multiplied_totalmodifier multiplies the total by1 + amount, as in vanilla, so0.9raises the value by 90% and 10% less is-0.1. The docs now give the formula with examples. Seeattribute_modifier.
This mod has no additional files

