Interface BeaconContainer

All Superinterfaces:
Container

public interface BeaconContainer extends Container
Represents a container of a beacon block.
  • Method Details

    • powerLevel

      void powerLevel(@org.jetbrains.annotations.Range(from=0L, to=4L) int powerLevel)
      Sets the power level of the beacon.
      Parameters:
      powerLevel - the power level to set
      Since:
      1.0.0
    • powerLevel

      int powerLevel()
      Gets the power level of the beacon.
      Returns:
      the power level of this beacon
      Since:
      1.0.0
    • firstPotionEffect

      void firstPotionEffect(@NotNull @NotNull PotionType potionType)
      Sets the first potion effect of the beacon.
      Parameters:
      potionType - the first potion effect
      Since:
      1.0.0
    • firstPotionEffect

      @NotNull @NotNull PotionType firstPotionEffect()
      Gets the first potion effect of the beacon.
      Returns:
      the first potion effect
      Since:
      1.0.0
    • secondPotionEffect

      void secondPotionEffect(@NotNull @NotNull PotionType potionType)
      Sets the second potion effect of the beacon.
      Parameters:
      potionType - the second potion effect
      Since:
      1.0.0
    • secondPotionEffect

      @NotNull @NotNull PotionType secondPotionEffect()
      Gets the second potion effect of the beacon.
      Returns:
      the second potion effect
      Since:
      1.0.0