public interface FireworkEffectData extends ListData<FireworkEffect,FireworkEffectData,ImmutableFireworkEffectData>
DataManipulator
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 ListValue<FireworkEffect> |
effects()
Gets the
ListValue of FireworkEffect s. |
addElement, addElement, addElements, asList, contains, get, getListValue, remove, remove, removeAll, removeAll, setElement, setElements
asImmutable, copy, fill, fill, from, set, set, set, set, transform
getContentVersion, toContainer
default ListValue<FireworkEffect> effects()
ListValue
of FireworkEffect
s.
Note that for ItemTypes.FIREWORK_CHARGE
only the first effect
will apply to the charge.
Keys.FIREWORK_EFFECTS