public interface Firework extends Projectile, FusedExplosive
Modifier and Type | Method and Description |
---|---|
default ListValue<FireworkEffect> |
effects()
Gets the
ListValue of FireworkEffect s. |
default FireworkEffectData |
getFireworkData()
Gets a copy of the
FireworkEffectData for this firework. |
getShooter, setShooter
defuse, getFuseData, isPrimed, prime
detonate, explosionRadius, getExplosionRadiusData
addPassenger, 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, transferToWorld
getUniqueId
getLocation, getWorld
setRawData, validateRawData
getContentVersion, toContainer
getApplicableProperties, getProperty
copyFrom, copyFrom, get, getContainers, getOrCreate, offer, offer, offer, offer, offer, offer, remove, remove, remove, require, supports, transform, tryOffer, tryOffer, tryOffer, tryOffer, undo
copy, get, getKeys, getOrElse, getOrNull, getValue, getValues, require, supports, supports
getTranslation
default FireworkEffectData getFireworkData()
FireworkEffectData
for this firework.default ListValue<FireworkEffect> effects()
ListValue
of FireworkEffect
s.
Note that for ItemTypes.FIREWORK_CHARGE
only the first effect
will apply to the charge.