Class FishingHook
- java.lang.Object
-
- net.minecraft.world.entity.Entity
-
- net.minecraft.world.entity.projectile.FishingHook
-
public class FishingHook extends Entity
-
-
Field Summary
Fields Modifier and Type Field Description Player
angler
Entity
bobber
int
shake
-
Fields inherited from class net.minecraft.world.entity.Entity
addedToChunk, boundingBox, chunkCoordX, chunkCoordY, chunkCoordZ, cloakUrl, dataWatcher, distanceWalkedModified, entityCollisionReduction, entityId, fallDistance, field_9293_aM, fireResistance, heartsLife, height, ignoreFrustumCheck, inWater, isAirBorne, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, isImmuneToFire, isInWeb, isJesusColliding, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, noClip, onGround, playerNameForSkin, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, renderDistanceWeight, riddenByEntity, ridingEntity, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, skinUrl, slim, stepHeight, ticksExisted, velocityChanged, width, worldObj, yOffset, ySize
-
-
Constructor Summary
Constructors Constructor Description FishingHook(World var1)
FishingHook(World var1, double var2, double var4, double var6)
FishingHook(World var1, Player var2)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
calculateVelocity(double var1, double var3, double var5, float var7, float var8)
int
catchFish()
protected void
entityInit()
@net.minecraft.modding.api.Side.Client float
getShadowSize()
@net.minecraft.modding.api.Side.Client boolean
isInRangeToRenderDist(double var1)
void
onUpdate()
void
readEntityFromNBT(NBTTagCompound var1)
void
setPositionAndRotation2(double var1, double var3, double var5, float var7, float var8, int var9)
void
setVelocity(double var1, double var3, double var5)
void
writeEntityToNBT(NBTTagCompound var1)
-
Methods inherited from class net.minecraft.world.entity.Entity
addEntityID, addToPlayerScore, addVelocity, applyEntityCollision, attackEntityFrom, canAttackWithItem, canBeCollidedWith, canBePushed, canTriggerWalking, dealFireDamage, dropItem, dropItemWithOffset, entityDropItem, equals, extinguish, fall, func_48079_f, getAir, getBoundingBox, getBrightness, getBrightnessForRender, getCollisionBorderSize, getCollisionBox, getCurrentBiomeName, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityString, getEyeHeight, getFlag, getHeadYaw, getInventory, getLookVec, getMountedYOffset, getParts, getTexture, getUsername, getYOffset, handleHealthUpdate, handleLavaMovement, handleWaterMovement, hashCode, interact, isBurning, isEating, isEntityAlive, isEntityEqual, isEntityInsideOpaqueBlock, isImmuneToFire, isInRangeToRenderVec3D, isInsideOfMaterial, isInsideOfMaterial, isInWater, isOffsetPositionInLiquid, isRiding, isSneaking, isSprinting, isSubmergedInAnyFluid, isWet, kill, mountEntity, moveEntity, moveFlying, newDoubleNBTList, newFloatNBTList, onCollideWithPlayer, onEntityUpdate, onKillEntity, onStruckByLightning, outfitWithItem, performHurtAnimation, playStepSound, preparePlayerToSpawn, pushOutOfBlocks, readFromNBT, setAir, setAngles, setBeenAttacked, setDead, setEating, setFire, setFlag, setInPortal, setInWeb, setLocationAndAngles, setOnFireFromLava, setPosition, setPositionAndRotation, setRotation, setSize, setSneaking, setSprinting, setWorld, toString, updateFallState, updateRidden, updateRiderPosition, writeToNBT
-
-
-
-
Method Detail
-
entityInit
protected void entityInit()
- Specified by:
entityInit
in classEntity
-
isInRangeToRenderDist
@Client public @net.minecraft.modding.api.Side.Client boolean isInRangeToRenderDist(double var1)
- Overrides:
isInRangeToRenderDist
in classEntity
-
calculateVelocity
public void calculateVelocity(double var1, double var3, double var5, float var7, float var8)
-
setPositionAndRotation2
@Client public void setPositionAndRotation2(double var1, double var3, double var5, float var7, float var8, int var9)
- Overrides:
setPositionAndRotation2
in classEntity
-
setVelocity
@Client public void setVelocity(double var1, double var3, double var5)
- Overrides:
setVelocity
in classEntity
-
writeEntityToNBT
public void writeEntityToNBT(NBTTagCompound var1)
- Specified by:
writeEntityToNBT
in classEntity
-
readEntityFromNBT
public void readEntityFromNBT(NBTTagCompound var1)
- Specified by:
readEntityFromNBT
in classEntity
-
getShadowSize
@Client public @net.minecraft.modding.api.Side.Client float getShadowSize()
- Overrides:
getShadowSize
in classEntity
-
catchFish
public int catchFish()
-
-