Uses of Enum Class
com.plotsquared.core.location.Direction
Packages that use Direction
Package
Description
-
Uses of Direction in com.plotsquared.core.events
Methods in com.plotsquared.core.events that return DirectionMethods in com.plotsquared.core.events with parameters of type DirectionConstructors in com.plotsquared.core.events with parameters of type DirectionModifierConstructorDescriptionPlotMergeEvent(@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
Methods in com.plotsquared.core.location that return DirectionModifier and TypeMethodDescriptionstatic DirectionDirection.getFromIndex(int index) Direction.opposite()Returns the opposite direction.static DirectionReturns 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
Methods in com.plotsquared.core.plot with parameters of type DirectionModifier and TypeMethodDescriptionbooleanPlotModificationManager.autoMerge(@NonNull Direction dir, int max, @NonNull UUID uuid, @Nullable PlotPlayer<?> actor, boolean removeRoads) Auto merge a plot in a specific direction.@Nullable PlotPlot.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 location@NonNull PlotIdPlotId.getRelative(@NonNull Direction direction) Returns a new Plot ID in the specified relative direction based on the current Plot ID.booleanCheck if the plot is merged in a given directionvoidSets the raw merge data
- Updates DB
- Does not modify terrainboolean -
Uses of Direction in com.plotsquared.core.util
Methods in com.plotsquared.core.util with parameters of type DirectionModifier and TypeMethodDescriptionEventDispatcher.callMerge(Plot plot, Direction dir, int max, PlotPlayer<?> player)