IWorldInfo
Link to iworldinfo
The World Info interface is used to get even more information out of an IWorld object.
导入相关包
Link to 导入相关包
It might be required for you to import the package if you encounter any issues, so better be safe than sorry and add the import.
import crafttweaker.world.IWorldInfo;
ZenMethods without parameters and ZenGetters
Link to zenmethods-without-parameters-and-zengetters
ZenGetter | ZenMethod | 返回值类型 |
---|---|---|
ZenGetter commandsAllowed | ZenMethod isCommandsAllowed() | 返回值类型 bool |
ZenGetter borderCenterX | ZenMethod getBorderCenterX() | 返回值类型 double |
ZenGetter borderCenterZ | ZenMethod getBorderCenterZ() | 返回值类型 double |
ZenGetter borderDamagePerBlock | ZenMethod getBorderDamagePerBlock() | 返回值类型 double |
ZenGetter borderSafeZone | ZenMethod getBorderSafeZone() | 返回值类型 double |
ZenGetter borderSize | ZenMethod getBorderSize() | 返回值类型 double |
ZenGetter borderWarningDistance | ZenMethod getBorderWarningDistance() | 返回值类型 int |
ZenGetter borderWarningTime | ZenMethod getBorderWarningTime() | 返回值类型 int |
ZenGetter cleanWeatherTime | ZenMethod getCleanWeatherTime() | 返回值类型 double |
ZenGetter difficulty | ZenMethod getDifficulty() | 返回值类型 string |
ZenGetter generatorOptions | ZenMethod getGeneratorOptions() | 返回值类型 string |
ZenGetter lastTimePlayed | ZenMethod getLastTimePlayed() | 返回值类型 long |
ZenGetter rainTime | ZenMethod getRainTime() | 返回值类型 int |
ZenGetter saveVersion | ZenMethod getSaveVersion() | 返回值类型 int |
ZenGetter seed | ZenMethod getSeed() | 返回值类型 long |
ZenGetter spawnX | ZenMethod getSpawnX() | 返回值类型 int |
ZenGetter spawnY | ZenMethod getSpawnY() | 返回值类型 int |
ZenGetter spawnZ | ZenMethod getSpawnZ() | 返回值类型 int |
ZenGetter thunderTime | ZenMethod getThunderTime() | 返回值类型 int |
ZenGetter versionId | ZenMethod getVersionId() | 返回值类型 int |
ZenGetter versionName | ZenMethod getVersionName() | 返回值类型 string |
ZenGetter worldName | ZenMethod getWorldName() | 返回值类型 string |
ZenGetter worldTotalTime | ZenMethod getWorldTotalTime() | 返回值类型 long |
ZenGetter boderLerpTarget | ZenMethod getBoderLerpTarget() | 返回值类型 double |
ZenGetter boderLerpTime | ZenMethod getBoderLerpTime() | 返回值类型 long |
ZenGetter difficultyLocked | ZenMethod isDifficultyLocked() | 返回值类型 bool |
ZenGetter hardcoreModeEnabled | ZenMethod isHardcoreModeEnabled() | 返回值类型 bool |
ZenGetter initialized | ZenMethod isInitialized() | 返回值类型 bool |
ZenGetter mapFeaturesEnabled | ZenMethod isMapFeaturesEnabled() | 返回值类型 bool |
ZenGetter thundering | ZenMethod isThundering() | 返回值类型 bool |
ZenGetter versionSnapshot | ZenMethod isVersionSnapshot() | 返回值类型 bool |