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, spigot
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, teleport, teleport, teleport, teleport
getMetadata, hasMetadata, removeMetadata, setMetadata
getName, sendMessage, sendMessage, sendMessage, sendMessage
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachment
isOp, setOp
getCustomName, setCustomName
addCustomEffect, copyFrom, getBasePotionData, getColor, getCustomEffects, hasColor, hasCustomEffect, hasCustomEffects, removeCustomEffect, setBasePotionData, setColor
void clearCustomEffects()
IllegalArgumentException
- if this operation would leave the Arrow
in a state with no Custom Effects and PotionType.UNCRAFTABLEdefault void clearCustomEffects0()
PotionDataHolder
clearCustomEffects()
and
PotionMeta.clearCustomEffects()
.clearCustomEffects0
in interface PotionDataHolder
Copyright © 2021. All rights reserved.