Class: GameRules
Represents the game rules for a world experience.
Constructors
new GameRules()
private
new GameRules():GameRules
Returns
Properties
commandBlockOutput
commandBlockOutput:
boolean
Remarks
This property can't be edited in read-only mode.
commandBlocksEnabled
commandBlocksEnabled:
boolean
Remarks
This property can't be edited in read-only mode.
doDayLightCycle
doDayLightCycle:
boolean
Remarks
This property can't be edited in read-only mode.
doEntityDrops
doEntityDrops:
boolean
Remarks
This property can't be edited in read-only mode.
doFireTick
doFireTick:
boolean
Remarks
This property can't be edited in read-only mode.
doImmediateRespawn
doImmediateRespawn:
boolean
Remarks
This property can't be edited in read-only mode.
doInsomnia
doInsomnia:
boolean
Remarks
This property can't be edited in read-only mode.
doLimitedCrafting
doLimitedCrafting:
boolean
Remarks
This property can't be edited in read-only mode.
doMobLoot
doMobLoot:
boolean
Remarks
This property can't be edited in read-only mode.
doMobSpawning
doMobSpawning:
boolean
Remarks
This property can't be edited in read-only mode.
doTileDrops
doTileDrops:
boolean
Remarks
This property can't be edited in read-only mode.
doWeatherCycle
doWeatherCycle:
boolean
Remarks
This property can't be edited in read-only mode.
drowningDamage
drowningDamage:
boolean
Remarks
This property can't be edited in read-only mode.
fallDamage
fallDamage:
boolean
Remarks
This property can't be edited in read-only mode.
fireDamage
fireDamage:
boolean
Remarks
This property can't be edited in read-only mode.