Class WorldInfo


  • public class WorldInfo
    extends java.lang.Object
    • Method Detail

      • getNBTTagCompoundWithPlayers

        public NBTTagCompound getNBTTagCompoundWithPlayers​(java.util.List var1)
      • getSeed

        public long getSeed()
      • getSpawnX

        public int getSpawnX()
      • getSpawnY

        public int getSpawnY()
      • getSpawnZ

        public int getSpawnZ()
      • getWorldTime

        public long getWorldTime()
      • getSizeOnDisk

        @Client
        public @net.minecraft.modding.api.Side.Client long getSizeOnDisk()
      • getDimension

        public int getDimension()
      • setSpawnX

        @Client
        public void setSpawnX​(int var1)
      • setSpawnY

        @Client
        public void setSpawnY​(int var1)
      • setSpawnZ

        @Client
        public void setSpawnZ​(int var1)
      • setWorldTime

        public void setWorldTime​(long var1)
      • getTotalTime

        public long getTotalTime()
      • setTotalTime

        public void setTotalTime​(long totalTime)
      • setSpawnPosition

        public void setSpawnPosition​(int var1,
                                     int var2,
                                     int var3)
      • getWorldName

        @Client
        public @Client java.lang.String getWorldName()
      • setWorldName

        public void setWorldName​(java.lang.String var1)
      • getSaveVersion

        public int getSaveVersion()
      • setSaveVersion

        public void setSaveVersion​(int var1)
      • getLastTimePlayed

        @Client
        public @net.minecraft.modding.api.Side.Client long getLastTimePlayed()
      • isThundering

        public boolean isThundering()
      • setThundering

        public void setThundering​(boolean var1)
      • getThunderTime

        public int getThunderTime()
      • setThunderTime

        public void setThunderTime​(int var1)
      • isRaining

        public boolean isRaining()
      • setRaining

        public void setRaining​(boolean var1)
      • getRainTime

        public int getRainTime()
      • setRainTime

        public void setRainTime​(int var1)
      • getGameType

        public int getGameType()
      • isMapFeaturesEnabled

        public boolean isMapFeaturesEnabled()
      • setGameType

        public void setGameType​(int var1)
      • isHardcoreModeEnabled

        public boolean isHardcoreModeEnabled()
      • getTerrainType

        public WorldType getTerrainType()
      • setTerrainType

        public void setTerrainType​(WorldType var1)
      • getStorageVersionName

        public static java.lang.String getStorageVersionName​(int id)