public class EntityMob extends EntityCreature implements IMob
Modifier and Type | Field and Description |
---|---|
protected int |
attackStrength |
hasAttacked, playerToAttack
attackedAtYaw, 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_flag
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
Modifier and Type | Method and Description |
---|---|
protected void |
attackEntity(Entity entity,
float f) |
boolean |
attackEntityFrom(Entity entity,
int i) |
protected Entity |
findPlayerToAttack() |
protected float |
getBlockPathWeight(int i,
int j,
int k) |
boolean |
getCanSpawnHere() |
void |
onLivingUpdate() |
void |
onUpdate() |
void |
readEntityFromNBT(NBTTagCompound nbttagcompound) |
void |
writeEntityToNBT(NBTTagCompound nbttagcompound) |
attackBlockedEntity, func_31026_E, getTarget, hasPath, isMovementCeased, setPathToEntity, setTarget, updatePlayerActionState
canBeCollidedWith, canBePushed, canBreatheUnderwater, canDespawn, canEntityBeSeen, damageEntity, dropFewItems, entityInit, faceEntity, fall, func_25026_x, func_27021_X, getCurrentTarget, getDeathSound, getDropItemId, getEntityTexture, getEyeHeight, getHeldItem, getHurtSound, getItemIcon, getLivingSound, getLook, getLookVec, getMaxSpawnedInChunk, getPosition, getSoundVolume, getSwingProgress, getTalkInterval, handleHealthUpdate, hasCurrentTarget, heal, isEntityAlive, isMovementBlocked, isOnLadder, isPlayerSleeping, jump, kill, knockBack, moveEntityWithHeading, onDeath, onEntityDeath, onEntityUpdate, performHurtAnimation, playLivingSound, rayTrace, setPositionAndRotation2, setSize, spawnExplosionParticle, updateRidden
addEntityID, 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, interact, isBurning, isEntityInsideOpaqueBlock, isInRangeToRenderDist, isInRangeToRenderVec3D, isInsideOfMaterial, isInWater, isOffsetPositionInLiquid, isRiding, isSneaking, isWet, mountEntity, moveEntity, moveFlying, newDoubleNBTList, newFloatNBTList, onCollideWithPlayer, onKillEntity, onStruckByLightning, outfitWithItem, preparePlayerToSpawn, pushOutOfBlocks, readFromNBT, setBeenAttacked, setEntityDead, setEntityFlag, setInPortal, setLocationAndAngles, setOnFireFromLava, setPosition, setPositionAndRotation, setRotation, setVelocity, setWorld, updateCloak, updateFallState, updateRiderPosition, writeToNBT
public EntityMob(World world)
public void onLivingUpdate()
onLivingUpdate
in class EntityLiving
public void onUpdate()
onUpdate
in class EntityLiving
protected Entity findPlayerToAttack()
findPlayerToAttack
in class EntityCreature
public boolean attackEntityFrom(Entity entity, int i)
attackEntityFrom
in class EntityLiving
protected void attackEntity(Entity entity, float f)
attackEntity
in class EntityCreature
protected float getBlockPathWeight(int i, int j, int k)
getBlockPathWeight
in class EntityCreature
public void writeEntityToNBT(NBTTagCompound nbttagcompound)
writeEntityToNBT
in class EntityLiving
public void readEntityFromNBT(NBTTagCompound nbttagcompound)
readEntityFromNBT
in class EntityLiving
public boolean getCanSpawnHere()
getCanSpawnHere
in class EntityCreature