Removed entity and tile limit settings from world settings

The functionality of limiting certain entities or tile entities can be
provided by an addon instead.
This commit is contained in:
tastybento 2018-08-17 17:42:57 -07:00
parent 3ebbcd87e8
commit f152d218fc
2 changed files with 0 additions and 24 deletions

View File

@ -49,11 +49,6 @@ public interface WorldSettings {
*/ */
void setDifficulty(Difficulty difficulty); void setDifficulty(Difficulty difficulty);
/**
* @return the entityLimits
*/
Map<EntityType, Integer> getEntityLimits();
/** /**
* @return the friendly name of the world. Used in player commands * @return the friendly name of the world. Used in player commands
*/ */
@ -135,11 +130,6 @@ public interface WorldSettings {
*/ */
int getSeaHeight(); int getSeaHeight();
/**
* @return the tileEntityLimits
*/
Map<String, Integer> getTileEntityLimits();
/** /**
* @return visible settings for player * @return visible settings for player
*/ */

View File

@ -185,13 +185,6 @@ public class IslandWorldManager {
.map(Map.Entry::getKey).findFirst().orElse(null); .map(Map.Entry::getKey).findFirst().orElse(null);
} }
/**
* @return the entityLimits
*/
public Map<EntityType, Integer> getEntityLimits(World world) {
return worldSettings.get(Util.getWorld(world)).getEntityLimits();
}
/** /**
* @return the islandDistance * @return the islandDistance
*/ */
@ -262,13 +255,6 @@ public class IslandWorldManager {
return worldSettings.get(Util.getWorld(world)).getSeaHeight(); return worldSettings.get(Util.getWorld(world)).getSeaHeight();
} }
/**
* @return the tileEntityLimits
*/
public Map<String, Integer> getTileEntityLimits(World world) {
return worldSettings.get(Util.getWorld(world)).getTileEntityLimits();
}
/** /**
* @return the worldName * @return the worldName
*/ */