How to use

Release the scroll to spend TREASURY_PROJECTION_SCROLL_MANA_COST and receive one Treasury Projection Gauntlet.

Function

Controls

Hold right-click to operate the gauntlet. Sneak and right-click to cycle among Targeted Mode, Chains Mode, and AOE Mode; the selected mode is shown above the hotbar.

Available equipment

Targeted and AOE modes can copy weapons, tools, shields, shears, fishing rods, hoes, and tridents. The gauntlet searches the inventory, supported containers, and Ender Chest. TREASURY_PROJECTION_ENDER_CHEST_ONLY limits this search to the Ender Chest and supported containers inside it.

TREASURY_PROJECTION_BLACKLIST always rejects matching item IDs. The allowlist adds otherwise ineligible items. TREASURY_PROJECTION_ALLOW_ALL permits every item not on the blacklist, while TREASURY_PROJECTION_DENY_ALL disables the default equipment categories but still permits allowlisted items.

Targeted Mode

While the gauntlet is held in use, Targeted Mode repeatedly chooses a random eligible stored item and creates a copy around the target. Each successful projectile costs TREASURY_PROJECTION_GAUNTLET_MANA_COST; the base interval is TREASURY_PROJECTION_COOLDOWN ticks before inventory scaling is applied.

Target priority is the living entity under the crosshair, then the aimed-at block, then the nearest terrain below the distant look point. Entity targeting uses GLOBAL_LOOK_RANGE.

Projectiles spawn between TREASURY_PROJECTION_DISTANCE - TREASURY_PROJECTION_MIN_DISTANCE and TREASURY_PROJECTION_DISTANCE - 1 blocks away. TREASURY_PROJECTION_MIN_DISTANCE controls the width of this range and must be positive.

AOE Mode

AOE Mode creates a spread of copied equipment behind the caster and fires it forward along the caster's look direction. A firing pulse currently costs TREASURY_PROJECTION_AOE_MANA_COST once, regardless of how many copies that pulse creates, and uses TREASURY_PROJECTION_AOE_COOLDOWN as its base interval.

The number of copies is the lower of TREASURY_PROJECTION_AOE_MAX_SPAWNS and the eligible ordinary equipment count multiplied by TREASURY_PROJECTION_AOE_SWORDS_PER_SPAWN. A pulse creates at least one copy when equipment is available. Projected equipment can be selected but does not increase the count.

Chains Mode

Chains Mode does not use stored equipment. On activation it attempts to surround the selected target point with TREASURY_PROJECTION_CHAINS_COUNT chains, which accepts 1 through 120, then projects individual chains toward a selected living entity at intervals controlled by TREASURY_PROJECTION_CHAINS_COOLDOWN. Holding the mode long enough periodically repeats the surrounding burst.

Each attempted chain costs TREASURY_PROJECTION_CHAINS_MANA_COST, so a burst costs that amount multiplied by the chain count. Each surrounding chain also needs a solid anchor along its path.

Chains deal TREASURY_PROJECTION_CHAINS_DAMAGE magic damage and pull intersecting creatures toward their origin. A hit dealing more than four damage makes a chain retract. CHAIN_VOLUME controls chain sounds.

Inventory scaling

Targeted and AOE timing improves with eligible ordinary equipment available to the gauntlet. Each counted entry reduces the launch delay by TREASURY_PROJECTION_SPEED_INCREASE_PER_SWORD and the firing interval by TREASURY_PROJECTION_COOLDOWN_INCREASE_PER_SWORD. The minimums are set by TREASURY_PROJECTION_SPEED_MIN and TREASURY_PROJECTION_COOLDOWN_MIN.

When TREASURY_PROJECTION_INCREASE_REQUIRES_UNIQUE is true, copies of the same item ID count once; otherwise, every eligible entry counts. Projected items never count toward this scaling.

Projected attacks

Copied projectiles cannot be picked up. On contact, they use the copied item's attack behavior and enchantments.

They avoid targets protected from the caster's spells or by the caster's Geas. Clarent copies can draw mana from their owner for Clarent's normal attack.

Despawning

TREASURY_PROJECTION_DESPAWN_AFTER_LAND makes copied equipment disappear immediately after embedding in the ground.

Appearance

Weapon and chain colors are configured separately in Mahou Tsukai's player settings.

Configuration

