COWMODSКаталог модов

Waystones Item Cost Extended

Extend Waystones with compressed and decompressed item payments and combined item costs.

Автор: THE_cattail2,1 тыс.3обновлён 24 окт. 2026 г.
ПриключенияМагияТранспорт

Описание

Waystones Item Cost Extended is a Waystones add-on for compressed and decompressed item payments and combined item costs.

Configure item costs through warpRequirements in versions of Waystones that support it.

You can combine several item types in the same payment. For example, charge 3 emeralds and 2 oak logs:

warpRequirements = [
    "add_item_cost(minecraft:emerald, 3)",
    "add_item_cost(minecraft:oak_log, 2)"
]

On Minecraft 26.x, use Waystones’ Shogi syntax:

warpRequirements = [
    "item_cost('minecraft:emerald', 3)",
    "item_cost('minecraft:oak_log', 2)"
]

You can also allow items connected by reversible compression and decompression recipes to be used for payment. Set the following in config/waystones-item-cost-extended.properties, then restart the game or server:

recipePayments=true

For example, with a cost of 3 iron ingots, you can pay with 27 iron nuggets or 1 iron block and receive 6 iron ingots in change.

warpRequirements = ["add_item_cost(minecraft:iron_ingot, 3)"]

On Minecraft 26.x:

warpRequirements = ["item_cost('minecraft:iron_ingot', 3)"]

Lightmans Currency integration

On Minecraft 1.21.1 (NeoForge), Waystones Item Cost Extended provides optional native integration with Lightmans Currency (1.21-2.3.0.6+). It is never bundled and not required.

When present, registered coins can be used directly in warpRequirements:

warpRequirements = [
    "add_item_cost(lightmanscurrency:coin_iron, 20)",
    "add_item_cost(minecraft:oak_log, 2)"
]
  • Coin Selection: Charges any coin registered in Lightman's native CoinAPI, including custom coin chains. Separate coin chains cannot fund one another.
  • Payment Storage: Evaluates equipped native and Curios wallets via WalletHandler, hotbar slots, main inventory, and occupied offhand coin stacks. Bank accounts are not debited, and loose wallets inside inventory slots are not opened.
  • Transaction Safety: Uses native CoinContainerMoneyHandler on snapshot copies of wallet contents and inventory slots. Combined item and coin costs preview together and commit after checking both inventory and wallet snapshots; all changed touched storage is guarded before commit. Native requirement rollback restores snapshots once when storage still matches the committed state; changed touched slots are never overwritten. Creative mode and zero-cost routes bypass payment entirely.
  • Denomination Arithmetic & Change: Respects configured exchange rates and preserves wallet auto-exchange settings. If change cannot fit into the wallet or main inventory, the charge is refused upfront during preview, preventing partial debits or dropped items.
  • Configuration: Native coin payments require no toggle. The recipePayments setting in config/waystones-item-cost-extended.properties defaults to false and solely controls reversible crafting conversions.

Installation requirements

Install the following dependencies:

Screenshots

Combined item costs — destinations charge different combinations of emeralds and oak logs. Both items are deducted after teleporting.

Combined item costs before teleporting Emeralds and oak logs deducted after teleporting

Decompressed item payments — paying an iron-ingot cost with iron nuggets.

Iron nuggets before teleporting Iron nuggets after teleporting

Compressed item payments — paying an iron-ingot cost with iron blocks.

Iron blocks before teleporting Iron blocks and returned ingots after teleporting

Галерея

Combined item costs before teleportingEmeralds and oak logs after teleportingPay an iron-ingot cost with iron nuggetsIron nuggets after teleporting

Последние версии

Все версии →
release

Waystones Item Cost Extended 1.2.0 — 1.21.1 NeoForge

