public class GlowFireball extends GlowProjectile implements org.bukkit.entity.Fireball
active, airDrag, applyDragBeforeAccel, boundingBox, ENTITY_ID_NOBODY, entityId, gravityAccel, liquidDrag, location, metadata, passengerChanged, previousLocation, removed, server, slipMultiplier, teleported, ticksLived, vehicle, velocity, velocityChanged, world, worldLock
Constructor and Description |
---|
GlowFireball(org.bukkit.Location location)
Creates a fireball.
|
Modifier and Type | Method and Description |
---|---|
void |
collide(org.bukkit.block.Block block)
Collide with the target block.
|
void |
collide(org.bukkit.entity.LivingEntity entity) |
org.bukkit.util.Vector |
getDirection() |
protected int |
getObjectId() |
float |
getYield() |
boolean |
isIncendiary() |
void |
setDirection(org.bukkit.util.Vector vector) |
void |
setIsIncendiary(boolean b) |
void |
setYield(float yield) |
createSpawnMessage, doesBounce, getShooter, hasDefaultLandingBehavior, isGlowing, isInvulnerable, pulsePhysics, setBounce, setGlowing, setInvulnerable, setShooter
addAttachment, addAttachment, addAttachment, addAttachment, addPassenger, addScoreboardTag, createAfterSpawnMessage, createUpdateMessage, damage, damage, damage, damage, eject, entityInteract, equals, fromMobSpawner, getCardinalFacing, getChunk, getCustomName, getCustomTags, getDismountLocation, getEffectivePermissions, getEntityId, getFacing, getFallDistance, getFireTicks, getGravityAccel, getHeight, getLastDamageCause, getLeashedEntities, getLeashHolder, getLocation, getLocation, getMaxFireTicks, getMetadata, getMetadata, getMountLocation, getName, getNearbyEntities, getOrigin, getPassenger, getPassengers, getPistonMoveReaction, getPortalCooldown, getScoreboardTags, getServer, getTicksLived, getType, getUniqueId, getVehicle, getVelocity, getWidth, getWorld, hasFriction, hasGravity, hashCode, hasMetadata, hasMoved, hasPermission, hasPermission, hasRotated, intersects, isCustomNameVisible, isDead, isEmpty, isInsideVehicle, isLeashed, isOnGround, isOp, isPermissionSet, isPermissionSet, isRemoved, isSilent, isTeleported, isTouchingMaterial, isValid, isWithinDistance, isWithinDistance, leaveVehicle, playEffect, playEffectKnownAndSelf, pulse, recalculatePermissions, remove, removeAttachment, removeMetadata, removePassenger, removeScoreboardTag, reset, sendMessage, sendMessage, setAirDrag, setApplyDragBeforeAccel, setBoundingBox, setCustomName, setCustomNameVisible, setFallDistance, setFireTicks, setFriction, setGravity, setGravityAccel, setLastDamageCause, setLeashHolder, setLeashHolderUniqueId, setLiquidDrag, setMetadata, setOnGround, setOp, setPassenger, setPortalCooldown, setRawLocation, setRawLocation, setSilent, setSize, setTicksLived, setUniqueId, setVelocity, shouldSave, spigot, teleport, teleport, teleport, teleport, teleportToEnd, teleportToSpawn, toString, updateBoundingBox
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
doesBounce, getShooter, setBounce, setShooter
addPassenger, addScoreboardTag, eject, fromMobSpawner, getChunk, getEntityId, getFallDistance, getFireTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getOrigin, getPassenger, getPassengers, getPistonMoveReaction, getPortalCooldown, getScoreboardTags, getServer, getTicksLived, getType, getUniqueId, getVehicle, getVelocity, getWidth, getWorld, hasGravity, isCustomNameVisible, isDead, isEmpty, isGlowing, isInsideVehicle, isInvulnerable, isOnGround, isSilent, isValid, leaveVehicle, playEffect, remove, removePassenger, removeScoreboardTag, setCustomNameVisible, setFallDistance, setFireTicks, setGlowing, setGravity, setInvulnerable, setLastDamageCause, setPassenger, setPortalCooldown, setSilent, setTicksLived, setVelocity, spigot, teleport, teleport, teleport, teleport
getMetadata, hasMetadata, removeMetadata, setMetadata
getName, sendMessage, sendMessage, sendMessage, sendMessage
public GlowFireball(org.bukkit.Location location)
location
- the initial locationpublic void collide(org.bukkit.block.Block block)
GlowEntity
collide
in class GlowProjectile
block
- a block whose type Material.isOccluding()
public void collide(org.bukkit.entity.LivingEntity entity)
collide
in class GlowProjectile
protected int getObjectId()
getObjectId
in class GlowProjectile
public void setDirection(org.bukkit.util.Vector vector)
setDirection
in interface org.bukkit.entity.Fireball
public org.bukkit.util.Vector getDirection()
getDirection
in interface org.bukkit.entity.Fireball
public void setIsIncendiary(boolean b)
setIsIncendiary
in interface org.bukkit.entity.Explosive
public boolean isIncendiary()
isIncendiary
in interface org.bukkit.entity.Explosive
public float getYield()
getYield
in interface org.bukkit.entity.Explosive
public void setYield(float yield)
setYield
in interface org.bukkit.entity.Explosive
Copyright © 2021. All rights reserved.