primaryEffect
Gets the
Value.Mutable
for the primary
PotionEffectType
.- Returns:
- The optional value for the primary potion effect
BlockEntity
, CopyableDataHolder
, DataHolder
, DataHolder.Mutable
, DataSerializable
, Locatable
, NameableBlockEntity
, SerializableDataHolder
, SerializableDataHolder.Mutable
, ValueContainer
Beacons apply prescribed effects according to the Keys.PRIMARY_POTION_EFFECT_TYPE
.
Depending on the completed levels of the beacon, the effects may be applied
at a further range or shorter range.
DataHolder.Immutable<I extends DataHolder.Immutable<I>>, DataHolder.Mutable
SerializableDataHolder.Immutable<I extends SerializableDataHolder.Immutable<I>>, SerializableDataHolder.Mutable
int
default Optional<Value.Mutable<PotionEffectType>>
Value.Mutable
for the primary
PotionEffectType
.default Optional<Value.Mutable<PotionEffectType>>
Value.Mutable
for the secondary
PotionEffectType
.block, canTick, copy, createArchetype, isRemoved, isTicking, locatableBlock, mirror, mirror, remove, rotate, rotate, setTicking, type
copyFrom, copyFrom, offer, offer, offer, offer, offerAll, offerAll, offerAll, offerAll, offerAll, offerAll, offerSingle, offerSingle, offerSingle, offerSingle, remove, remove, remove, removeAll, removeAll, removeAll, removeAll, removeAll, removeAll, removeKey, removeKey, removeSingle, removeSingle, transform, transform, tryOffer, tryOffer, tryOffer, undo
contentVersion, toContainer
blockPosition, location, serverLocation, world
displayName
validateRawData
setRawData
Value.Mutable
for the primary
PotionEffectType
.Value.Mutable
for the secondary
PotionEffectType
.