← Назад к ресурсам

Waystones Item Cost Extended

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

Modrinth adventure magic transportation

Описание

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: ```toml warpRequirements = [ "add_item_cost(minecraft:emerald, 3)", "add_item_cost(minecraft:oak_log, 2)" ] ``` On Minecraft 26.x, use Waystones’ Shogi syntax: ```toml 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: ```properties 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. ```toml warpRequirements = ["add_item_cost(minecraft:iron_ingot, 3)"] ``` On Minecraft 26.x: ```toml warpRequirements = ["item_cost('minecraft:iron_ingot', 3)"] ``` ## Installation requirements Install the following dependencies: - [Waystones](https://modrinth.com/mod/waystones) - [RinLib](https://modrinth.com/mod/rinlib) ## Screenshots **Combined item costs** — destinations charge different combinations of emeralds and oak logs. Both items are deducted after teleporting. ![Combined item costs before teleporting](https://cdn.modrinth.com/data/CXi2TSAN/images/c9ea8ccab13217e98b4c08eef9807c94d219d170.png) ![Emeralds and oak logs deducted after teleporting](https://cdn.modrinth.com/data/CXi2TSAN/images/188f6c43c9973cacc0e909b2355104b30d90c2e1.png) **Decompressed item payments** — paying an iron-ingot cost with iron nuggets. ![Iron nuggets before teleporting](https://cdn.modrinth.com/data/CXi2TSAN/images/1054ef8e2a5efa1f5a6a51b54e13c78705f27c05.png) ![Iron nuggets after teleporting](https://cdn.modrinth.com/data/CXi2TSAN/images/180da901591b0962cd490b9110b531392d20dabf.png) **Compressed item payments** — paying an iron-ingot cost with iron blocks. ![Iron blocks before teleporting](https://cdn.modrinth.com/data/CXi2TSAN/images/77710104e29eeeeb35954463b68c0aeb274cdf63.png) ![Iron blocks and returned ingots after teleporting](https://cdn.modrinth.com/data/CXi2TSAN/images/faf7b25736f0deb5c20fc8a132383c39f39726ef.png)