public class MCWorldInfo
extends java.lang.Object
implements crafttweaker.api.world.IWorldInfo
Constructor and Description |
---|
MCWorldInfo(net.minecraft.world.storage.WorldInfo info) |
Modifier and Type | Method and Description |
---|---|
double |
getBoderLerpTarget() |
long |
getBoderLerpTime() |
double |
getBorderCenterX() |
double |
getBorderCenterZ() |
double |
getBorderDamagePerBlock() |
double |
getBorderSafeZone() |
double |
getBorderSize() |
int |
getBorderWarningDistance() |
int |
getBorderWarningTime() |
double |
getCleanWeatherTime() |
java.lang.String |
getDifficulty() |
java.lang.String |
getGeneratorOptions() |
java.lang.Object |
getInternal() |
long |
getLastTimePlayed() |
int |
getRainTime() |
int |
getSaveVersion() |
long |
getSeed() |
int |
getSpawnX() |
int |
getSpawnY() |
int |
getSpawnZ() |
int |
getThunderTime() |
int |
getVersionId() |
java.lang.String |
getVersionName() |
java.lang.String |
getWorldName() |
long |
getWorldTotalTime() |
boolean |
isCommandsAllowed() |
boolean |
isDifficultyLocked() |
boolean |
isHardcoreModeEnabled() |
boolean |
isInitialized() |
boolean |
isMapFeaturesEnabled() |
boolean |
isThundering() |
boolean |
isVersionSnapshot() |
public boolean isCommandsAllowed()
isCommandsAllowed
in interface crafttweaker.api.world.IWorldInfo
public double getBorderCenterX()
getBorderCenterX
in interface crafttweaker.api.world.IWorldInfo
public double getBorderCenterZ()
getBorderCenterZ
in interface crafttweaker.api.world.IWorldInfo
public double getBorderDamagePerBlock()
getBorderDamagePerBlock
in interface crafttweaker.api.world.IWorldInfo
public double getBoderLerpTarget()
getBoderLerpTarget
in interface crafttweaker.api.world.IWorldInfo
public long getBoderLerpTime()
getBoderLerpTime
in interface crafttweaker.api.world.IWorldInfo
public double getBorderSafeZone()
getBorderSafeZone
in interface crafttweaker.api.world.IWorldInfo
public double getBorderSize()
getBorderSize
in interface crafttweaker.api.world.IWorldInfo
public int getBorderWarningDistance()
getBorderWarningDistance
in interface crafttweaker.api.world.IWorldInfo
public int getBorderWarningTime()
getBorderWarningTime
in interface crafttweaker.api.world.IWorldInfo
public double getCleanWeatherTime()
getCleanWeatherTime
in interface crafttweaker.api.world.IWorldInfo
public java.lang.String getDifficulty()
getDifficulty
in interface crafttweaker.api.world.IWorldInfo
public java.lang.String getGeneratorOptions()
getGeneratorOptions
in interface crafttweaker.api.world.IWorldInfo
public long getLastTimePlayed()
getLastTimePlayed
in interface crafttweaker.api.world.IWorldInfo
public int getRainTime()
getRainTime
in interface crafttweaker.api.world.IWorldInfo
public int getSaveVersion()
getSaveVersion
in interface crafttweaker.api.world.IWorldInfo
public long getSeed()
getSeed
in interface crafttweaker.api.world.IWorldInfo
public int getSpawnX()
getSpawnX
in interface crafttweaker.api.world.IWorldInfo
public int getSpawnY()
getSpawnY
in interface crafttweaker.api.world.IWorldInfo
public int getSpawnZ()
getSpawnZ
in interface crafttweaker.api.world.IWorldInfo
public int getThunderTime()
getThunderTime
in interface crafttweaker.api.world.IWorldInfo
public int getVersionId()
getVersionId
in interface crafttweaker.api.world.IWorldInfo
public java.lang.String getVersionName()
getVersionName
in interface crafttweaker.api.world.IWorldInfo
public java.lang.String getWorldName()
getWorldName
in interface crafttweaker.api.world.IWorldInfo
public long getWorldTotalTime()
getWorldTotalTime
in interface crafttweaker.api.world.IWorldInfo
public boolean isDifficultyLocked()
isDifficultyLocked
in interface crafttweaker.api.world.IWorldInfo
public boolean isHardcoreModeEnabled()
isHardcoreModeEnabled
in interface crafttweaker.api.world.IWorldInfo
public boolean isInitialized()
isInitialized
in interface crafttweaker.api.world.IWorldInfo
public boolean isMapFeaturesEnabled()
isMapFeaturesEnabled
in interface crafttweaker.api.world.IWorldInfo
public boolean isThundering()
isThundering
in interface crafttweaker.api.world.IWorldInfo
public boolean isVersionSnapshot()
isVersionSnapshot
in interface crafttweaker.api.world.IWorldInfo
public java.lang.Object getInternal()
getInternal
in interface crafttweaker.api.world.IWorldInfo