@minecraft
    正在准备搜索索引...

    类 GameRules

    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
    locatorBar: 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