/** * Gets the {@link RTPOptions} that contains the current * rtp configuration for a default world. * * @return The {@link RTPOptions} */ default RTPOptions options() { return options(null); }
/** * Uses the default RTP kernel (from {@link #getDefaultKernel()} to find a * random location, given the provided {@link RTPOptions}. * * <p>Note that this may fail if the search times out. This does not * indicate a failing routine.</p> * * @param currentLocation The current location to base the RTP off. * @param world The world to warp to * @param options The RTP options to use * @return The location if one was found. */ default Optional<Location<World>> getLocation(@Nullable Location<World> currentLocation, World world, RTPOptions options) { return getDefaultKernel().getLocation(currentLocation, world, options); }