public class EntityFish extends Entity
| Modifier and Type | Field and Description |
|---|---|
EntityPlayer |
angler |
Entity |
bobber |
int |
shake |
addedToChunk, air, beenAttacked, boundingBox, chunkCoordX, chunkCoordY, chunkCoordZ, cloakUrl, dataWatcher, distanceWalkedModified, entityBrightness, entityCollisionReduction, entityId, fallDistance, field_9293_aM, fire, fireResistance, heartsLife, height, ignoreFrustumCheck, inWater, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, isImmuneToFire, isInWeb, lastTickPosX, lastTickPosY, lastTickPosZ, maxAir, motionX, motionY, motionZ, noClip, onGround, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, renderDistanceWeight, riddenByEntity, ridingEntity, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, skinUrl, stepHeight, ticksExisted, width, worldObj, yOffset, ySize| Constructor and Description |
|---|
EntityFish(World world) |
EntityFish(World world,
double d,
double d1,
double d2) |
EntityFish(World world,
EntityPlayer entityplayer) |
| Modifier and Type | Method and Description |
|---|---|
int |
catchFish() |
protected void |
entityInit() |
void |
func_4042_a(double d,
double d1,
double d2,
float f,
float f1) |
float |
getShadowSize() |
boolean |
isInRangeToRenderDist(double d) |
void |
onUpdate() |
void |
readEntityFromNBT(NBTTagCompound nbttagcompound) |
void |
setPositionAndRotation2(double d,
double d1,
double d2,
float f,
float f1,
int i) |
void |
setVelocity(double d,
double d1,
double d2) |
void |
writeEntityToNBT(NBTTagCompound nbttagcompound) |
addEntityID, addToPlayerScore, addVelocity, applyEntityCollision, attackEntityFrom, canBeCollidedWith, canBePushed, canTriggerWalking, dealFireDamage, dropItem, dropItemWithOffset, entityDropItem, equals, fall, func_346_d, getBoundingBox, getCollisionBorderSize, getCollisionBox, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityBrightness, getEntityFlag, getEntityString, getEntityTexture, getEyeHeight, getLookVec, getMountedYOffset, getYOffset, handleHealthUpdate, handleLavaMovement, handleWaterMovement, hashCode, interact, isBurning, isEntityAlive, isEntityInsideOpaqueBlock, isInRangeToRenderVec3D, isInsideOfMaterial, isInWater, isOffsetPositionInLiquid, isRiding, isSneaking, isWet, kill, mountEntity, moveEntity, moveFlying, newDoubleNBTList, newFloatNBTList, onCollideWithPlayer, onEntityUpdate, onKillEntity, onStruckByLightning, outfitWithItem, performHurtAnimation, preparePlayerToSpawn, pushOutOfBlocks, readFromNBT, setBeenAttacked, setEntityDead, setEntityFlag, setInPortal, setLocationAndAngles, setOnFireFromLava, setPosition, setPositionAndRotation, setRotation, setSize, setWorld, updateCloak, updateFallState, updateRidden, updateRiderPosition, writeToNBTpublic int shake
public EntityPlayer angler
public Entity bobber
public EntityFish(World world)
public EntityFish(World world, double d, double d1, double d2)
public EntityFish(World world, EntityPlayer entityplayer)
protected void entityInit()
entityInit in class Entitypublic boolean isInRangeToRenderDist(double d)
isInRangeToRenderDist in class Entitypublic void func_4042_a(double d,
double d1,
double d2,
float f,
float f1)
public void setPositionAndRotation2(double d,
double d1,
double d2,
float f,
float f1,
int i)
setPositionAndRotation2 in class Entitypublic void setVelocity(double d,
double d1,
double d2)
setVelocity in class Entitypublic void writeEntityToNBT(NBTTagCompound nbttagcompound)
writeEntityToNBT in class Entitypublic void readEntityFromNBT(NBTTagCompound nbttagcompound)
readEntityFromNBT in class Entitypublic float getShadowSize()
getShadowSize in class Entitypublic int catchFish()