public interface BeaconData extends DataManipulator<BeaconData,ImmutableBeaconData>
DataManipulator handling the data for a Beacon,
usually applicable to the PotionEffectTypes being applied to
Entity instances in the region around the Beacon.| Modifier and Type | Method and Description |
|---|---|
BeaconData |
clearEffects()
Fills the primary and secondary
PotionEffectTypes
with Optional.empty() values as a semi "reset" state. |
OptionalValue<PotionEffectType> |
primaryEffect()
Gets the
OptionalValue for the primary
PotionEffectType. |
OptionalValue<PotionEffectType> |
secondaryEffect()
Gets the
OptionalValue for the secondary
PotionEffectType. |
asImmutable, copy, fill, fill, from, set, set, set, set, transformgetContentVersion, toContainerOptionalValue<PotionEffectType> primaryEffect()
OptionalValue for the primary
PotionEffectType.Keys.BEACON_PRIMARY_EFFECTOptionalValue<PotionEffectType> secondaryEffect()
OptionalValue for the secondary
PotionEffectType.Keys.BEACON_SECONDARY_EFFECTBeaconData clearEffects()
PotionEffectTypes
with Optional.empty() values as a semi "reset" state.