public interface ImmutableFireworkEffectData extends ImmutableListData<FireworkEffect,ImmutableFireworkEffectData,FireworkEffectData>
ImmutableDataManipulator
handling the various
FireworkEffect
s associated with a Firework
and
an ItemStack
that is of the ItemTypes.FIREWORKS
or ItemTypes.FIREWORK_CHARGE
.Modifier and Type | Method and Description |
---|---|
default ImmutableListValue<FireworkEffect> |
effects()
Gets the
ImmutableListValue of FireworkEffect s. |
asList, contains, get, getListValue
asMutable, copy, with, with
getContentVersion, toContainer
default ImmutableListValue<FireworkEffect> effects()
ImmutableListValue
of FireworkEffect
s.
Note that for ItemTypes.FIREWORK_CHARGE
only the first effect
will apply to the charge.