public interface ImmutableBeaconData extends ImmutableDataManipulator<ImmutableBeaconData,BeaconData>
ImmutableDataManipulator 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 |
|---|---|
ImmutableBeaconData |
clearEffects()
Creates a new
ImmutableBeaconData with Optional.empty()
values for the primary and secondary PotionEffectTypes. |
ImmutableOptionalValue<PotionEffectType> |
primaryEffect()
Gets the
ImmutableOptionalValue for the primary
PotionEffectType. |
ImmutableOptionalValue<PotionEffectType> |
secondaryEffect()
Gets the
ImmutableOptionalValue for the secondary
PotionEffectType. |
asMutable, copy, with, withgetContentVersion, toContainerImmutableOptionalValue<PotionEffectType> primaryEffect()
ImmutableOptionalValue for the primary
PotionEffectType.ImmutableOptionalValue<PotionEffectType> secondaryEffect()
ImmutableOptionalValue for the secondary
PotionEffectType.ImmutableBeaconData clearEffects()
ImmutableBeaconData with Optional.empty()
values for the primary and secondary PotionEffectTypes.