缩略图
All Minecraft Gamerules & How to Use Them
发布于 ,作者
分享:
复制

分享至 X

复制

分享至 Facebook

复制

分享至 Threads

复制

分享至 Bluesky

复制

复制到剪贴板

电子邮件

通过电子邮件分享

Every Minecraft world, both offline and online, has a list of hidden rules players can edit. They range significantly in what they can do and are often added in response to common third-party tools. One-player sleep for servers being a recent example! Today we explore all Minecraft Gamerules & how to use them.

Introduction to Minecraft Gamerules

Gamerules are edited in-game through the use of commands in chat. They apply instantly after clicking enter and require no restarts, but for players on servers, sufficient permissions will be needed for them to work. Most gamerules are true or false, but some, not all, instead require values. Examples of both can be found below:
  • /gamerule <gamerule> <true/false> <value>
  • /gamerule keepInventory true
  • /gamerule playerSleepingPercentage 100

All Minecraft Gamerules

All Minecraft Gamerules as of 1.19 have been listed alphabetically. It is very important to note that not all gamerules work for both Java Edition and Bedrock Edition! Some are, unfortunately, exclusive to their respective versions. announceAdvancements - true/false Whether advancements should be announced in chat. commandBlockEnabled - true/false Whether command blocks should be enabled in-game. commandBlockOutput - true/false Whether command blocks should notify admins when they perform commands. disableElytraMovementCheck - true/false Whether the server should skip checking player speed when the player is wearing elytra. Often helps with jittering due to lag in multiplayer, but may also be used to travel unfairly long distances in survival mode. disableRaids - true/false Whether raids are disabled. doDaylightCycle - true/false Whether the daylight cycle and moon phases progress. doEntityDrops -true/false Whether entities that are not mobs should have drops. doFireTick - true/false Whether fire should spread and naturally extinguish. doInsomnia - true/false Whether phantoms can spawn in the nighttime. doImmediateRespawn - true/false Players respawn immediately without showing the death screen. doLimitedCrafting - true/false Whether players should be able to craft only those recipes that they’ve unlocked first. doMobLoot - true/false Whether mobs should drop items. doMobSpawning - true/false Whether mobs should naturally spawn. Does not affect monster spawners. doPatrolSpawning - true/false Whether patrols can spawn. doTileDrops - true/false Whether blocks should have drops. doTraderSpawning - true/false Whether wandering traders can spawn. doWeatherCycle - true/false Whether the weather can change naturally. The /weather command can still change the weather. doWardenSpawning - true/false Whether wardens can spawn. drowningDamage - true/false Whether the player should take damage when drowning. fallDamage - true/false Whether the player should take fall damage. fireDamage - true/false Whether the player should take fire damage. forgiveDeadPlayers - true/false Makes angered neutral mobs stop being angry when the targeted player dies nearby. freezeDamage - true/false Whether the player should take damage when inside powder snow. functionCommandLimit - Int value (default: 10000) The maximum number of commands that can be executed by /function at once. keepInventory - true/false Whether the player should keep items and experience in their inventory after death. logAdminCommands - true/false Whether to log admin commands to server log. maxCommandChainLength - Int value (default: 65536) Determines the number at which the chain command block acts as a “chain.” maxEntityCramming - Int value (default: 24) The maximum number of other pushable entities a mob or player can push, before taking 3 suffocation damage per half-second. Setting to 0 or lower disables the rule. mobGriefing - true/false Whether mobs should be able to change blocks and pick up items. This will result in disabling bartering and affect the capabilities of zombie-like creatures like zombie pigmen to pathfind to turtle eggs. naturalRegeneration - true/false Whether the player can regenerate health naturally if their hunger is full enough. playersSleepingPercentage - Int value (default: 100) What percentage of players must sleep to skip the night. pvp - true/false Whether the player can fight with other players. randomTickSpeed - Any int value (def: 3) How often a random block tick occurs (such as plant growth) per chunk section per game tick. 0 disables random ticks. reducedDebugInfo - true/false Whether the debug screen shows all or reduced information; and whether the effects of F3+B and F3+G are shown. respawnBlocksExplode - true/false Prevents beds/respawn anchors from exploding in other dimensions. sendCommandFeedback - true/false Whether the feedback from commands executed by a player should show up in chat. Also affects the default behavior of whether command blocks store their output text. showBorderEffect - true/false Whether border blocks effects are shown. showCoordinates - true/false Whether the player’s coordinates are displayed. showDeathMessages - true/false Whether death messages are put into chat when a player dies. Also affects whether a message is sent to the pet’s owner when the pet dies. showTags - true/false Hides the “Can place on” and “Can destroy” block lists from item lore, as well as item lock indicators. spawnRadius - Any int value (def: 10) The number of blocks outward from the world spawn coordinates that a player spawns in when first joining a server or when dying without a personal spawn point. spectatorsGenerateChunks - true/false Whether players in spectator mode can generate chunks. tntExplodes - true/false Whether TNT explodes after activation. universalAnger - true/false Makes angered neutral mobs attack any nearby player, not just the player that angered them.   For further details on each of these commands, we highly recommend checking out the Minecraft wiki. Their full gamerule list can be found here.

A List’s end

Minecraft gamerules are an amazing way to make Minecraft better fit your playstyle. It is funny to think many of these commands once required a plugin or third-party tool to achieve what is now done with so much ease. We can’t wait to see what new gamerules make it into the next Minecraft update! Until Next Time, BisectHosting =)
创建您自己的
Minecraft 服务器

选择一款套餐计划,挑选一款游戏,然后和朋友们一起畅玩吧!

订阅我们的最新资讯

订阅以获取有关游戏的所有最新动态!

Discord
加入我们的 Discord

加入我们拥有超过 20,000 名志同道合玩家的社区!

加入服务器

您对这篇博客有何评价?

分享您的看法,帮助我们将博客做得更好!
不喜欢
一般
喜欢
需要游戏服务器吗?
租用一台游戏服务器,您可以和朋友们在极低延迟和自定义设置下私密游玩。从 110+ 款游戏中挑选您的最爱,邀请全球玩家,享受私密对战,或者按照您自己的规则建立属于您的在线社区。

相关博客

Sample title for BLog

Sample title for BLog

发布于
Sample title for BLog

Sample title for BLog

发布于
Sample title for BLog

Sample title for BLog

发布于
Sample title for BLog

Sample title for BLog

发布于
Sample title for BLog

Sample title for BLog

发布于
Sample title for BLog

Sample title for BLog

发布于
注册表单背景

获取第一手独家资讯!

订阅我们的电子邮件,获取有关我们托管游戏、公司新闻和独家优惠的最新动态。随时掌握一手资讯!

BisectHosting Logo