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

Walls of Wheat

Fully customizable, client dependent world borders for multiplayer servers. Allows for expanding the border with Wheat as a currency.

Автор: Pilot2061обновлён 14 мая 2026 г.
ЭкономикаМеханики игрыТехнологии

Описание

Walls of Wheat banner

Introduction

Walls of Wheat is a server and client mod, specifically curated for a server I am a part of. The mod is essentially two parts:

  1. A client-dependent world border mod. Allowing admins to fully customize and manage borders for each player on a multiplayer server.
  2. A Wheat storage GUI and trade system to get an item that can expand the world border for a set time. Designed for Wheat based currency multiplayer servers.

I bring this distinction up because the mod can be modified to purely be a client-dependent world border mod or offer helpful tools for Wheat currency servers. Though, the original intent is for the use case where both are needed. The idea is each player has their own world border that they can expand to explore the world, at the cost of farming Wheat.

Description

Walls of Wheat offers three new commands to interface with the mod:

/wheatborder
/worldwheatborder
/wheat

/wheatborder and /worldwheatborder are admin only commands. They serve as setup and management for the world borders, and share almost the same set of subcommands. The main difference is that /wheatborder has a player selector parameter (@a, @s, etc.), so it will modify a current player(s) border settings. /worldwheatborder is used to set the world's default border settings; which are applied to all new players who join the world (so no player selector is needed). So when a world is made, an admin can run /worldwheatborder commands to ensure every player who joins receives the same settings. If you want each player to have their own settings, you will need to run /wheatborder for each player. The /wheat command will be covered after an explaination of the Wheat GUI.

Border Setup

The following commands work between both /wheatborder and /worldwheatborder, the only difference being that the world variant does not use the player selector field. Additionally, the dimension field across all of these commands is not required. If you do not include the dimension, it will default to the dimension you are in. This allows the borders to be unique across all dimensions, for additional customization. Currently, only the Overworld, Nether, and End are supported.

/wheatborder …

  • set [] - sets the border size (diameter in blocks).
  • speed [open/close] [] - sets the default border movement speed in blocks per second. Can specify 'open' or 'close' for directional speeds.
  • center [] - sets the center position for the border.
  • penalty <damage/spawn_point/world_spawn/nudge/shove> [] - sets the penalty type when outside the border. Damage, does damage. Spawn point, teleports to your spawn point. World spawn, teleports to the world spawn. Nudge and Shove apply another parameter velocity to the player when come into contact with the closing border. If the player remains outside the border, Nudge will teleport the player back to their spawn point, and Shove will deal damage.
  • damage [] - sets the amount of damage per second dealt when outside the border. Must have the penalty set to damage.
  • enable [] - enables the border (shows it).
  • disable [] - disables the border (hides it).
  • max [] - sets the maximum border diameter in blocks.
  • duration [] - sets the time in seconds the border will remain open for.
  • accelerate <true/false> [] - enables or disables accelerated border closing with the specified range. Which means the border will instantly close to the range number of blocks away from the player. Allowing for slow closing speeds and large max sizes (otherwise the border would taken forever to close at a player sprint speed over 60 million blocks).
  • magnet [] - sets the item magnet distance in blocks (0 to disable). When standing within 1-2 blocks of the border, any items that are outside the border and within the magnet distance will be teleported to you.
  • item_despawn <true/false> [] - sets despawn behavior for items outside the border.

/worldwheatborder …

  • info [] - displays current default border settings. If dimension is not specified, shows all dimensions.
  • wheat_decay <true/false> - when true, all Wheat planted by players outside of the closed border area, becomes withered. Withered Wheat crops have a 60% chance to drop up to 1 Wheat Seed and at full growth (which can only be obtained by using Bone Meal on the crop) has a 15% chance to drop 1 Wheat.

Wheat GUI

The Wheat GUI can be opened via a keybind. You can find it in controls at the bottom of the menu, in the "Walls of Wheat" section. Pressing the keybind will open a new inventory menu, similar to the normal one. You can access your hotbar and inventory, as well as see a variety of new things:

  • Designated Wheat slot (and count display)
  • Ticket o' Exploration trade slot (and price for trade)
  • Time left on the open border
  • And settings to toggle auto-wheat pickup, border related audio, and set the closed border boundary outline.

The Wheat slot has no cap on the number of items it can hold, so Wheat will no longer clutter your inventory. Clicking the stack with no items in your cursor will remove up to a stack from it. With Wheat in your cursor, clicking the stack will add the Wheat to it. Ticket trades will only appear when you have the necessary amount of Wheat, and are traded by clicking the item one at a time. The three settings on the left side of the gui are clickable buttons, and display their status with an icon and with a hover text element. The closed border boundary outline looks like a more transparent world border, that shows the closed position of the border when it is open. The color can be changed, or toggled off as well. Auto-Wheat pickup makes it so picking up Wheat items put them directly into your Wheat storage slot, instead of inventory slots.

