Commits
Spottedleaf authored and md_5 committed 26e1774edfa
1529 1529 | public void setDifficulty( Difficulty difficulty); |
1530 1530 | |
1531 1531 | /** |
1532 1532 | * Gets the Difficulty of the world. |
1533 1533 | * |
1534 1534 | * @return The difficulty of the world. |
1535 1535 | */ |
1536 1536 | |
1537 1537 | public Difficulty getDifficulty(); |
1538 1538 | |
1539 + | /** |
1540 + | * Returns the view distance used for this world. |
1541 + | * |
1542 + | * @return the view distance used for this world |
1543 + | */ |
1544 + | int getViewDistance(); |
1545 + | |
1539 1546 | /** |
1540 1547 | * Gets the folder of this world on disk. |
1541 1548 | * |
1542 1549 | * @return The folder of this world. |
1543 1550 | */ |
1544 1551 | |
1545 1552 | public File getWorldFolder(); |
1546 1553 | |
1547 1554 | /** |
1548 1555 | * Gets the type of this world. |