public interface FireworkEffectData extends ListData<FireworkEffect,FireworkEffectData,ImmutableFireworkEffectData>
DataManipulator handling the various
FireworkEffects 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 FireworkEffects. |
addElement, addElement, addElements, asList, contains, get, getListValue, remove, remove, removeAll, removeAll, setElement, setElementsasImmutable, copy, fill, fill, from, set, set, set, set, transformgetContentVersion, toContainerdefault ListValue<FireworkEffect> effects()
ListValue of FireworkEffects.
Note that for ItemTypes.FIREWORK_CHARGE only the first effect
will apply to the charge.
Keys.FIREWORK_EFFECTS