public class FireworkMock extends ProjectileMock implements org.bukkit.entity.Firework
Firework Entity. It takes a FireworkMeta to carry all
properties.| Constructor and Description |
|---|
FireworkMock(@NotNull ServerMock server,
@NotNull java.util.UUID uuid) |
FireworkMock(@NotNull ServerMock server,
@NotNull java.util.UUID uuid,
@NotNull org.bukkit.inventory.meta.FireworkMeta meta) |
| Modifier and Type | Method and Description |
|---|---|
void |
detonate() |
@NotNull org.bukkit.inventory.meta.FireworkMeta |
getFireworkMeta() |
org.bukkit.entity.EntityType |
getType() |
boolean |
isShotAtAngle() |
void |
setFireworkMeta(@NotNull org.bukkit.inventory.meta.FireworkMeta meta) |
void |
setShotAtAngle(boolean shotAtAngle) |
doesBounce, getShooter, setBounce, setShooteraddAttachment, addAttachment, addAttachment, addAttachment, addPassenger, addScoreboardTag, assertLocation, assertNotTeleported, assertTeleported, clearTeleported, eject, equals, getBoundingBox, getCustomName, getEffectivePermissions, getEntityId, getFacing, getFallDistance, getFireTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getMetadata, getName, getNearbyEntities, getPassenger, getPassengers, getPersistentDataContainer, getPistonMoveReaction, getPortalCooldown, getPose, getScoreboardTags, getServer, getTeleportCause, getTicksLived, getUniqueId, getVehicle, getVelocity, getWidth, getWorld, hasGravity, hashCode, hasMetadata, hasPermission, hasPermission, hasTeleported, isCustomNameVisible, isDead, isEmpty, isGlowing, isInsideVehicle, isInvulnerable, isInWater, isOnGround, isOp, isPermissionSet, isPermissionSet, isPersistent, isSilent, isValid, leaveVehicle, nextMessage, playEffect, recalculatePermissions, remove, removeAttachment, removeMetadata, removePassenger, removeScoreboardTag, sendMessage, sendMessage, sendMessage, sendMessage, setCustomName, setCustomNameVisible, setFallDistance, setFireTicks, setGlowing, setGravity, setInvulnerable, setLastDamageCause, setLocation, setMetadata, setName, setOp, setPassenger, setPersistent, setPortalCooldown, setRotation, setSilent, setTicksLived, setVelocity, spigot, teleport, teleport, teleport, teleportsendMessage, sendMessage, sendMessage, sendMessageclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitdoesBounce, getShooter, setBounce, setShooteraddPassenger, addScoreboardTag, eject, getBoundingBox, getEntityId, getFacing, getFallDistance, getFireTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getPassenger, getPassengers, getPistonMoveReaction, getPortalCooldown, getPose, getScoreboardTags, getServer, getTicksLived, getUniqueId, getVehicle, getVelocity, getWidth, getWorld, hasGravity, isCustomNameVisible, isDead, isEmpty, isGlowing, isInsideVehicle, isInvulnerable, isInWater, isOnGround, isPersistent, isSilent, isValid, leaveVehicle, playEffect, remove, removePassenger, removeScoreboardTag, setCustomNameVisible, setFallDistance, setFireTicks, setGlowing, setGravity, setInvulnerable, setLastDamageCause, setPassenger, setPersistent, setPortalCooldown, setRotation, setSilent, setTicksLived, setVelocity, spigot, teleport, teleport, teleport, teleportgetMetadata, hasMetadata, removeMetadata, setMetadatagetName, sendMessage, sendMessage, sendMessage, sendMessageaddAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachmentgetPersistentDataContainerassertNoMoreSaid, assertSaidpublic FireworkMock(@NotNull
@NotNull ServerMock server,
@NotNull
@NotNull java.util.UUID uuid)
public FireworkMock(@NotNull
@NotNull ServerMock server,
@NotNull
@NotNull java.util.UUID uuid,
@NotNull
@NotNull org.bukkit.inventory.meta.FireworkMeta meta)
public org.bukkit.entity.EntityType getType()
getType in interface org.bukkit.entity.Entity@NotNull public @NotNull org.bukkit.inventory.meta.FireworkMeta getFireworkMeta()
getFireworkMeta in interface org.bukkit.entity.Fireworkpublic void setFireworkMeta(@NotNull
@NotNull org.bukkit.inventory.meta.FireworkMeta meta)
setFireworkMeta in interface org.bukkit.entity.Fireworkpublic void detonate()
detonate in interface org.bukkit.entity.Fireworkpublic boolean isShotAtAngle()
isShotAtAngle in interface org.bukkit.entity.Fireworkpublic void setShotAtAngle(boolean shotAtAngle)
setShotAtAngle in interface org.bukkit.entity.Firework