public interface Firework extends Projectile, FusedExplosive
| Modifier and Type | Method and Description |
|---|---|
default ListValue<FireworkEffect> |
effects()
Gets the
ListValue of FireworkEffects. |
default FireworkEffectData |
getFireworkData()
Gets a copy of the
FireworkEffectData for this firework. |
getShooter, setShooterdefuse, getFuseData, isPrimed, primedetonate, explosionRadius, getExplosionRadiusDataaddPassenger, canSee, clearPassengers, createArchetype, createSnapshot, damage, getBaseVehicle, getBoundingBox, getCreator, getNearbyEntities, getNearbyEntities, getNotifier, getPassengers, getRandom, getRotation, getScale, getTransform, getType, getVehicle, getVelocity, gravity, hasPassenger, isLoaded, isOnGround, isRemoved, remove, removePassenger, setCreator, setLocation, setLocationAndRotation, setLocationAndRotation, setLocationAndRotationSafely, setLocationAndRotationSafely, setLocationSafely, setNotifier, setRotation, setScale, setTransform, setTransformSafely, setVehicle, setVelocity, transferToWorld, transferToWorld, transferToWorld, transferToWorldgetUniqueIdgetLocation, getWorldsetRawData, validateRawDatagetContentVersion, toContainergetApplicableProperties, getPropertycopyFrom, copyFrom, get, getContainers, getOrCreate, offer, offer, offer, offer, offer, offer, remove, remove, remove, require, supports, transform, tryOffer, tryOffer, tryOffer, tryOffer, undocopy, get, getKeys, getOrElse, getOrNull, getValue, getValues, require, supports, supportsgetTranslationdefault FireworkEffectData getFireworkData()
FireworkEffectData for this firework.default ListValue<FireworkEffect> effects()
ListValue of FireworkEffects.
Note that for ItemTypes.FIREWORK_CHARGE only the first effect
will apply to the charge.