CommandSender
, Entity
, Metadatable
, Nameable
, Permissible
, Projectile
, ServerOperator
public interface FishHook extends Projectile
Entity.Spigot
Modifier and Type | Method | Description |
---|---|---|
double |
getBiteChance() |
Deprecated.
has no effect in newer Minecraft versions
|
void |
setBiteChance(double chance) |
Deprecated.
has no effect in newer Minecraft versions
|
getName, sendMessage, sendMessage
addPassenger, addScoreboardTag, eject, getEntityId, getFallDistance, getFireTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getPassenger, getPassengers, getPistonMoveReaction, getPortalCooldown, getScoreboardTags, getServer, getTicksLived, getType, getUniqueId, getVehicle, getVelocity, getWidth, getWorld, hasGravity, isCustomNameVisible, isDead, isEmpty, isGlowing, isInsideVehicle, isInvulnerable, isOnGround, isPersistent, isSilent, isValid, leaveVehicle, playEffect, remove, removePassenger, removeScoreboardTag, setCustomNameVisible, setFallDistance, setFireTicks, setGlowing, setGravity, setInvulnerable, setLastDamageCause, setPassenger, setPersistent, setPortalCooldown, setSilent, setTicksLived, setVelocity, spigot, teleport, teleport, teleport, teleport
getMetadata, hasMetadata, removeMetadata, setMetadata
getCustomName, setCustomName
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachment
doesBounce, getShooter, setBounce, setShooter
isOp, setOp
@Deprecated double getBiteChance()
0.0 = No Chance.
1.0 = Instant catch.
@Deprecated void setBiteChance(double chance) throws java.lang.IllegalArgumentException
0.0 = No Chance.
1.0 = Instant catch.
chance
- the bite chancejava.lang.IllegalArgumentException
- if the bite chance is not between 0
and 1Copyright © 2018. All rights reserved.