public interface ImmutableFireworkEffectData extends ImmutableListData<FireworkEffect,ImmutableFireworkEffectData,FireworkEffectData>
ImmutableDataManipulator 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 ImmutableListValue<FireworkEffect> |
effects()
Gets the
ImmutableListValue of FireworkEffects. |
asList, contains, get, getListValueasMutable, copy, with, withgetContentVersion, toContainerdefault ImmutableListValue<FireworkEffect> effects()
ImmutableListValue of FireworkEffects.
Note that for ItemTypes.FIREWORK_CHARGE only the first effect
will apply to the charge.