public interface Beacon extends TileEntityCarrier
Beacons apply prescribed effects according to the BeaconData.
Depending on the completed levels of the beacon, the effects may be applied
at a further range or shorter range.
| Modifier and Type | Method and Description |
|---|---|
default BeaconData |
getBeaconData()
Gets the current
BeaconData for this beacon. |
int |
getCompletedLevels()
Gets the number of completed levels of valid beacon structure blocks
beneath this beacon.
|
default OptionalValue<PotionEffectType> |
primaryEffect()
Gets the
OptionalValue for the primary
PotionEffectType. |
default OptionalValue<PotionEffectType> |
secondaryEffect()
Gets the
OptionalValue for the secondary
PotionEffectType. |
getInventorycreateArchetype, getBlock, getLocatableBlock, getType, isValid, setValidsetRawData, validateRawDatagetContentVersion, toContainergetApplicableProperties, getPropertycopyFrom, copyFrom, get, getContainers, getOrCreate, offer, offer, offer, offer, offer, offer, remove, remove, remove, require, supports, transform, tryOffer, tryOffer, tryOffer, tryOffer, undocopy, get, getKeys, getOrElse, getOrNull, getValue, getValues, require, supports, supportsgetInventory, getLocationint getCompletedLevels()
default BeaconData getBeaconData()
BeaconData for this beacon.default OptionalValue<PotionEffectType> primaryEffect()
OptionalValue for the primary
PotionEffectType.default OptionalValue<PotionEffectType> secondaryEffect()
OptionalValue for the secondary
PotionEffectType.