Commits
Senmori authored and md_5 committed da81c56cee1
1 1 | package org.bukkit.block; |
2 2 | |
3 3 | import java.util.Collection; |
4 + | import org.bukkit.Nameable; |
4 5 | import org.bukkit.entity.LivingEntity; |
5 6 | import org.bukkit.inventory.InventoryHolder; |
6 7 | import org.bukkit.potion.PotionEffect; |
7 8 | import org.bukkit.potion.PotionEffectType; |
8 9 | |
9 10 | /** |
10 11 | * Represents a beacon. |
11 12 | */ |
12 - | public interface Beacon extends BlockState, InventoryHolder, Lockable { |
13 + | public interface Beacon extends BlockState, InventoryHolder, Lockable, Nameable { |
13 14 | |
14 15 | /** |
15 16 | * Returns the list of players within the beacon's range of effect. |
16 17 | * |
17 18 | * @return the players in range |
18 19 | */ |
19 20 | Collection<LivingEntity> getEntitiesInRange(); |
20 21 | |
21 22 | /** |
22 23 | * Returns the tier of the beacon pyramid (0-4). The tier refers to the |