1.2.0+1.21.1-neoforge
24 окт. 2026 г.65Minecraft: 1.21.1neoforge
Скачать
Что нового
Waystones Item Cost Extended 1.2.0 adds optional native integration with Lightmans Currency (1.21-2.3.0.6+) on Minecraft 1.21.1 NeoForge. Lightmans Currency is optional and never bundled. Teleport requirements can charge any coin registered in native CoinAPI, including custom chains. Separate chains cannot fund one another. Coins are drawn from equipped native or Curios wallets via WalletHandler, hotbar, main inventory, and occupied offhand stacks. Bank accounts are not debited, and loose wallets are not opened. Native CoinContainerMoneyHandler evaluates pre-mutation snapshots for combined previews, committing after checking both inventory and wallet snapshots; all changed touched storage is guarded before commit. Native requirement rollback restores touched slots and wallet snapshots once when storage still matches the committed state; changed touched slots are never overwritten. Creative mode and zero-cost routes remain free. Denomination arithmetic honors configured rates and wallet auto-exchange settings. Charges are refused upfront if change cannot fit into the wallet or main inventory. Native coin costs require no toggle; recipePayments remains false by default.
release

Waystones Item Cost Extended 1.1.1 — 26.2 NeoForge

1.1.1+26.2-neoforge
4 окт. 2026 г.35Minecraft: 26.2neoforge
Скачать
Что нового
- Improve Waystones menu responsiveness when recipe payments are enabled by avoiding repeated searches through compression and decompression recipes. Conversion ratios and payment behavior are unchanged.
release

Waystones Item Cost Extended 1.1.1 — 26.2 Fabric

1.1.1+26.2-fabric
4 окт. 2026 г.37Minecraft: 26.2fabric
Скачать
Что нового
- Improve Waystones menu responsiveness when recipe payments are enabled by avoiding repeated searches through compression and decompression recipes. Conversion ratios and payment behavior are unchanged.
release

Waystones Item Cost Extended 1.1.1 — 26.1.2 NeoForge

1.1.1+26.1.2-neoforge
4 окт. 2026 г.28Minecraft: 26.1.2neoforge
Скачать
Что нового
- Improve Waystones menu responsiveness when recipe payments are enabled by avoiding repeated searches through compression and decompression recipes. Conversion ratios and payment behavior are unchanged.
release

Waystones Item Cost Extended 1.1.1 — 26.1.2 Fabric

1.1.1+26.1.2-fabric
4 окт. 2026 г.34Minecraft: 26.1.2fabric
Скачать
Что нового
- Improve Waystones menu responsiveness when recipe payments are enabled by avoiding repeated searches through compression and decompression recipes. Conversion ratios and payment behavior are unchanged.
release

Waystones Item Cost Extended 1.1.1 — 1.21.9 NeoForge

1.1.1+1.21.9-neoforge
4 окт. 2026 г.20Minecraft: 1.21.9neoforge
Скачать
Что нового
- Improve Waystones menu responsiveness when recipe payments are enabled by avoiding repeated searches through compression and decompression recipes. Conversion ratios and payment behavior are unchanged.
release

Waystones Item Cost Extended 1.1.1 — 1.21.9 Fabric

1.1.1+1.21.9-fabric
4 окт. 2026 г.21Minecraft: 1.21.9fabric
Скачать
Что нового
- Improve Waystones menu responsiveness when recipe payments are enabled by avoiding repeated searches through compression and decompression recipes. Conversion ratios and payment behavior are unchanged.
release

Waystones Item Cost Extended 1.1.1 — 1.21.8 NeoForge

1.1.1+1.21.8-neoforge
4 окт. 2026 г.20Minecraft: 1.21.8neoforge
Скачать
Что нового
- Improve Waystones menu responsiveness when recipe payments are enabled by avoiding repeated searches through compression and decompression recipes. Conversion ratios and payment behavior are unchanged.
release

Waystones Item Cost Extended 1.1.1 — 1.21.8 Forge

1.1.1+1.21.8-forge
4 окт. 2026 г.20Minecraft: 1.21.8forge
Скачать
Что нового
- Improve Waystones menu responsiveness when recipe payments are enabled by avoiding repeated searches through compression and decompression recipes. Conversion ratios and payment behavior are unchanged.
release

Waystones Item Cost Extended 1.1.1 — 1.21.8 Fabric

1.1.1+1.21.8-fabric
4 окт. 2026 г.19Minecraft: 1.21.8fabric
Скачать
Что нового
- Improve Waystones menu responsiveness when recipe payments are enabled by avoiding repeated searches through compression and decompression recipes. Conversion ratios and payment behavior are unchanged.