public interface FishHook extends Projectile
Entity.Spigot
Modifier and Type | Method and Description |
---|---|
double |
getBiteChance()
Deprecated.
has no effect in newer Minecraft versions
|
void |
setBiteChance(double chance)
Deprecated.
has no effect in newer Minecraft versions
|
doesBounce, getShooter, setBounce, setShooter
addPassenger, addScoreboardTag, eject, fromMobSpawner, getBoundingBox, getChunk, getEntityId, getEntitySpawnReason, getFacing, getFallDistance, getFireTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getOrigin, 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, teleportAsync, teleportAsync
getMetadata, hasMetadata, removeMetadata, setMetadata
getName, sendMessage, sendMessage, sendMessage, sendMessage
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachment
isOp, setOp
getCustomName, setCustomName
getPersistentDataContainer
@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 © 2022. All rights reserved.