/** * Gets all warps that have categories. * * @return The warps. */ default Map<WarpCategory, List<Warp>> getWarpsWithCategories() { return getWarpsWithCategories(x -> true); }
/** * Gets whether a warp exists. * * @param name The name to check for. * @return <code>true</code> if it exists, <code>false</code> otherwise. */ default boolean warpExists(String name) { return getWarp(name).isPresent(); }