/wheat has both admin and non-admin subcommands. The non-admin subcommands are an alternative way to access the functionality offered by the GUI. The following are the available subcommands and their fields:

Non-Admin

/wheat …

  • add - adds the specified amount of Wheat from your inventory to your Wheat storage slot. Must have the specified amount of Wheat, or will return an error.
  • boundary <color (blue, lime, pink, red, yellow, hidden)> - sets the color of the closed border boundary.
  • buy - buys the specified count of Tickets. Must have the necessary Wheat for the purchase or it will return an error.
  • mute <true/false> - turns on or off the audio for using a Ticket and the border closing.
  • pickup <true/false> - turns on or off the auto-Wheat pickup feature.
  • pull - takes the specified amount of Wheat out of your storage slot and adds it to your inventory. Must have the specified amount, or will return an error message.
  • status - returns the amount of Wheat the player has stored and the next Ticket price.

Admin

/wheat …

  • initial_price - sets the first price to buy a Ticket.
  • price - sets the current Ticket price for the player.
  • total - sets the total amount of Wheat a player has.
  • fine - removes the specified number of Wheat from the player. Can put a player in debt (negative total).
  • rate - sets the formula used to calculate the next Ticket price after each purchase. The formula is evaluated with x representing the current Ticket price. Supported operators include:
    • Basic arithmetic: +, -, *, /
    • Parentheses for grouping: (, )
    • Exponentiation: ^
    • Functions: sqrt(), floor(), ceil(), abs(), min(), max()
    • Examples:
    • /wheat rate x + 10 - increases price by 10 Wheat each purchase
    • /wheat rate x * 2 - doubles the price each purchase
    • /wheat rate x * 1.5 - increases price by 50% each purchase
    • /wheat rate x + (x * 0.25) - adds 25% of current price
    • /wheat rate floor(x * 1.1) + 5 - increases by 10% plus 5, rounded down
    • /wheat rate min(x * 2, 1000) - doubles price but caps at 1000
    • /wheat rate x^1.2 - exponential growth rate

Scoreboards

There are also five new scoreboard objectives that you can set, all related to the border:

wallsofwheat.border_cycles
wallsofwheat.border_penalties_suffered
wallsofwheat.tickets_bought
wallsofwheat.wheat_border_timer
wallsofwheat.wheat_count

A few more things

On top of the border and Wheat GUI features, there are a few smaller additions that are mainly for flare.

  • New advancements related to the border and Wheat
  • New items:
    • Golden Wheat - made with Wheat and 8 Gold Nuggets.
    • Golden Bread - made with 3 Golden Wheat. Replenishes more saturation and grants brief Haste.
    • Golden Hay Bale - made with 9 Golden Wheat. Negates practically all fall damage when landed on.

Join the Discord! Join the Discord to be a part of the discussion, provide suggestions, and help report bugs!

Галерея

Client Side World Borders (1/4 POV)Client Side World Borders (2/4 POV)Client Side World Borders (3/4 POV)Client Side World Borders (4/4 POV)

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

Все версии →
release

Walls of Wheat 1.0.4

