Skip to content

GameRules

getDoFireTick() -> Boolean

Returns the value of the doFireTick gamerule.

getDoMobGriefing() -> Boolean

Returns the value of the doMobGriefing gamerule.

getKeepInventory() -> Boolean

Returns the value of the keepInventory gamerule.

getDoMobSpawning() -> Boolean

Returns the value of the doMobSpawning gamerule.

getDoMobLoot() -> Boolean

Returns the value of the doMobLoot gamerule.

getDoTileDrops() -> Boolean

Returns the value of the doTileDrops gamerule.

getDoEntityDrops() -> Boolean

Returns the value of the doEntityDrops gamerule.

getCommandBlockOutput() -> Boolean

Returns the value of the commandBlockOutput gamerule.

getNaturalRegeneration() -> Boolean

Returns the value of the naturalRegeneration gamerule.

getDoDaylightCycle() -> Boolean

Returns the value of the doDaylightCycle gamerule.

getLogAdminCommands() -> Boolean

Returns the value of the logAdminCommands gamerule.

getShowDeathMessages() -> Boolean

Returns the value of the showDeathMessages gamerule.

getRandomTickSpeed() -> Integer

Returns the value of the randomTickSpeed gamerule.

getSendCommandFeedback() -> Boolean

Returns the value of the sendCommandFeedback gamerule.

getReducedDebugInfo() -> Boolean

Returns the value of the reducedDebugInfo gamerule.

getSpectatorsGenerateChunks() -> Boolean

Returns the value of the spectatorsGenerateChunks gamerule.

getSpawnRadius() -> Integer

Returns the value of the spawnRadius gamerule.

getDisableElytraMovementCheck() -> Boolean

Returns the value of the disableElytraMovementCheck gamerule.

getMaxEntityCramming() -> Integer

Returns the value of the maxEntityCramming gamerule.

getDoWeatherCycle() -> Boolean

Returns the value of the doWeatherCycle gamerule.

getDoLimitedCrafting() -> Boolean

Returns the value of the doLimitedCrafting gamerule.

getMaxCommandChainLength() -> Integer

Returns the value of the maxCommandChainLength gamerule.

getCommandModificationBlockLimit() -> Integer

Returns the value of the commandModificationBlockLimit gamerule.

getAnnounceAdvancements() -> Boolean

Returns the value of the announceAdvancements gamerule.

getDisableRaids() -> Boolean

Returns the value of the disableRaids gamerule.

getDoInsomnia() -> Boolean

Returns the value of the doInsomnia gamerule.

getDoImmediateRespawn() -> Boolean

Returns the value of the doImmediateRespawn gamerule.

getDrowningDamage() -> Boolean

Returns the value of the drowningDamage gamerule.

getFallDamage() -> Boolean

Returns the value of the fallDamage gamerule.

getFireDamage() -> Boolean

Returns the value of the fireDamage gamerule.

getFreezeDamage() -> Boolean

Returns the value of the freezeDamage gamerule.

getDoPatrolSpawning() -> Boolean

Returns the value of the doPatrolSpawning gamerule.

getDoTraderSpawning() -> Boolean

Returns the value of the doTraderSpawning gamerule.

getDoWardenSpawning() -> Boolean

Returns the value of the doWardenSpawning gamerule.

getForgiveDeadPlayers() -> Boolean

Returns the value of the forgiveDeadPlayers gamerule.

getUniversalAnger() -> Boolean

Returns the value of the universalAnger gamerule.

getPlayersSleepingPercentage() -> Boolean

Returns the value of the playersSleepingPercentage gamerule.

getBlockExplosionDropDecay() -> Boolean

Returns the value of the blockExplosionDropDecay gamerule.

getMobExplosionDropDecay() -> Boolean

Returns the value of the mobExplosionDropDecay gamerule.

getTntExplosionDropDecay() -> Boolean

Returns the value of the tntExplosionDropDecay gamerule.

getSnowAccumulationHeight() -> Boolean

Returns the value of the snowAccumulationHeight gamerule.

getWaterSourceConversion() -> Boolean

Returns the value of the waterSourceConversion gamerule.

getLavaSourceConversion() -> Boolean

Returns the value of the lavaSourceConversion gamerule.

getGlobalSoundEvents() -> Boolean

Returns the value of the globalSoundEvents gamerule.

getDoVinesSpread() -> Boolean

Returns the value of the doVinesSpread gamerule.

getEnderPearlsVanishOnDeath() -> Boolean

Returns the value of the enderPearlsVanishOnDeath gamerule.

getMaxArgumentCount() -> Integer

A custom gamerule created by Sculk. See Added Gamerules for more information.

Returns the value of the maxArgumentCount gamerule.

getMaxLoops() -> Integer

A custom gamerule created by Sculk. See Added Gamerules for more information.

Returns the value of the maxLoops gamerule.

setDoFireTick(doFireTick: Boolean) -> Null

Sets the value of the doFireTick gamerule.

setDoMobGriefing(doMobGriefing: Boolean) -> Null

Sets the value of the doMobGriefing gamerule.

setKeepInventory(keepInventory: Boolean) -> Null

Sets the value of the keepInventory gamerule.

setDoMobSpawning(doMobSpawning: Boolean) -> Null

Sets the value of the doMobSpawning gamerule.

setDoMobLoot(doMobLoot: Boolean) -> Null

Sets the value of the doMobLoot gamerule.

setDoTileDrops(doTileDrops: Boolean) -> Null

Sets the value of the doTileDrops gamerule.

