https://github.com/rubixdev/carpetgamerules
An extension for gnembon's Carpet Mod that adds all vanilla gamerules to the carpet settings
https://github.com/rubixdev/carpetgamerules
carpet-extension-mod fabric minecraft
Last synced: 12 months ago
JSON representation
An extension for gnembon's Carpet Mod that adds all vanilla gamerules to the carpet settings
- Host: GitHub
- URL: https://github.com/rubixdev/carpetgamerules
- Owner: RubixDev
- License: gpl-3.0
- Created: 2021-07-15T15:18:26.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2025-01-06T12:12:02.000Z (over 1 year ago)
- Last Synced: 2025-04-09T08:11:09.590Z (about 1 year ago)
- Topics: carpet-extension-mod, fabric, minecraft
- Language: Java
- Homepage:
- Size: 335 KB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Carpet Gamerules
[](https://github.com/RubixDev/CarpetGamerules/releases)
[](https://github.com/RubixDev/CarpetGamerules/releases/latest)
[](https://github.com/RubixDev/CarpetGamerules/blob/main/LICENSE)
[](https://github.com/RubixDev/CarpetGamerules/issues)
[](https://github.com/RubixDev/CarpetGamerules/issues?q=is%3Aissue+is%3Aclosed)
[](https://www.curseforge.com/minecraft/mc-mods/carpetgamerules/files)
[](https://www.curseforge.com/minecraft/mc-mods/carpetgamerules)
[](https://modrinth.com/mod/carpetgamerules)

An extension for [gnembon's Carpet Mod](https://github.com/gnembon/fabric-carpet) that adds all vanilla gamerules to the carpet settings.
## Related Mods and Tools
[](https://github.com/gnembon/fabric-carpet)
[](https://github.com/RubixDev/Rug)
[](https://github.com/RubixDev/carpet-config-creator)
## Lists of Categories
- [`CHAT`](markdown/CHAT_Category.md)
- [`DROPS`](markdown/DROPS_Category.md)
- [`MISC`](markdown/MISC_Category.md)
- [`MOBS`](markdown/MOBS_Category.md)
- [`PLAYER`](markdown/PLAYER_Category.md)
- [`SPAWNING`](markdown/SPAWNING_Category.md)
- [`WORLD_UPDATES`](markdown/WORLD_UPDATES_Category.md)
## Index
Count: 52
- [announceAdvancements](#announceadvancements)
- [blockExplosionDropDecay](#blockexplosiondropdecay)
- [commandBlockOutput](#commandblockoutput)
- [commandModificationBlockLimit](#commandmodificationblocklimit)
- [disableElytraMovementCheck](#disableelytramovementcheck)
- [disablePlayerMovementCheck](#disableplayermovementcheck)
- [disableRaids](#disableraids)
- [doDaylightCycle](#dodaylightcycle)
- [doEntityDrops](#doentitydrops)
- [doFireTick](#dofiretick)
- [doImmediateRespawn](#doimmediaterespawn)
- [doInsomnia](#doinsomnia)
- [doLimitedCrafting](#dolimitedcrafting)
- [doMobLoot](#domobloot)
- [doMobSpawning](#domobspawning)
- [doPatrolSpawning](#dopatrolspawning)
- [doTileDrops](#dotiledrops)
- [doTraderSpawning](#dotraderspawning)
- [doVinesSpread](#dovinesspread)
- [doWardenSpawning](#dowardenspawning)
- [doWeatherCycle](#doweathercycle)
- [drowningDamage](#drowningdamage)
- [enderPearlsVanishOnDeath](#enderpearlsvanishondeath)
- [fallDamage](#falldamage)
- [fireDamage](#firedamage)
- [forgiveDeadPlayers](#forgivedeadplayers)
- [freezeDamage](#freezedamage)
- [globalSoundEvents](#globalsoundevents)
- [keepInventory](#keepinventory)
- [lavaSourceConversion](#lavasourceconversion)
- [logAdminCommands](#logadmincommands)
- [maxCommandChainLength](#maxcommandchainlength)
- [maxCommandForkCount](#maxcommandforkcount)
- [maxEntityCramming](#maxentitycramming)
- [mobExplosionDropDecay](#mobexplosiondropdecay)
- [mobGriefing](#mobgriefing)
- [naturalRegeneration](#naturalregeneration)
- [playersNetherPortalCreativeDelay](#playersnetherportalcreativedelay)
- [playersNetherPortalDefaultDelay](#playersnetherportaldefaultdelay)
- [playersSleepingPercentage](#playerssleepingpercentage)
- [projectilesCanBreakBlocks](#projectilescanbreakblocks)
- [randomTickSpeed](#randomtickspeed)
- [reducedDebugInfo](#reduceddebuginfo)
- [sendCommandFeedback](#sendcommandfeedback)
- [showDeathMessages](#showdeathmessages)
- [snowAccumulationHeight](#snowaccumulationheight)
- [spawnChunkRadius](#spawnchunkradius)
- [spawnRadius](#spawnradius)
- [spectatorsGenerateChunks](#spectatorsgeneratechunks)
- [tntExplosionDropDecay](#tntexplosiondropdecay)
- [universalAnger](#universalanger)
- [waterSourceConversion](#watersourceconversion)
## Implemented Rules
### announceAdvancements
Announce advancements
Whether advancements should be announced in chat
- Type: `boolean`
- Default value: `true`
- Required options: `true`, `false`
- Categories: `CHAT`, `GAMERULE`
### blockExplosionDropDecay
In block interaction explosions, some blocks won't drop their loot
Some of the drops from blocks destroyed by explosions caused by block interactions are lost in the explosion.
- Type: `boolean`
- Default value: `true`
- Required options: `true`, `false`
- Categories: `DROPS`, `GAMERULE`
### commandBlockOutput
Broadcast command block output
Whether command blocks should notify admins when they perform commands
- Type: `boolean`
- Default value: `true`
- Required options: `true`, `false`
- Categories: `CHAT`, `GAMERULE`
### commandModificationBlockLimit
Command Modification Block Limit
Number of blocks that can be changed at once by one command, such as fill or clone.
- Type: `int`
- Default value: `32768`
- Suggested options: `32768`, `1000000`, `2147483647`
- Categories: `GAMERULE`, `MISC`
### disableElytraMovementCheck
Disable elytra movement check
Whether the server should skip checking player speed when the player is wearing elytra. Often helps with jittering due to lag in multiplayer
- Type: `boolean`
- Default value: `false`
- Required options: `true`, `false`
- Categories: `GAMERULE`, `PLAYER`
### disablePlayerMovementCheck
Disable player movement check
- Type: `boolean`
- Default value: `false`
- Required options: `true`, `false`
- Categories: `GAMERULE`, `PLAYER`
### disableRaids
Disable raids
Whether raids are disabled
- Type: `boolean`
- Default value: `false`
- Required options: `true`, `false`
- Categories: `GAMERULE`, `MOBS`
### doDaylightCycle
Advance time of day
Whether the daylight cycle and moon phases progress
- Type: `boolean`
- Default value: `true`
- Required options: `true`, `false`
- Categories: `GAMERULE`, `WORLD_UPDATES`
### doEntityDrops
Drop entity equipment
Controls drops from minecarts (including inventories), item frames, boats, etc.
- Type: `boolean`
- Default value: `true`
- Required options: `true`, `false`
- Categories: `DROPS`, `GAMERULE`
### doFireTick
Update fire
Whether fire should spread and naturally extinguish
- Type: `boolean`
- Default value: `true`
- Required options: `true`, `false`
- Categories: `GAMERULE`, `WORLD_UPDATES`
### doImmediateRespawn
Respawn immediately
Players respawn immediately without showing the death screen
- Type: `boolean`
- Default value: `false`
- Required options: `true`, `false`
- Categories: `GAMERULE`, `PLAYER`
### doInsomnia
Spawn phantoms
Whether phantoms can spawn in the nighttime
- Type: `boolean`
- Default value: `true`
- Required options: `true`, `false`
- Categories: `GAMERULE`, `SPAWNING`
### doLimitedCrafting
Require recipe for crafting
If enabled, players will be able to craft only unlocked recipes
- Type: `boolean`
- Default value: `false`
- Required options: `true`, `false`
- Categories: `GAMERULE`, `PLAYER`
### doMobLoot
Drop mob loot
Controls resource drops from mobs, including experience orbs
- Type: `boolean`
- Default value: `true`
- Required options: `true`, `false`
- Categories: `DROPS`, `GAMERULE`
### doMobSpawning
Spawn mobs
Some entities might have seperate rules. Does not affect monster spawners
- Type: `boolean`
- Default value: `true`
- Required options: `true`, `false`
- Categories: `GAMERULE`, `SPAWNING`
### doPatrolSpawning
Spawn pillager patrols
Whether pillager patrols can spawn
- Type: `boolean`
- Default value: `true`
- Required options: `true`, `false`
- Categories: `GAMERULE`, `SPAWNING`
### doTileDrops
Drop blocks
Controls resource drops from blocks, including experience orbs
- Type: `boolean`
- Default value: `true`
- Required options: `true`, `false`
- Categories: `DROPS`, `GAMERULE`
### doTraderSpawning
Spawn wandering traders
Whether wandering traders can spawn
- Type: `boolean`
- Default value: `true`
- Required options: `true`, `false`
- Categories: `GAMERULE`, `SPAWNING`
### doVinesSpread
Vines spread
Controls whether or not the Vines block spreads randomly to adjacent blocks. Does not affect other type of vine blocks such as Weeping Vines, Twisting Vines, etc.
- Type: `boolean`
- Default value: `true`
- Required options: `true`, `false`
- Categories: `GAMERULE`, `WORLD_UPDATES`
### doWardenSpawning
Spawn wardens
Whether wardens can spawn
- Type: `boolean`
- Default value: `true`
- Required options: `true`, `false`
- Categories: `GAMERULE`, `SPAWNING`
### doWeatherCycle
Update weather
Whether the weather can change naturally. The `/weather` command can still change weather
- Type: `boolean`
- Default value: `true`
- Required options: `true`, `false`
- Categories: `GAMERULE`, `WORLD_UPDATES`
### drowningDamage
Deal drowning damage
Whether the player should take damage when drowning
- Type: `boolean`
- Default value: `true`
- Required options: `true`, `false`
- Categories: `GAMERULE`, `PLAYER`
### enderPearlsVanishOnDeath
Thrown ender pearls vanish on death
Whether ender pearls thrown by a player vanish when that player dies
- Type: `boolean`
- Default value: `true`
- Required options: `true`, `false`
- Categories: `GAMERULE`, `PLAYER`
### fallDamage
Deal fall damage
Whether the player should take fall damage
- Type: `boolean`
- Default value: `true`
- Required options: `true`, `false`
- Categories: `GAMERULE`, `PLAYER`
### fireDamage
Deal fire damage
Whether the player should take damage in fire, lava, campfires, or on magma blocks
- Type: `boolean`
- Default value: `true`
- Required options: `true`, `false`
- Categories: `GAMERULE`, `PLAYER`
### forgiveDeadPlayers
Forgive dead players
Angered neutral mobs stop being angry when the targeted player dies nearby
- Type: `boolean`
- Default value: `true`
- Required options: `true`, `false`
- Categories: `GAMERULE`, `MOBS`
### freezeDamage
Deal freeze damage
Whether the player should take damage when inside powder snow
- Type: `boolean`
- Default value: `true`
- Required options: `true`, `false`
- Categories: `GAMERULE`, `PLAYER`
### globalSoundEvents
Global sound events
When certain game events happen, like a boss spawning, the sound is heard everywhere.
- Type: `boolean`
- Default value: `true`
- Required options: `true`, `false`
- Categories: `GAMERULE`, `MISC`
### keepInventory
Keep inventory after death
Whether the player should keep items and experience in their inventory after death
- Type: `boolean`
- Default value: `false`
- Required options: `true`, `false`
- Categories: `GAMERULE`, `PLAYER`
### lavaSourceConversion
Lava converts to source
When flowing lava is surrounded on two sides by lava sources it converts into a source.
- Type: `boolean`
- Default value: `false`
- Required options: `true`, `false`
- Categories: `GAMERULE`, `WORLD_UPDATES`
### logAdminCommands
Broadcast admin commands
Whether to log admin commands to server log
- Type: `boolean`
- Default value: `true`
- Required options: `true`, `false`
- Categories: `CHAT`, `GAMERULE`
### maxCommandChainLength
Command chain size limit
The maximum length of a chain of commands that can be executed during one tick. Applies to command blocks and functions
- Type: `int`
- Default value: `65536`
- Suggested options: `65536`
- Categories: `GAMERULE`, `MISC`
### maxCommandForkCount
Command context limit
Maximum number of contexts that can be used by commands like 'execute as'
- Type: `int`
- Default value: `65536`
- Required options: ``
- Categories: `GAMERULE`, `MISC`
### maxEntityCramming
Entity cramming threshold
The maximum number of pushable entities a mob or player can push, before taking 3 suffocation damage per half-second.
Setting to 0 or lower disables the rule.
Damage affects survival-mode or adventure-mode players, and all mobs but bats. Pushable entities include non-spectator-mode players, any mob except bats, as well as boats and minecarts.
- Type: `int`
- Default value: `24`
- Suggested options: `0`, `12`, `24`, `100`
- Categories: `GAMERULE`, `MOBS`
### mobExplosionDropDecay
In mob explosions, some blocks won't drop their loot
Some of the drops from blocks destroyed by explosions caused by mobs are lost in the explosion.
- Type: `boolean`
- Default value: `true`
- Required options: `true`, `false`
- Categories: `DROPS`, `GAMERULE`
### mobGriefing
Allow destructive mob actions
Whether creepers, zombies, endermen, ghasts, withers, ender dragons, rabbits, sheep, villagers, silverfish, snow golems, and end crystals should be able to change blocks and whether mobs can pick up items, which also disables bartering
This also affects the capability of zombie-like creatures like zombified piglins and drowned to pathfind to turtle eggs
- Type: `boolean`
- Default value: `true`
- Required options: `true`, `false`
- Categories: `GAMERULE`, `MOBS`
### naturalRegeneration
Regenerate health
Whether the player can regenerate health naturally if their hunger is full enough
Doesn't affect external healing, such as golden apples, the Regeneration effect, etc.
- Type: `boolean`
- Default value: `true`
- Required options: `true`, `false`
- Categories: `GAMERULE`, `PLAYER`
### playersNetherPortalCreativeDelay
Player's Nether portal delay in creative mode
Time (in ticks) that a creative mode player needs to stand in a Nether portal before changing dimensions
- Type: `int`
- Default value: `1`
- Required options: ``
- Categories: `GAMERULE`, `PLAYER`
### playersNetherPortalDefaultDelay
Player's Nether portal delay in non-creative mode
Time (in ticks) that a non-creative mode player needs to stand in a Nether portal before changing dimensions
- Type: `int`
- Default value: `80`
- Required options: ``
- Categories: `GAMERULE`, `PLAYER`
### playersSleepingPercentage
Sleep percentage
The percentage of players who must be sleeping to skip the night
- Type: `int`
- Default value: `100`
- Suggested options: `0`, `25`, `50`, `75`, `100`
- Categories: `GAMERULE`, `PLAYER`
### projectilesCanBreakBlocks
Projectiles can break blocks
Controls whether impact projectiles will destroy blocks that are destructible by them
- Type: `boolean`
- Default value: `true`
- Required options: `true`, `false`
- Categories: `DROPS`, `GAMERULE`
### randomTickSpeed
Random tick speed rate
How often a random block tick occurs (such as plant growth, leaf decay, etc.) per chunk section per game tick
0 and negative values disables random ticks, higher numbers increase random ticks
Setting to a high integer results in high speeds of decay and growth
Numbers over 4096 make plant growth or leaf decay instantaneous
- Type: `int`
- Default value: `3`
- Suggested options: `0`, `3`, `30`, `300`, `3000`, `4096`
- Categories: `GAMERULE`, `WORLD_UPDATES`
### reducedDebugInfo
Reduce debug info
Limits contents of debug screen
- Type: `boolean`
- Default value: `false`
- Required options: `true`, `false`
- Categories: `GAMERULE`, `MISC`
### sendCommandFeedback
Send command feedback
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
- Type: `boolean`
- Default value: `true`
- Required options: `true`, `false`
- Categories: `CHAT`, `GAMERULE`
### showDeathMessages
Show death messages
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
- Type: `boolean`
- Default value: `true`
- Required options: `true`, `false`
- Categories: `CHAT`, `GAMERULE`
### snowAccumulationHeight
Snow accumulation height
When it snows, layers of snow form on the ground up to at most this number of layers.
- Type: `int`
- Default value: `1`
- Suggested options: `0`, `1`, `8`
- Categories: `GAMERULE`, `WORLD_UPDATES`
### spawnChunkRadius
Spawn chunk radius
Amount of chunks that stay loaded around the overworld spawn position
- Type: `int`
- Default value: `2`
- Suggested options: `0`, `2`, `10`, `32`
- Categories: `GAMERULE`, `MISC`
### spawnRadius
Respawn location radius
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 spawnpoint
- Type: `int`
- Default value: `10`
- Suggested options: `0`, `1`, `5`, `10`, `50`
- Categories: `GAMERULE`, `PLAYER`
### spectatorsGenerateChunks
Allow spectators to generate terrain
Whether players in spectator mode can generate chunks
- Type: `boolean`
- Default value: `true`
- Required options: `true`, `false`
- Categories: `GAMERULE`, `PLAYER`
### tntExplosionDropDecay
In TNT explosions, some blocks won't drop their loot
Some of the drops from blocks destroyed by explosions caused by TNT are lost in the explosion.
- Type: `boolean`
- Default value: `false`
- Required options: `true`, `false`
- Categories: `DROPS`, `GAMERULE`
### universalAnger
Universal anger
Angered neutral mobs attack any nearby player, not just the player that angered them. Works best if `forgiveDeadPlayers` is disabled
- Type: `boolean`
- Default value: `false`
- Required options: `true`, `false`
- Categories: `GAMERULE`, `MOBS`
### waterSourceConversion
Water converts to source
When flowing water is surrounded on two sides by water sources it converts into a source.
- Type: `boolean`
- Default value: `true`
- Required options: `true`, `false`
- Categories: `GAMERULE`, `WORLD_UPDATES`