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 . |
getInventory
createArchetype, getBlock, getLocatableBlock, getType, isValid, setValid
setRawData, validateRawData
getContentVersion, toContainer
getApplicableProperties, getProperty
copyFrom, copyFrom, get, getContainers, getOrCreate, offer, offer, offer, offer, offer, offer, remove, remove, remove, require, supports, transform, tryOffer, tryOffer, tryOffer, tryOffer, undo
copy, get, getKeys, getOrElse, getOrNull, getValue, getValues, require, supports, supports
getInventory, getLocation
int 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
.