setDoEntityDrops(doEntityDrops: Boolean) -> Null

Sets the value of the doEntityDrops gamerule.

setCommandBlockOutput(commandBlockOutput: Boolean) -> Null

Sets the value of the commandBlockOutput gamerule.

setNaturalRegeneration(naturalRegeneration: Boolean) -> Null

Sets the value of the naturalRegeneration gamerule.

setDoDaylightCycle(doDaylightCycle: Boolean) -> Null

Sets the value of the doDaylightCycle gamerule.

setLogAdminCommands(logAdminCommands: Boolean) -> Null

Sets the value of the logAdminCommands gamerule.

setShowDeathMessages(showDeathMessages: Boolean) -> Null

Sets the value of the showDeathMessages gamerule.

setRandomTickSpeed(randomTickSpeed: Integer) -> Null

Sets the value of the randomTickSpeed gamerule.

setSendCommandFeedback(sendCommandFeedback: Boolean) -> Null

Sets the value of the sendCommandFeedback gamerule.

setReducedDebugInfo(reducedDebugInfo: Boolean) -> Null

Sets the value of the reducedDebugInfo gamerule.

setSpectatorsGenerateChunks(spectatorsGenerateChunks: Boolean) -> Null

Sets the value of the spectatorsGenerateChunks gamerule.

setSpawnRadius(spawnRadius: Integer) -> Null

Sets the value of the spawnRadius gamerule.

setDisableElytraMovementCheck(disableElytraMovementCheck: Boolean) -> Null

Sets the value of the disableElytraMovementCheck gamerule.

setMaxEntityCramming(maxEntityCramming: Integer) -> Null

Sets the value of the maxEntityCramming gamerule.

setDoWeatherCycle(doWeatherCycle: Boolean) -> Null

Sets the value of the doWeatherCycle gamerule.

setDoLimitedCrafting(doLimitedCrafting: Boolean) -> Null

Sets the value of the doLimitedCrafting gamerule.

setMaxCommandChainLength(maxCommandChainLength: Integer) -> Null

Sets the value of the maxCommandChainLength gamerule.

setCommandModificationBlockLimit(commandModificationBlockLimit: Integer) -> Null

Sets the value of the commandModificationBlockLimit gamerule.

setAnnounceAdvancements(announceAdvancements: Boolean) -> Null

Sets the value of the announceAdvancements gamerule.

setDisableRaids(disableRaids: Boolean) -> Null

Sets the value of the disableRaids gamerule.

setDoInsomnia(doInsomnia: Boolean) -> Null

Sets the value of the doInsomnia gamerule.

setDoImmediateRespawn(doImmediateRespawn: Boolean) -> Null

Sets the value of the doImmediateRespawn gamerule.

setDrowningDamage(drowningDamage: Boolean) -> Null

Sets the value of the drowningDamage gamerule.

setFallDamage(fallDamage: Boolean) -> Null

Sets the value of the fallDamage gamerule.

setFireDamage(fireDamage: Boolean) -> Null

Sets the value of the fireDamage gamerule.

setFreezeDamage(freezeDamage: Boolean) -> Null

Sets the value of the freezeDamage gamerule.

setDoPatrolSpawning(doPatrolSpawning: Boolean) -> Null

Sets the value of the doPatrolSpawning gamerule.

setDoTraderSpawning(doTraderSpawning: Boolean) -> Null

Sets the value of the doTraderSpawning gamerule.

setDoWardenSpawning(doWardenSpawning: Boolean) -> Null

Sets the value of the doWardenSpawning gamerule.

setForgiveDeadPlayers(forgiveDeadPlayers: Boolean) -> Null

Sets the value of the forgiveDeadPlayers gamerule.

setUniversalAnger(universalAnger: Boolean) -> Null

Sets the value of the universalAnger gamerule.

setPlayersSleepingPercentage(playersSleepingPercentage: Boolean) -> Null

Sets the value of the playersSleepingPercentage gamerule.

setBlockExplosionDropDecay(blockExplosionDropDecay: Boolean) -> Null

Sets the value of the blockExplosionDropDecay gamerule.

setMobExplosionDropDecay(mobExplosionDropDecay: Boolean) -> Null

Sets the value of the mobExplosionDropDecay gamerule.

setTntExplosionDropDecay(tntExplosionDropDecay: Boolean) -> Null

Sets the value of the tntExplosionDropDecay gamerule.

setSnowAccumulationHeight(snowAccumulationHeight: Boolean) -> Null

Sets the value of the snowAccumulationHeight gamerule.

setWaterSourceConversion(waterSourceConversion: Boolean) -> Null

Sets the value of the waterSourceConversion gamerule.

setLavaSourceConversion(lavaSourceConversion: Boolean) -> Null

Sets the value of the lavaSourceConversion gamerule.

setGlobalSoundEvents(globalSoundEvents: Boolean) -> Null

Sets the value of the globalSoundEvents gamerule.

setDoVinesSpread(doVinesSpread: Boolean) -> Null

Sets the value of the doVinesSpread gamerule.

setEnderPearlsVanishOnDeath(enderPearlsVanishOnDeath: Boolean) -> Null

Sets the value of the enderPearlsVanishOnDeath gamerule.

setMaxArgumentCount(maxArgumentCount: Integer) -> Null

A custom gamerule created by Sculk. See Added Gamerules for more information.

Sets the value of the maxArgumentCount gamerule.

setMaxLoops(maxLoops: Integer) -> Null

A custom gamerule created by Sculk. See Added Gamerules for more information.

Sets the value of the maxLoops gamerule.