public interface FishHook extends Projectile
| 限定符和类型 | 方法和说明 |
|---|---|
double |
getBiteChance()
已过时。
has no effect in newer Minecraft versions
|
void |
setBiteChance(double chance)
已过时。
has no effect in newer Minecraft versions
|
doesBounce, getShooter, setBounce, setShooteraddPassenger, 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, 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, sendMessageaddAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachmentisOp, setOpgetCustomName, setCustomName@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 1