Package eu.sculkpowered.server.container
Interface BeaconContainer
- All Superinterfaces:
Container
Represents a container of a beacon block.
-
Nested Class Summary
Nested classes/interfaces inherited from interface eu.sculkpowered.server.container.Container
Container.Type
-
Method Summary
Modifier and TypeMethodDescription@NotNull PotionType
Gets the first potion effect of the beacon.void
firstPotionEffect
(@NotNull PotionType potionType) Sets the first potion effect of the beacon.int
Gets the power level of the beacon.void
powerLevel
(@org.jetbrains.annotations.Range(from=0L, to=4L) int powerLevel) Sets the power level of the beacon.@NotNull PotionType
Gets the second potion effect of the beacon.void
secondPotionEffect
(@NotNull PotionType potionType) Sets the second potion effect of the beacon.
-
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
Sets the first potion effect of the beacon.- Parameters:
potionType
- the first potion effect- Since:
- 1.0.0
-
firstPotionEffect
Gets the first potion effect of the beacon.- Returns:
- the first potion effect
- Since:
- 1.0.0
-
secondPotionEffect
Sets the second potion effect of the beacon.- Parameters:
potionType
- the second potion effect- Since:
- 1.0.0
-
secondPotionEffect
Gets the second potion effect of the beacon.- Returns:
- the second potion effect
- Since:
- 1.0.0
-