/** * Instantiate the MapController with the given server map used. * * @param serverMap the server map containing the context and map */ public ServerMapController(BW4TServerMap serverMap) { super(serverMap.getMap()); this.serverMap = serverMap; getRenderSettings().setRenderEntityName(true); Dimensions size = serverMap.getContinuousSpace().getDimensions(); getRenderSettings().setWorldDimensions((int) size.getWidth(), (int) size.getHeight()); }