public interface TippedArrow extends Arrow, PotionDataHolder
Arrow.PickupRule, Arrow.PickupStatus, Arrow.Spigot| Modifier and Type | Method and Description |
|---|---|
void |
clearCustomEffects()
Removes all custom potion effects from this arrow.
|
default void |
clearCustomEffects0()
Removes all custom potion effects.
|
getAttachedBlock, getKnockbackStrength, getPickupRule, getPickupStatus, isCritical, isInBlock, setCritical, setKnockbackStrength, setPickupRule, setPickupStatus, spigotdoesBounce, getShooter, setBounce, setShooteraddPassenger, 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, teleport, teleport, teleport, teleportgetMetadata, hasMetadata, removeMetadata, setMetadatagetName, sendMessage, sendMessage, sendMessage, sendMessageaddAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachmentisOp, setOpgetCustomName, setCustomNameaddCustomEffect, copyFrom, getBasePotionData, getColor, getCustomEffects, hasColor, hasCustomEffect, hasCustomEffects, removeCustomEffect, setBasePotionData, setColorvoid clearCustomEffects()
IllegalArgumentException - if this operation would leave the Arrow
in a state with no Custom Effects and PotionType.UNCRAFTABLEdefault void clearCustomEffects0()
PotionDataHolderclearCustomEffects() and
PotionMeta.clearCustomEffects().clearCustomEffects0 in interface PotionDataHolderCopyright © 2021. All rights reserved.