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, sendMessage, sendMessage
addPassenger, addScoreboardTag, eject, fromMobSpawner, getBoundingBox, getChunk, getEntityId, getEntitySpawnReason, getFacing, 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, 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, teleportAsync, teleportAsync
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 IllegalArgumentException
0.0 = No Chance.
1.0 = Instant catch.
chance
- the bite chanceIllegalArgumentException
- if the bite chance is not between 0
and 1Copyright © 2020. All rights reserved.