|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.minecraft.entity.Entity
net.minecraft.entity.projectile.EntityFishHook
public class EntityFishHook
Field Summary | |
---|---|
EntityPlayer |
angler
|
Entity |
bobber
The entity that the fishing rod is connected to, if any. |
int |
shake
|
Constructor Summary | |
---|---|
EntityFishHook(World par1World)
|
|
EntityFishHook(World par1World,
double par2,
double par4,
double par6,
EntityPlayer par8EntityPlayer)
|
|
EntityFishHook(World par1World,
EntityPlayer par2EntityPlayer)
|
Method Summary | |
---|---|
void |
calculateVelocity(double par1,
double par3,
double par5,
float par7,
float par8)
|
int |
catchFish()
|
float |
getShadowSize()
|
boolean |
isInRangeToRenderDist(double par1)
|
void |
onUpdate()
Called to update the entity's position/logic. |
void |
readEntityFromNBT(NBTTagCompound par1NBTTagCompound)
(abstract) Protected helper method to read subclass entity data from NBT. |
void |
setDead()
Will get destroyed next tick. |
void |
setPositionAndRotation2(double par1,
double par3,
double par5,
float par7,
float par8,
int par9)
|
void |
setVelocity(double par1,
double par3,
double par5)
|
void |
writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
(abstract) Protected helper method to write subclass entity data to NBT. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int shake
public EntityPlayer angler
public Entity bobber
Constructor Detail |
---|
public EntityFishHook(World par1World)
public EntityFishHook(World par1World, double par2, double par4, double par6, EntityPlayer par8EntityPlayer)
public EntityFishHook(World par1World, EntityPlayer par2EntityPlayer)
Method Detail |
---|
public boolean isInRangeToRenderDist(double par1)
isInRangeToRenderDist
in class Entity
public void calculateVelocity(double par1, double par3, double par5, float par7, float par8)
public void setPositionAndRotation2(double par1, double par3, double par5, float par7, float par8, int par9)
setPositionAndRotation2
in class Entity
public void setVelocity(double par1, double par3, double par5)
setVelocity
in class Entity
public void onUpdate()
onUpdate
in class Entity
public void writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
public void readEntityFromNBT(NBTTagCompound par1NBTTagCompound)
public float getShadowSize()
getShadowSize
in class Entity
public int catchFish()
public void setDead()
setDead
in class Entity
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |