public class EntityIronGolem extends EntityGolem
| Modifier and Type | Class and Description | 
|---|---|
| (package private) static class  | EntityIronGolem.AINearestAttackableTargetNonCreeper<T extends EntityLivingBase> | 
EntityLiving.SpawnPlacementType| Modifier and Type | Field and Description | 
|---|---|
| private int | attackTimer | 
| private int | holdRoseTick | 
| private int | homeCheckTimerdeincrements, and a distance-to-home check is done at 0 | 
| (package private) Village | villageObj | 
FLEEING_SPEED_MODIFIER, FLEEING_SPEED_MODIFIER_UUIDequipmentDropChances, experienceValue, jumpHelper, livingSoundTime, moveHelper, navigator, targetTasks, tasksarrowHitTimer, attackedAtYaw, attackingPlayer, cameraPitch, dead, deathTime, entityAge, field_70741_aB, field_70769_ao, field_70770_ap, hurtTime, isJumping, isSwingInProgress, jumpMovementFactor, lastDamage, limbSwing, limbSwingAmount, maxHurtResistantTime, maxHurtTime, movedDistance, moveForward, moveStrafing, newPosRotationIncrements, newPosX, newPosY, newPosZ, newRotationPitch, newRotationYaw, onGroundSpeedFactor, prevCameraPitch, prevLimbSwingAmount, prevMovedDistance, prevOnGroundSpeedFactor, prevRenderYawOffset, prevRotationYawHead, prevSwingProgress, randomYawVelocity, recentlyHit, renderYawOffset, rotationYawHead, scoreValue, swingProgress, swingProgressIntaddedToChunk, chunkCoordX, chunkCoordY, chunkCoordZ, dataWatcher, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, fallDistance, field_181016_an, field_181017_ao, field_181018_ap, fireResistance, firstUpdate, forceSpawn, height, hurtResistantTime, ignoreFrustumCheck, inPortal, inWater, isAirBorne, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, isImmuneToFire, isInWeb, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, noClip, onGround, portalCounter, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, renderDistanceWeight, riddenByEntity, ridingEntity, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, stepHeight, ticksExisted, timeUntilPortal, velocityChanged, width, worldObj| Constructor and Description | 
|---|
| EntityIronGolem(World worldIn) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | applyEntityAttributes() | 
| boolean | attackEntityAsMob(Entity entityIn) | 
| boolean | canAttackClass(java.lang.Class<? extends EntityLivingBase> cls)Returns true if this entity can attack entities of the specified class. | 
| protected void | collideWithEntity(Entity p_82167_1_) | 
| protected int | decreaseAirSupply(int p_70682_1_)Decrements the entity's air supply when underwater | 
| protected void | dropFewItems(boolean p_70628_1_,
            int p_70628_2_)Drop 0-2 items of this living's type | 
| protected void | entityInit() | 
| int | getAttackTimer() | 
| protected java.lang.String | getDeathSound()Returns the sound this mob makes on death. | 
| int | getHoldRoseTick() | 
| protected java.lang.String | getHurtSound()Returns the sound this mob makes when it is hurt. | 
| Village | getVillage() | 
| void | handleStatusUpdate(byte id) | 
| boolean | isPlayerCreated() | 
| void | onDeath(DamageSource cause)Called when the mob's health reaches 0. | 
| void | onLivingUpdate()Called frequently so the entity can update its state every tick as required. | 
| protected void | playStepSound(BlockPos pos,
             Block blockIn) | 
