Interface GateService
public interface GateService
Controls base security gates and virtual barrier protections.
-
Method Summary
Modifier and TypeMethodDescriptionvoid@NotNull List<org.bukkit.Location> getGateBlocks(@NotNull PlotView plot, int gateId) booleanisGateOpen(@NotNull UUID ownerId, int gateId) voidlockThiefGate(@NotNull PlotView plot) voidvoidtoggleGate(@NotNull org.bukkit.entity.Player owner, @NotNull PlotView plot, int gateId) voidunlockThiefGate(@NotNull PlotView plot)
-
Method Details
-
isGateOpen
-
openGate
@MainThread void openGate(@NotNull @NotNull org.bukkit.entity.Player owner, @NotNull @NotNull PlotView plot, int gateId) -
closeGate
@MainThread void closeGate(@NotNull @NotNull org.bukkit.entity.Player owner, @NotNull @NotNull PlotView plot, int gateId) -
toggleGate
@MainThread void toggleGate(@NotNull @NotNull org.bukkit.entity.Player owner, @NotNull @NotNull PlotView plot, int gateId) -
lockThiefGate
-
unlockThiefGate
-
getGateBlocks
-