跳转至

GameOptions

文档版本:1.21.60.21

GameOptions接口。script_api.minecraft/server-editor-bindings.gameoptions.description

属性

bedsWork
bedsWork: boolean | undefined;
bonusChest
bonusChest: boolean | undefined;
cheats
cheats: boolean | undefined;
commandBlockEnabled
commandBlockEnabled: boolean | undefined;
commandBlockEnabledboolean|undefined
script_api.minecraft/server-editor-bindings.gameoptions.commandblockenabled.description
daylightCycle
daylightCycle: DaylightCycle | undefined;
difficulty
difficulty: Difficulty | undefined;
dimensionId
dimensionId: string | undefined;
disableWeather
disableWeather: boolean | undefined;
disableWeatherboolean|undefined
script_api.minecraft/server-editor-bindings.gameoptions.disableweather.description
educationEdition
educationEdition: boolean | undefined;
educationEditionboolean|undefined
script_api.minecraft/server-editor-bindings.gameoptions.educationedition.description
entitiesDropLoot
entitiesDropLoot: boolean | undefined;
entitiesDropLootboolean|undefined
script_api.minecraft/server-editor-bindings.gameoptions.entitiesdroploot.description
exportType
exportType: ProjectExportType | undefined;
fireSpreads
fireSpreads: boolean | undefined;
friendlyFire
friendlyFire: boolean | undefined;
friendlyFireboolean|undefined
script_api.minecraft/server-editor-bindings.gameoptions.friendlyfire.description
gameMode
gameMode: GameMode | undefined;
hardcore
hardcore: boolean | undefined;
immediateRespawn
immediateRespawn: boolean | undefined;
immediateRespawnboolean|undefined
script_api.minecraft/server-editor-bindings.gameoptions.immediaterespawn.description
keepInventory
keepInventory: boolean | undefined;
keepInventoryboolean|undefined
script_api.minecraft/server-editor-bindings.gameoptions.keepinventory.description
lanVisibility
lanVisibility: boolean | undefined;
lanVisibilityboolean|undefined
script_api.minecraft/server-editor-bindings.gameoptions.lanvisibility.description
mobGriefing
mobGriefing: boolean | undefined;
mobLoot
mobLoot: boolean | undefined;
mobSpawning
mobSpawning: boolean | undefined;
multiplayerGame
multiplayerGame: boolean | undefined;
multiplayerGameboolean|undefined
script_api.minecraft/server-editor-bindings.gameoptions.multiplayergame.description
naturalRegeneration
naturalRegeneration: boolean | undefined;
naturalRegenerationboolean|undefined
script_api.minecraft/server-editor-bindings.gameoptions.naturalregeneration.description
playerAccess
playerAccess: GamePublishSetting | undefined;
playerPermissions
playerPermissions: PlayerPermissionLevel | undefined;
randomTickSpeed
randomTickSpeed: int32 | undefined;
recipeUnlocking
recipeUnlocking: boolean | undefined;
recipeUnlockingboolean|undefined
script_api.minecraft/server-editor-bindings.gameoptions.recipeunlocking.description
respawnBlocksExplode
respawnBlocksExplode: boolean | undefined;
respawnBlocksExplodeboolean|undefined
script_api.minecraft/server-editor-bindings.gameoptions.respawnblocksexplode.description
respawnRadius
respawnRadius: int32 | undefined;
showCoordinates
showCoordinates: boolean | undefined;
showCoordinatesboolean|undefined
script_api.minecraft/server-editor-bindings.gameoptions.showcoordinates.description
showDaysPlayed
showDaysPlayed: boolean | undefined;
showDaysPlayedboolean|undefined
script_api.minecraft/server-editor-bindings.gameoptions.showdaysplayed.description
simulationDistance
simulationDistance: int32 | undefined;
simulationDistanceint32|undefined
script_api.minecraft/server-editor-bindings.gameoptions.simulationdistance.description
sleepSkipPercent
sleepSkipPercent: int32 | undefined;
spawnPosition
spawnPosition: Vector3 | undefined;
startingMap
startingMap: boolean | undefined;
tileDrops
tileDrops: boolean | undefined;
timeOfDay
timeOfDay: int32 | undefined;
tntExplodes
tntExplodes: boolean | undefined;
weather
weather: int32 | undefined;
worldName
worldName: string | undefined;