SettingDefaultRangeEffect
TREASURY_PROJECTION_SCROLL_MANA_COSTmahoutsukai-server.tomlprojectiontreasury10000–100000000 manaMana cost to release a Treasury Projection scroll and create the gauntlet.
TREASURY_PROJECTION_GAUNTLET_MANA_COSTmahoutsukai-server.tomlprojectiontreasury1200–100000000 manaMana cost of each copied projectile created in Targeted Mode.
TREASURY_PROJECTION_COOLDOWNmahoutsukai-server.tomlprojectiontreasury101–100000000 ticksBase interval between copied projectiles in Targeted Mode before inventory scaling.
TREASURY_PROJECTION_CHAINS_MANA_COSTmahoutsukai-server.tomlprojectiontreasury1200–100000000 mana per chainMana cost for each chain attempted in Chains Mode; surrounding bursts multiply this by the configured chain count.
TREASURY_PROJECTION_CHAINS_COOLDOWNmahoutsukai-server.tomlprojectiontreasury101–100000000 ticksInterval between attempts in Chains Mode; chain lifetime is also measured against this interval.
TREASURY_PROJECTION_CHAINS_COUNTmahoutsukai-server.tomlprojectiontreasury161–120 chainsNumber of chains attempted by the initial and periodic surrounding bursts.
TREASURY_PROJECTION_CHAINS_DAMAGEmahoutsukai-server.tomlprojectiontreasury10–100000000 damageMagic damage dealt whenever a chain intersects a living entity.
TREASURY_PROJECTION_AOE_MANA_COSTmahoutsukai-server.tomlprojectiontreasury1200–100000000 mana per firing pulseMana charged once for each AOE firing pulse, regardless of its number of copied projectiles.
TREASURY_PROJECTION_AOE_COOLDOWNmahoutsukai-server.tomlprojectiontreasury41–100000000 ticksBase interval between AOE firing pulses before inventory scaling.
TREASURY_PROJECTION_DISTANCEmahoutsukai-server.tomlprojectiontreasury200–100000000 blocksUpper value used for Targeted Mode's spawn distance. The range is DISTANCE minus MIN_DISTANCE through DISTANCE minus 1.
TREASURY_PROJECTION_MIN_DISTANCEmahoutsukai-server.tomlprojectiontreasury80–100000000 blocksWidth of Targeted Mode's random spawn distance. Larger values allow a wider range; the value must be at least 1.
TREASURY_PROJECTION_SPEEDmahoutsukai-server.tomlprojectiontreasury300–100000000 launch delay valueBase launch delay for copied equipment before inventory scaling; lower values launch sooner.
TREASURY_PROJECTION_ALLOW_ALLmahoutsukai-server.tomlprojectiontreasuryfalseAllows every item except those in `TREASURY_PROJECTION_BLACKLIST` to be copied.
TREASURY_PROJECTION_DENY_ALLmahoutsukai-server.tomlprojectiontreasuryfalseDisables the default eligible equipment categories. The allowlist and ALLOW_ALL can still permit items, while the blacklist always blocks them.
TREASURY_PROJECTION_WHITELISTmahoutsukai-server.tomlprojectiontreasury[]Additional item registry IDs accepted by Treasury Projection unless they are also blacklisted.
TREASURY_PROJECTION_BLACKLISTmahoutsukai-server.tomlprojectiontreasury[]Item registry IDs always rejected by Treasury Projection.
TREASURY_PROJECTION_SPEED_INCREASE_PER_SWORDmahoutsukai-server.tomlprojectiontreasury1-10000–10000Amount subtracted from the launch delay for each distinct eligible ordinary item ID.
TREASURY_PROJECTION_SPEED_MINmahoutsukai-server.tomlprojectiontreasury101–100000 launch delay valueMinimum launch delay after Treasury Projection inventory scaling.
TREASURY_PROJECTION_COOLDOWN_INCREASE_PER_SWORDmahoutsukai-server.tomlprojectiontreasury1-10000–10000 ticksAmount subtracted from Targeted and AOE firing intervals for each distinct eligible ordinary item ID.
TREASURY_PROJECTION_COOLDOWN_MINmahoutsukai-server.tomlprojectiontreasury31–100000 ticksMinimum Targeted or AOE firing interval after inventory scaling; fractional results are truncated to whole ticks.
TREASURY_PROJECTION_AOE_MAX_SPAWNSmahoutsukai-server.tomlprojectiontreasury31–100000 projectiles per pulseMaximum number of copied projectiles used by an AOE pulse and its spawn spread.
TREASURY_PROJECTION_AOE_SWORDS_PER_SPAWNmahoutsukai-server.tomlprojectiontreasury50–100000Multiplier applied to the distinct eligible ordinary item count when determining copies per AOE pulse.
TREASURY_PROJECTION_INCREASE_REQUIRES_UNIQUEmahoutsukai-server.tomlprojectiontreasurytrueWhen true, scaling counts each eligible ordinary item ID once. When false, every eligible ordinary inventory entry contributes.
TREASURY_PROJECTION_ENDER_CHEST_ONLYmahoutsukai-server.tomlprojectiontreasuryfalseWhen true, limits equipment selection to the Ender Chest and supported item-storage containers inside it.
TREASURY_PROJECTION_DESPAWN_AFTER_LANDmahoutsukai-server.tomlprojectiontreasuryfalseMakes copied equipment disappear immediately after it embeds in a block.
GLOBAL_LOOK_RANGEmahoutsukai-server.tomlgeneral1000–100000000 blocksMaximum unobstructed selection range shared by several spells and items.
CHAIN_VOLUMEmahoutsukai-server.tomlvolume20–10 volume multiplierVolume of chains created by Treasury Projection.