CommandSender
, Entity
, Metadatable
, Nameable
, Permissible
, PersistentDataHolder
, 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, getBoundingBox, getEntityId, getFacing, getFallDistance, getFireTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getPassenger, getPassengers, getPistonMoveReaction, getPortalCooldown, getPose, 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, setRotation, 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
getPersistentDataContainer
doesBounce, getShooter, setBounce, setShooter
isOp, setOp
@Deprecated double getBiteChance()
0.0 = No Chance.
1.0 = Instant catch.
@Deprecated void setBiteChance(double chance) throws IllegalArgumentException
0.0 = No Chance.
1.0 = Instant catch.
chance
- the bite chanceIllegalArgumentException
- if the bite chance is not between 0
and 1Copyright © 2019. All rights reserved.