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
ConstructorsConstructorDescriptionSinglePlot(@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 shapesvoidGet the name of the world that the plot is inbooleanisLoaded()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:PlotGet the name of the world that the plot is in- Overrides:
getWorldNamein classPlot- Returns:
- World name
-
getArea
Description copied from class:PlotGets 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
public boolean isLoaded() -
getRegions
Description copied from class:PlotThis will combine each plot into effective rectangular regions
- This result is cached globally
- Useful for handling non rectangular shapes- Overrides:
getRegionsin classPlot- Returns:
- all regions within the plot
-