
Waystones Item Cost Extended
Extend Waystones with compressed and decompressed item payments and combined item costs.
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
CoinContainerMoneyHandleron 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
recipePaymentssetting inconfig/waystones-item-cost-extended.propertiesdefaults tofalseand 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
Как поиграть с друзьями с модом Waystones Item Cost Extended?
Мод Waystones Item Cost Extended куда интереснее в компании: поднимите сервер Майнкрафт с уже установленным модом, позовите друзей и играйте по своим правилам. Хостинг Майнкрафт для мода Waystones Item Cost Extended будет готов за пару минут - BungeeHost сделает всё за вас.
