Package com.plotsquared.core.plot.world
Class SinglePlot
java.lang.Object
com.plotsquared.core.plot.Plot
com.plotsquared.core.plot.world.SinglePlot
-
Field Summary
Fields inherited from class com.plotsquared.core.plot.Plot
MAX_HEIGHT, temp
-
Constructor Summary
ConstructorDescriptionSinglePlot
(@NonNull PlotArea area, @NonNull PlotId id) SinglePlot
(PlotId id, UUID owner, HashSet<UUID> trusted, HashSet<UUID> members, HashSet<UUID> denied, String alias, BlockLoc position, Collection<PlotFlag<?, ?>> flags, PlotArea area, boolean[] merged, long timestamp, int temp) -
Method Summary
Modifier and TypeMethodDescriptiongetArea()
Gets the plot world object for this plot
- The generic PlotArea object can be casted to its respective class for more control (e.g.This will combine each plot into effective rectangular regions
- This result is cached globally
- Useful for handling non rectangular shapesvoid
Get the name of the world that the plot is inboolean
isLoaded()
Methods inherited from class com.plotsquared.core.plot.Plot
addDenied, addMember, addRating, addRunning, addTrusted, canClaim, claim, claim, claim, clearCache, clearRatings, countEntities, debug, deleteMeta, equals, format, fromString, getAlias, getApplicableFlags, getApplicableFlags, getAverageRating, getAverageRatings, getBasePlot, getBiome, getBiomeSynchronous, getBottom, getBottomAbs, getCenter, getCenterSynchronous, getCluster, getComplexity, getConnectedPlots, getCorners, getDefaultHome, getDefaultHome, getDefaultHomeSynchronous, getDenied, getDistanceFromOrigin, getExtendedBottomAbs, getExtendedTopAbs, getFlag, getFlag, getFlagContainer, getFlags, getHome, getHomeSynchronous, getId, getLargestRegion, getLikes, getManager, getMembers, getMerged, getMeta, getOwner, getOwnerAbs, getOwners, getPlayersInPlot, getPlot, getPlotCommentContainer, getPlotFromString, getPlotModificationManager, getPosition, getRatings, getRelative, getRelative, getRelative, getRunning, getSettings, getSideSynchronous, getTimestamp, getTop, getTopAbs, getTrusted, getVolume, hashCode, hasOwner, hasRatings, isAdded, isBasePlot, isDenied, isMerged, isMerged, isMerged, isOnline, isOwner, isOwnerAbs, mergeData, mergePlot, moveData, reEnter, removeDenied, removeFlag, removeFlag, removeMember, removeRunning, removeTrusted, setAlias, setArea, setDenied, setFlag, setFlag, setHome, setId, setMembers, setMerged, setMerged, setMeta, setOwner, setOwner, setOwnerAbs, setTrusted, swapData, teleportPlayer, teleportPlayer, toString, unclaim, updateWorldBorder
-
Constructor Details
-
SinglePlot
-
SinglePlot
-
-
Method Details
-
getWorldName
Description copied from class:Plot
Get the name of the world that the plot is in- Overrides:
getWorldName
in classPlot
- Returns:
- World name
-
getArea
Description copied from class:Plot
Gets the plot world object for this plot
- The generic PlotArea object can be casted to its respective class for more control (e.g. HybridPlotWorld) -
getSide
-
isLoaded
-
getRegions
Description copied from class:Plot
This will combine each plot into effective rectangular regions
- This result is cached globally
- Useful for handling non rectangular shapes- Overrides:
getRegions
in classPlot
- Returns:
- all regions within the plot
-