Interface ConveyorService


public interface ConveyorService
Controls arena conveyors, active blocks in transit, and reward block spawns.
  • Method Details

    • isRunning

      boolean isRunning(@NotNull @NotNull String arenaId)
    • start

      @MainThread void start(@NotNull @NotNull String arenaId)
    • stop

      @MainThread void stop(@NotNull @NotNull String arenaId)
    • getBlocks

      @NotNull @NotNull List<ConveyorBlockView> getBlocks(@NotNull @NotNull String arenaId)
    • getAllBlocks

      @NotNull @NotNull List<ConveyorBlockView> getAllBlocks()
    • getDeliveringCount

      int getDeliveringCount(@NotNull @NotNull UUID playerId)
    • isPlayerActive

      boolean isPlayerActive(@NotNull @NotNull UUID playerId)
    • recordPlayerActivity

      void recordPlayerActivity(@NotNull @NotNull UUID playerId)
    • spawnRewardBlock

      @MainThread boolean spawnRewardBlock(@NotNull @NotNull org.bukkit.entity.Player player, @NotNull @NotNull BlockType blockType)
    • spawnGoalRewardBlock

      @MainThread void spawnGoalRewardBlock(@NotNull @NotNull String arenaId, @NotNull @NotNull String rarity)
    • boostNearbyBlocks

      @MainThread void boostNearbyBlocks(@NotNull @NotNull org.bukkit.Location location, double radius)