Uses of Enum Class
com.plotsquared.core.location.Direction
Package
Description
-
Uses of Direction in com.plotsquared.core.events
ModifierConstructorDescriptionPlotMergeEvent
(@NonNull String world, @NonNull Plot plot, @NonNull Direction dir, int max, PlotPlayer<?> player) PlotMergeEvent: Called when plots are merged -
Uses of Direction in com.plotsquared.core.location
Modifier and TypeMethodDescriptionstatic Direction
Direction.getFromIndex
(int index) static Direction
Returns the enum constant of this class with the specified name.static Direction[]
Direction.values()
Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of Direction in com.plotsquared.core.plot
Modifier and TypeMethodDescriptionboolean
PlotModificationManager.autoMerge
(@NonNull Direction dir, int max, @NonNull UUID uuid, @Nullable PlotPlayer<?> actor, boolean removeRoads) Auto merge a plot in a specific direction.Plot.getRelative
(@NonNull Direction direction) Gets the plot in a relative direction Note: May be null if the partial plot area does not include the relative locationPlotId.getRelative
(@NonNull Direction direction) Get the PlotId in a relative directionboolean
Check if the plot is merged in a given directionvoid
Sets the raw merge data
- Updates DB
- Does not modify terrainboolean
-
Uses of Direction in com.plotsquared.core.util
Modifier and TypeMethodDescriptionEventDispatcher.callMerge
(Plot plot, Direction dir, int max, PlotPlayer<?> player)