Package net.godlycow.org.essc.api.rtp
Interface RtpWorldSettings
public interface RtpWorldSettings
RTP settings for one world. Get them from
RtpManager.-
Method Summary
Modifier and TypeMethodDescriptionGets biomes RTP will not land in.Gets the display name shown to players.intGets the max teleport radius in blocks.intGets the min teleport radius in blocks.Gets the world name.booleanChecks if RTP is on for this world.
-
Method Details
-
getWorldName
String getWorldName()Gets the world name.- Returns:
- the world name
-
getDisplayName
String getDisplayName()Gets the display name shown to players.- Returns:
- the display name
-
getMinRadius
int getMinRadius()Gets the min teleport radius in blocks.- Returns:
- min radius
-
getMaxRadius
int getMaxRadius()Gets the max teleport radius in blocks.- Returns:
- max radius
-
getBlockedBiomes
Gets biomes RTP will not land in.- Returns:
- blocked biomes, never null
-
isEnabled
boolean isEnabled()Checks if RTP is on for this world.- Returns:
- true if enabled
-