Survival-friendly, vanilla-themed, unintrusive game rules - all without requiring cheats!
Add some quality-of-life features and fun (to frustrating!) game rules, with many different configuration options available. Game rules are generally configurable by Admin/OP, with subscription to the rule configurable by the player.
(Note: Command auto-complete doesn't function without cheats enabled. Use "/help {commandname}" to view usage rules)
Game rules include:
- Show Biome Names
- Use Clock HUD
- Use Compass HUD
- Autofill Used Items
- Dry Inventory Items
Show Biome Names
The simplest game rule of the bunch, show biome names is a player-managed subscription.
Enabled by default, this will briefly display the name of the biome the player is entering (limited custom biome support included).
- /subscribeto.biomenames [on|off] - displays the player's subscription to the show biome names game rule. Including the parameter will set the player's subscription preference.
Use Clock HUD
The use clock HUD game rule can be enabled or disabled by Admin. When enabled, the time format and subscription can be managed by the player.
Enabled by default, this will show the current time when the player is holding a clock.
- Available to Admin Only:
- /gamerule.clock [true|false] - sets or queries the use clock HUD game rule (true or false).
- Available to Players:
- /subscribeto.clock <on|off> - sets the player's subscription to the use clock HUD game rule.
- /subscribeto.clock.format <12-Hour|24-Hour> - sets the player's clock to display in 12- or 24-hour format.
Use Compass HUD
The use clock HUD game rule can be enabled or disabled by Admin. When enabled, the time format and subscription can be managed by the player.
Enabled by default, this will show the direction the player is facing when the player is holding a compass or filled map.
- Available to Admin Only:
- /gamerule.compass [true|false] - sets or queries the use compass HUD game rule (true or false).
- /gamerule.compass.format [cardinal|ordinal] - sets compass format to 4-point or 8-point directions.
- Available to anyone:
- /subscribeto.compass <on|off> - sets the player's subscription to the use compass HUD game rule.
Autofill Used Items
There are 5 autofill used items game rules which can be managed by Admin. When enabled, subscriptions can be managed by the player.
The autofill used items game rules include "replace broken tools", "replant harvested crops", "refill used items", "refill placed blocks", and "refill popped totems to offhand".
For each game rule, admin can disable ("none") or allow replacement either "fromHotbarOnly" or "fromInventory". Players simply have to turn their subscriptions "on" or "off".
The Autofill game rules are managed as follows (by Admin):
- /gamerule.autofill <blocks|crops|items|tools|totems> [fromHotbarOnly|fromInventory|none] - for the specified rule, sets where the game will look for a qualifying item to replace a player's broken tool/harvested crop/used item/placed block/popped totem. Omitting the optional parameter will display the specified gamerule's value.
- /gamerule.autofill.playerdefault <blocks|crops|items|tools|totems> [on|off] - for the specified rule, sets the default subscription for new players entering the world (existing players subscriptions are not affected). Omitting the optional parameter will display the specified gamerule's default subscription.
Subscription to the game rules are managed individually by each player:
- /subscribeto.autofill [blocks|crops|items|tools|totems] [on|off] - sets or queries the specified game rule. Omitting both parameters will display the world's current game rules alongside the player's subscription to each. Omitting only the parameter will explain what the rule does.
Default subscriptions for each rule are set to "on" unless modified by the default-subscription command above. Each rule, however, has the following defaults applied when creating a new world:
- "replace broken tools" defaults to "fromInventory"
- "replant harvested crops" defaults to "fromHotbarOnly"
- "refill used items" defaults to "fromInventory"
- "refill placed blocks" defaults to "fromInventory"
- "refill popped totems to offhand" defaults to "none"
New in v1.1, options available to each player:
- /subscribeto.autofill.tooltiers [sameTier|sameTierOrLower|anyTier] - sets or queries selected tier options for the "Broken Tools" game rule. Omitting the parameter will explain what the option does. This new player-specific preference allows replacing tools with the same tool in another material tier, if desired. The default is "sameTier".
- /subscribeto.autofill.croptypes [standard|extended] - sets or queries crop replacement options for the "Replant Harvested Crops" game rule. Omitting the parameter will explain what the option does. This new player-specific preference allows extending replanting to less "crop-like" blocks, such as stems, sea pickles, kelp, and more.
Dry Inventory Items
The dry inventory items game rule can be managed by Admin. When enabled, the game rule affects all players in the game (i.e. not a 'subscription' rule like the rest). Enabling the rule will periodically and randomly "dry out" a player's inventory items with their dry counterpart, if they've spent a sufficient amount of time in an arid biome. Read on for examples!
The dry inventory items game rule can be disabled, or enabled in "stages":
- "none" - disabled the rule
- "spongesOnly" - wet sponges transform into dry sponges
- "food" - in addition to sponges, food items may cook (i.e. potatoes become baked potatoes)
- "hard" - in addition to the above, chorus fruit pops, kelp dries, and leaves become leaf litter
- "hardcore" - not for the faint of heart! In addition to the above, brick items may crack, clay may firm, water may evaporate, and plants and coral can die!
When an item is transformed due to this game rule, a message will be presented to the player describing how many and which item have been transformed into what, and the player will emit steam particles.
Two commands are available for this game rule. One allows Admin to manage the options, while the other is available informationally to anyone:
- /gamerule.dryinventory [none|spongesOnly|food|hard|hardcore] - sets the dry inventory items game rule to the specified item types. If the parameter is omitted, displays the world's current dry inventory items game rule.
- /subscribeto.dryinventory - queries the world's current dry inventory items game rule, and briefly describes how the game rule will affect a player's inventory. Note: the "subscribeto" prefix is there for consistency - the world-set "dry inventory" game rule applies to all players.
For the purposes of this rule, "arid biomes" include: desert, desert hills, mutated desert, mesa, bryce mesa, mesa plateau, mutated mesa plateau, stone mesa plateau, mutated stone mesa plateau, mutated savanna, nether wastes, crimson and warped forests, soulsand valley, and basalt deltas. These biomes have the highest specified temperature and lowest specified humidity out of all Minecraft biomes (custom biomes are currently not supported).
(Hint: To keep items from drying out, store them in a chest or barrel!)
Settings
Please enable Experimental Toggles (Beta API and Upcoming Creator Features) for full compatibility.
Experimental Toggles are no longer required as of v1.1!
Known Issues
- This addon works 100% without Cheats enabled, but command option enumerations do not auto-populate as of Minecraft Bedrock v. 26.0. Maybe in the future this won't be an issue! In the meantime, use the /help command to see options.
- The biome names displayed with the Show Biome Names game rule are all grey (blah) as of 1.21.130. They will be automatically colored for all vanilla biomes (and possibly custom ones!) in the future once Mojang supports biome tags.
- The Show Biome Names, Clock HUD and Compass HUD might conflict with other addons that make significant use of "Action Bar" text.
You might also like: