Represents the game rules for a world experience.

属性

commandBlockOutput: boolean
commandBlocksEnabled: boolean
doDayLightCycle: boolean
doEntityDrops: boolean
doFireTick: boolean
doImmediateRespawn: boolean
doInsomnia: boolean
doLimitedCrafting: boolean
doMobLoot: boolean
doMobSpawning: boolean
doTileDrops: boolean
doWeatherCycle: boolean
drowningDamage: boolean
fallDamage: boolean
fireDamage: boolean
freezeDamage: boolean
functionCommandLimit: number
keepInventory: boolean
maxCommandChainLength: number
mobGriefing: boolean
naturalRegeneration: boolean
playersSleepingPercentage: number
projectilesCanBreakBlocks: boolean
pvp: boolean
randomTickSpeed: number
recipesUnlock: boolean
respawnBlocksExplode: boolean
sendCommandFeedback: boolean
showBorderEffect: boolean
showCoordinates: boolean
showDaysPlayed: boolean
showDeathMessages: boolean
showRecipeMessages: boolean
showTags: boolean
spawnRadius: number
tntExplodes: boolean
tntExplosionDropDecay: boolean