1.0.4
14 мая 2026 г.98Minecraft: 1.21.1neoforge
Скачать
Что нового
![image](https://media.forgecdn.net/attachments/1482036/changelog/changelog_0a5083f9-425a-4878-8261-d9eab306f5dd.png) # Version 1.0.4 Changelog ### Added Config file support - In each world created with the mod enabled, a config folder and file can be found inside the world folder (e.g. `New World/config/walls_of_wheat.json`). - The config lists out all attributes and options offered via the commands, but in a more condensed and centralized format. - Settings are split up per players, by dimensions. - Any settings you change with commands get stored in the config file now for the specified player. - There is an 'all' player in the config, that applies to everyone and serves as the default values unless specified in the config. Three new commands have been added to help manage the config: 1. `/wheatborder config merge` - takes your player's config settings and applies it to 'all' 2. `/wheatborder config pull` - overrides your player's config with the settings currently set to 'all' 3. `/wheatborder reload` - force reloads the settings in the config (meant for if you manually update the file while actively in the world).
release

Walls of Wheat 1.0.3

1.0.3
27 мар. 2026 г.29Minecraft: 1.21.1neoforge
Скачать
Что нового
![Walls of Wheat Banner](https://cdn.modrinth.com/data/cached_images/4aad40312898fc1a5e3c3f7c7d0ae745e039ec26.png) # Version 1.0.3 Changelog This update brings some critical bug fixes and a couple of new requested features! ### Nudge and Shove - Two new Border Penalties! **Nudge** - As the border closes, receive a gentle push when you touch the closing border, helping to guide you in the direction it is closing - If you manage to get stuck, and the border closes past your position, you will get teleported to your spawn point - A `force` parameter is required, which sets the strength of the nudge. A higher number means a larger velocity applied to the player. Default value is 3 **Shove** - Same behavior as Nudge, however, instead of teleporting when outside the border, damage will be dealt - `/wheatborder damage <value>` can be used to set the damage amount ### Border Timer - Moved Live Timer position to bottom right corner - Added a 5 minute remaining message to the Warning Timer ### Bug Fixes - Timer displayed in the action bar was using incorrect measurement, leading to incorrect values being shown - The border was stopping upon player death - Players now get kicked out of beds if the bed’s position is outside the border - Closing accelerate wasn’t triggering again if the player moved far away as it was actively closing - Border wasn’t responding to close command when opened far out - Border settings were resetting when entering the End Fountain for the first time - Boundary no longer flickers and has artifacts when set very big. Now becomes transparent as you move away - Fixed border setting leak between dimensions and worlds - Borders in the Nether now properly scale to the 8x distance of the Overworld, fixing unintentional penalties, sizes, and centering ### Known Issue - Borders are not respecting the pause menu on singeplayer worlds, and continue processing as normal. A fix for this will be coming at a later date. - This issue does not impact multiplayer servers. During the time the mod was being reviewed here on Modrinth, several updates dropped on CurseForge. Here's the other version's changelogs: # Version 1.0.2 Changelog I have another patch to address some crucial bugs that were discovered with the last version. This should make the experience actually playable now! ### Timer Setting - A new Timer feature that can be toggled in the Wheat Storage menu - Has three options you can choose from: Live, Warning, or Off - **Live** shows the remaining time in the action bar at all times - **Warning** gives you a warning message at 30, 15, and 10 minutes left. Then, a live timer appears at 5 minutes and less - **Off** shows nothing - Can also be toggled using `/wheat timer <off/live/warning>` ### Golden Bread - Now always edible. Allowing you to gain Haste even when you're not hungry! ### Border Duration - Now only decreases the time if the player is currently on the server - Logging off will pause your timer, so no worries if you need to take a break! ### Border Accelerate - The accelerate subcommand for `/wheatborder` and `/worldwheatborder` now supports a new parameter: `<open/close>` - The `close` parameter functions the exact same way as accelerate currently does - The `open` parameter takes a new floating point number (e.g. 1.5) and multiplies the border's opening speed by that number every second. This way, you can have a slow initial open speed, but it then can increase faster exponentially so it reaches the max size in a reasonable time - Set it to 1 to turn the feature off ### Bug Fixes - Dying was causing the border settings to reset - Spawn points outside of the border were not being reset back to the world spawn - Default border values now get applied to the Nether or The End - Teleport penalty could be negated entirely by riding a mount - Player velocity is now set to zero upon teleport penalty - Item magnet setting now correctly only picks up player dropped items outside the border - Item despawn setting now properly disables items from despawning outside of the border - Shift clicking any item other than Wheat in the Wheat Storage screen would crash the game - The Walls of Wheat scoreboard objectives were not updating their values - Auto Pickup and Sound options in the wheat menu were not being saved upon player log out - Border values would be shared between worlds in certain instances # Version 1.0.1 Changelog This is the first minor patch for Walls of Wheat, featuring a few bug fixes and a couple new features. ### Wheat Decay - New subcommand `/worldwheatborder` -> `wheat_decay <true/false>` - When set to true, all Wheat Crops planted by the player outside of the closed border position will turn into Withered Wheat - Although this is under the `worldwheatborder` command list, it affects the entire world, not just new players who join ### Withered Wheat - Withered Wheat has three ages, but does not grow on its own. You must use Bone Meal to progress its age - When broken, it has a 60% chance to drop one Wheat Seed - At the max age, it has a 15% chance to drop one Wheat - Fortune does not effect these values - New advancement: 'Plant Within the Lines' - obtained by planting Wheat outside the closed border position, when `wheat_decay` is set to true ### Closed Border Boundary - The closed border boundary has been visually updated to look like another world border, though a bit more transparent - It has no physical collision, purely serving as a cleaner indicator for the closed border's position - Uses the same color system as before ### Bug Fixes - The `wheatborder close` command now properly forces the border to shut instantly, regardless of state - The closed border boundary now properly syncs the selected color across all dimensions - Skipping The End credits no longer causes player border data to reset
release

Walls of Wheat 1.0.0

1.0.0
20 мар. 2026 г.26Minecraft: 1.21.1neoforge
Скачать
release

Walls of Wheat 1.0.1

1.0.1
9 мар. 2026 г.44Minecraft: 1.21.1forge
Скачать
Что нового
Release of Walls of Wheat _A couple of improvements made from the Alpha version_