public class EntityCreature extends EntityLiving
Modifier and Type | Field and Description |
---|---|
protected boolean |
hasAttacked |
protected Entity |
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
Constructor and Description |
---|
EntityCreature(World world) |
Modifier and Type | Method and Description |
---|---|
protected void |
attackBlockedEntity(Entity entity,
float f) |
protected void |
attackEntity(Entity entity,
float f) |
protected Entity |
findPlayerToAttack() |
protected void |
func_31026_E() |
protected float |
getBlockPathWeight(int i,
int j,
int k) |
boolean |
getCanSpawnHere() |
Entity |
getTarget() |
boolean |
hasPath() |
protected boolean |
isMovementCeased() |
void |
setPathToEntity(PathEntity pathentity) |
void |
setTarget(Entity entity) |
protected void |
updatePlayerActionState() |
attackEntityFrom, 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, onLivingUpdate, onUpdate, performHurtAnimation, playLivingSound, rayTrace, readEntityFromNBT, setPositionAndRotation2, setSize, spawnExplosionParticle, updateRidden, writeEntityToNBT
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
protected Entity playerToAttack
protected boolean hasAttacked
public EntityCreature(World world)
protected boolean isMovementCeased()
protected void updatePlayerActionState()
updatePlayerActionState
in class EntityLiving
protected void func_31026_E()
protected void attackEntity(Entity entity, float f)
protected void attackBlockedEntity(Entity entity, float f)
protected float getBlockPathWeight(int i, int j, int k)
protected Entity findPlayerToAttack()
public boolean getCanSpawnHere()
getCanSpawnHere
in class EntityLiving
public boolean hasPath()
public void setPathToEntity(PathEntity pathentity)
public Entity getTarget()
public void setTarget(Entity entity)