public class GlowSplashPotion extends GlowProjectile implements org.bukkit.entity.SplashPotion
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 |
---|
GlowSplashPotion(org.bukkit.Location location) |
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) |
Collection<org.bukkit.potion.PotionEffect> |
getEffects() |
org.bukkit.inventory.ItemStack |
getItem() |
protected int |
getObjectId() |
void |
setItem(org.bukkit.inventory.ItemStack item) |
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 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 Collection<org.bukkit.potion.PotionEffect> getEffects()
getEffects
in interface org.bukkit.entity.ThrownPotion
public org.bukkit.inventory.ItemStack getItem()
getItem
in interface org.bukkit.entity.ThrownPotion
public void setItem(org.bukkit.inventory.ItemStack item)
setItem
in interface org.bukkit.entity.ThrownPotion
Copyright © 2021. All rights reserved.