public class EntityPig extends EntityAnimal
hasAttacked, playerToAttackattackedAtYaw, attackTime, cameraPitch, deathTime, defaultPitch, entityAge, field_703_S, field_704_R, field_705_Q, field_9325_U, field_9326_T, field_9328_R, field_9345_F, field_9346_af, field_9349_D, field_9351_C, field_9353_B, field_9355_A, field_9358_y, field_9359_x, field_9360_w, field_9361_v, field_9362_u, field_9363_r, field_9365_p, health, heartsHalvesLife, hurtTime, isJumping, isMultiplayerEntity, maxHurtTime, moveForward, moveSpeed, moveStrafing, newPosRotationIncrements, newPosX, newPosY, newPosZ, newRotationPitch, newRotationYaw, numTicksToChaseTarget, prevHealth, prevRenderYawOffset, prevSwingProgress, randomYawVelocity, renderYawOffset, scoreValue, swingProgress, texture, unused_flagaddedToChunk, 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| Modifier and Type | Method and Description |
|---|---|
protected void |
entityInit() |
protected void |
fall(float f) |
protected java.lang.String |
getDeathSound() |
protected int |
getDropItemId() |
protected java.lang.String |
getHurtSound() |
protected java.lang.String |
getLivingSound() |
boolean |
getSaddled() |
boolean |
interact(EntityPlayer entityplayer) |
void |
onStruckByLightning(EntityLightningBolt entitylightningbolt) |
void |
readEntityFromNBT(NBTTagCompound nbttagcompound) |
void |
setSaddled(boolean flag) |
void |
writeEntityToNBT(NBTTagCompound nbttagcompound) |
getBlockPathWeight, getCanSpawnHere, getTalkIntervalattackBlockedEntity, attackEntity, findPlayerToAttack, func_31026_E, getTarget, hasPath, isMovementCeased, setPathToEntity, setTarget, updatePlayerActionStateattackEntityFrom, canBeCollidedWith, canBePushed, canBreatheUnderwater, canDespawn, canEntityBeSeen, damageEntity, dropFewItems, faceEntity, func_25026_x, func_27021_X, getCurrentTarget, getEntityTexture, getEyeHeight, getHeldItem, getItemIcon, getLook, getLookVec, getMaxSpawnedInChunk, getPosition, getSoundVolume, getSwingProgress, handleHealthUpdate, hasCurrentTarget, heal, isEntityAlive, isMovementBlocked, isOnLadder, isPlayerSleeping, jump, kill, knockBack, moveEntityWithHeading, onDeath, onEntityDeath, onEntityUpdate, onLivingUpdate, onUpdate, performHurtAnimation, playLivingSound, rayTrace, setPositionAndRotation2, setSize, spawnExplosionParticle, updateRiddenaddEntityID, addToPlayerScore, addVelocity, applyEntityCollision, canTriggerWalking, dealFireDamage, dropItem, dropItemWithOffset, entityDropItem, equals, func_346_d, getBoundingBox, getCollisionBorderSize, getCollisionBox, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityBrightness, getEntityFlag, getEntityString, getMountedYOffset, getShadowSize, getYOffset, handleLavaMovement, handleWaterMovement, hashCode, isBurning, isEntityInsideOpaqueBlock, isInRangeToRenderDist, isInRangeToRenderVec3D, isInsideOfMaterial, isInWater, isOffsetPositionInLiquid, isRiding, isSneaking, isWet, mountEntity, moveEntity, moveFlying, newDoubleNBTList, newFloatNBTList, onCollideWithPlayer, onKillEntity, outfitWithItem, preparePlayerToSpawn, pushOutOfBlocks, readFromNBT, setBeenAttacked, setEntityDead, setEntityFlag, setInPortal, setLocationAndAngles, setOnFireFromLava, setPosition, setPositionAndRotation, setRotation, setVelocity, setWorld, updateCloak, updateFallState, updateRiderPosition, writeToNBTpublic EntityPig(World world)
protected void entityInit()
entityInit in class EntityLivingpublic void writeEntityToNBT(NBTTagCompound nbttagcompound)
writeEntityToNBT in class EntityAnimalpublic void readEntityFromNBT(NBTTagCompound nbttagcompound)
readEntityFromNBT in class EntityAnimalprotected java.lang.String getLivingSound()
getLivingSound in class EntityLivingprotected java.lang.String getHurtSound()
getHurtSound in class EntityLivingprotected java.lang.String getDeathSound()
getDeathSound in class EntityLivingpublic boolean interact(EntityPlayer entityplayer)
protected int getDropItemId()
getDropItemId in class EntityLivingpublic boolean getSaddled()
public void setSaddled(boolean flag)
public void onStruckByLightning(EntityLightningBolt entitylightningbolt)
onStruckByLightning in class Entityprotected void fall(float f)
fall in class EntityLiving