| void | readEntityFromNBT(NBTTagCompound tagCompund)(abstract) Protected helper method to read subclass entity data from NBT. | 
| void | setHoldingRose(boolean p_70851_1_) | 
| void | setPlayerCreated(boolean p_70849_1_) | 
| protected void | updateAITasks() | 
| void | writeEntityToNBT(NBTTagCompound tagCompound)(abstract) Protected helper method to write subclass entity data to NBT. | 
canDespawn, fall, getLivingSound, getTalkIntervaldetachHome, func_142017_o, getBlockPathWeight, getCanSpawnHere, getHomePosition, getMaximumHomeDistance, hasHome, hasPath, isWithinHomeDistanceCurrentPosition, isWithinHomeDistanceFromPosition, setHomePosAndDistance, updateLeashedStateallowLeashing, canBeSteered, canPickUpLoot, clearLeashed, despawnEntity, dropEquipment, eatGrassBonus, enablePersistence, faceEntity, func_110146_f, func_175448_a, getArmorItemForSlot, getArmorPosition, getAttackTarget, getCurrentArmor, getDropItem, getEntitySenses, getEquipmentInSlot, getExperiencePoints, getHeldItem, getInventory, getJumpHelper, getLeashed, getLeashedToEntity, getLookHelper, getMaxFallHeight, getMaxSpawnedInChunk, getMoveHelper, getNavigator, getNewNavigator, getRenderSizeModifier, getVerticalFaceSpeed, interact, interactFirst, isAIDisabled, isNoDespawnRequired, isNotColliding, isServerWorld, onEntityUpdate, onInitialSpawn, onUpdate, playLivingSound, replaceItemInInventory, setAIMoveSpeed, setAttackTarget, setCanPickUpLoot, setCurrentItemOrArmor, setEnchantmentBasedOnDifficulty, setEquipmentBasedOnDifficulty, setEquipmentDropChance, setLeashedToEntity, setMoveForward, setNoAI, spawnExplosionParticle, updateEntityActionState, updateEquipmentIfNeededaddPotionEffect, addRandomDrop, applyArmorCalculations, applyPotionDamageCalculations, attackEntityFrom, canBeCollidedWith, canBePushed, canBreatheUnderwater, canDropLoot, canEntityBeSeen, clearActivePotions, collideWithNearbyEntities, damageArmor, damageEntity, dismountEntity, func_181013_g, func_94060_bK, getAbsorptionAmount, getActivePotionEffect, getActivePotionEffects, getAge, getAIMoveSpeed, getAITarget, getAlwaysRenderNameTagForRender, getArrowCountInEntity, getAttributeMap, getCombatTracker, getCreatureAttribute, getEntityAttribute, getFallSoundString, getHealth, getJumpUpwardsMotion, getLastAttacker, getLastAttackerTime, getLook, getLookVec, getMaxHealth, getRevengeTimer, getRNG, getRotationYawHead, getSoundPitch, getSoundVolume, getSwingProgress, getTeam, getTotalArmorValue, handleJumpLava, heal, isChild, isEntityAlive, isEntityUndead, isMovementBlocked, isOnLadder, isOnSameTeam, isOnTeam, isPlayer, isPlayerSleeping, isPotionActive, isPotionActive, isPotionApplicable, jump, kill, knockBack, markPotionsDirty, mountEntity, moveEntityWithHeading, onChangedPotionEffect, onDeathUpdate, onFinishedPotionEffect, onItemPickup, onKillCommand, onNewPotionEffect, performHurtAnimation, removePotionEffect, removePotionEffectClient, renderBrokenItemStack, resetPotionEffectMetadata, sendEndCombat, sendEnterCombat, setAbsorptionAmount, setArrowCountInEntity, setBeenAttacked, setHealth, setJumping, setLastAttacker, setPositionAndRotation2, setRevengeTarget, setRotationYawHead, setSprinting, swingItem, updateAITick, updateArmSwingProgress, updateFallState, updatePotionEffects, updatePotionMetadata, updateRiddenaddChatMessage, addEntityCrashInfo, addToPlayerScore, addVelocity, applyEnchantments, applyEntityCollision, canAttackWithItem, canCommandSenderUseCommand, canRenderOnFire, canTriggerWalking, clientUpdateEntityNBT, copyDataFromOld, copyLocationAndAnglesFrom, createRunningParticles, dealFireDamage, doBlockCollisions, doesEntityNotTriggerPressurePlate, dropItem, dropItemWithOffset, entityDropItem, equals, extinguish, func_174817_o, func_181012_aH, func_181014_aG, func_181015_d, getAir, getAlwaysRenderNameTag, getBrightness, getBrightnessForRender, getCollisionBorderSize, getCollisionBoundingBox, getCollisionBox, getCommandSenderEntity, getCommandStats, getCustomNameTag, getDataWatcher, getDisplayName, getDistance, getDistanceSq, getDistanceSq, getDistanceSqToCenter, getDistanceSqToEntity, getDistanceToEntity, getEntityBoundingBox, getEntityId, getEntityString, getEntityWorld, getExplosionResistance, getEyeHeight, getFlag, getHorizontalFacing, getHoverEvent, getMaxInPortalTime, getMountedYOffset, getName, getNBTTagCompound, getParts, getPortalCooldown, getPosition, getPositionEyes, getPositionVector, getSplashSound, getSwimSound, getUniqueID, getVectorForRotation, getYOffset, handleWaterMovement, hasCustomName, hashCode, hitByEntity, interactAt, isBurning, isEating, isEntityEqual, isEntityInsideOpaqueBlock, isEntityInvulnerable, isImmuneToExplosions, isImmuneToFire, isInLava, isInRangeToRender3d, isInRangeToRenderDist, isInsideOfMaterial, isInvisible, isInvisibleToPlayer, isInWater, isOffsetPositionInLiquid, isOutsideBorder, isPushedByWater, isRiding, isSilent, isSneaking, isSpectatedByPlayer, isSprinting, isWet, moveEntity, moveFlying, moveToBlockPosAndAngles, newDoubleNBTList, newFloatNBTList, onChunkLoad, onCollideWithPlayer, onDataWatcherUpdate, onKillEntity, onStruckByLightning, playSound, preparePlayerToSpawn, pushOutOfBlocks, rayTrace, readFromNBT, resetHeight, sendCommandFeedback, setAir, setAlwaysRenderNameTag, setAngles, setCommandStat, setCustomNameTag, setDead, setEating, setEntityBoundingBox, setEntityId, setFire, setFlag, setInvisible, setInWeb, setLocationAndAngles, setOnFireFromLava, setOutsideBorder, setPosition, setPositionAndRotation, setPositionAndUpdate, setRotation, setSilent, setSize, setSneaking, setVelocity, setWorld, shouldSetPosAfterLoading, spawnRunningParticles, toString, travelToDimension, updateRiderPosition, verifyExplosion, writeMountToNBT, writeToNBT, writeToNBTOptionalprivate int homeCheckTimer
Village villageObj
private int attackTimer
private int holdRoseTick
public EntityIronGolem(World worldIn)
protected void entityInit()
entityInit in class EntityLivingprotected void updateAITasks()
updateAITasks in class EntityLivingprotected void applyEntityAttributes()
applyEntityAttributes in class EntityLivingprotected int decreaseAirSupply(int p_70682_1_)
decreaseAirSupply in class EntityLivingBaseprotected void collideWithEntity(Entity p_82167_1_)
collideWithEntity in class EntityLivingBasepublic void onLivingUpdate()
onLivingUpdate in class EntityLivingpublic boolean canAttackClass(java.lang.Class<? extends EntityLivingBase> cls)
canAttackClass in class EntityLivingpublic void writeEntityToNBT(NBTTagCompound tagCompound)
writeEntityToNBT in class EntityLivingpublic void readEntityFromNBT(NBTTagCompound tagCompund)
readEntityFromNBT in class EntityLivingpublic boolean attackEntityAsMob(Entity entityIn)
attackEntityAsMob in class EntityLivingBasepublic void handleStatusUpdate(byte id)
handleStatusUpdate in class EntityLivingpublic Village getVillage()
public int getAttackTimer()
public void setHoldingRose(boolean p_70851_1_)
protected java.lang.String getHurtSound()
getHurtSound in class EntityGolemprotected java.lang.String getDeathSound()
getDeathSound in class EntityGolemprotected void playStepSound(BlockPos pos, Block blockIn)
playStepSound in class Entityprotected void dropFewItems(boolean p_70628_1_,
                            int p_70628_2_)
dropFewItems in class EntityLivingpublic int getHoldRoseTick()
public boolean isPlayerCreated()
public void setPlayerCreated(boolean p_70849_1_)
public void onDeath(DamageSource cause)
onDeath in class EntityLivingBase