Class WorldSettings

java.lang.Object
net.minecraft.src.WorldSettings

public final class WorldSettings extends Object
  • Constructor Details

    • WorldSettings

      @Deprecated public WorldSettings(long par1, EnumGameType par3EnumGameType, boolean par4, boolean par5, WorldType par6WorldType)
      Deprecated.
    • WorldSettings

      public WorldSettings(long par1, EnumGameType par3EnumGameType, boolean par4, boolean par5, WorldType par6WorldType, Difficulty difficulty, boolean isDifficultyLocked)
    • WorldSettings

      public WorldSettings(WorldInfo par1WorldInfo)
  • Method Details

    • enableBonusChest

      public WorldSettings enableBonusChest()
      Enables the bonus chest.
    • enableCommands

      public WorldSettings enableCommands()
      Enables Commands (cheats).
    • disableCommands

      public WorldSettings disableCommands()
      Disables Commands (cheats).
    • func_82750_a

      public WorldSettings func_82750_a(String par1Str)
    • isBonusChestEnabled

      public boolean isBonusChestEnabled()
      Returns true if the Bonus Chest is enabled.
    • getSeed

      public long getSeed()
      Returns the seed for the world.
    • getGameType

      public EnumGameType getGameType()
      Gets the game type.
    • getHardcoreEnabled

      public boolean getHardcoreEnabled()
      Returns true if hardcore mode is enabled, otherwise false
    • isMapFeaturesEnabled

      public boolean isMapFeaturesEnabled()
      Get whether the map features (e.g. strongholds) generation is enabled or disabled.
    • getTerrainType

      public WorldType getTerrainType()
    • areCommandsAllowed

      public boolean areCommandsAllowed()
      Returns true if Commands (cheats) are allowed.
    • getGameTypeById

      public static EnumGameType getGameTypeById(int par0)
      Gets the GameType by ID
    • getDifficulty

      public Difficulty getDifficulty()
    • func_82749_j

      public String func_82749_j()
    • isDifficultyLocked

      public boolean isDifficultyLocked()