public interface ImmutableBeaconData extends ImmutableDataManipulator<ImmutableBeaconData,BeaconData>
ImmutableDataManipulator
handling the data for a Beacon
,
usually applicable to the PotionEffectType
s 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 PotionEffectType s. |
ImmutableOptionalValue<PotionEffectType> |
primaryEffect()
Gets the
ImmutableOptionalValue for the primary
PotionEffectType . |
ImmutableOptionalValue<PotionEffectType> |
secondaryEffect()
Gets the
ImmutableOptionalValue for the secondary
PotionEffectType . |
asMutable, copy, with, with
getContentVersion, toContainer
ImmutableOptionalValue<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 PotionEffectType
s.