Class IronGolem
- java.lang.Object
 - 
- net.minecraft.world.entity.Entity
 - 
- net.minecraft.world.entity.LivingEntity
 - 
- net.minecraft.world.entity.Mob
 - 
- net.minecraft.world.entity.animal.AbstractGolem
 - 
- net.minecraft.world.entity.animal.IronGolem
 
 
 
 
 
 
- 
- All Implemented Interfaces:
 IAnimals
public class IronGolem extends AbstractGolem
 
- 
- 
Field Summary
- 
Fields inherited from class net.minecraft.world.entity.Mob
entityToAttack, fleeingTick, hasAttacked 
- 
Fields inherited from class net.minecraft.world.entity.LivingEntity
activePotionsMap, arrowHitTempCounter, arrowHitTimer, attackedAtYaw, attackingPlayer, attackTime, cameraPitch, carryoverDamage, dead, deathTime, defaultPitch, entityAge, entityType, experienceValue, field_703_S, field_704_R, field_705_Q, field_9325_U, field_9326_T, field_9345_F, field_9349_D, 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, jumpMovementFactor, landMovementFactor, maxHurtTime, moveForward, moveSpeed, moveStrafing, naturalArmorRating, newPosRotationIncrements, newPosX, newPosY, newPosZ, newRotationPitch, newRotationYaw, numTicksToChaseTarget, prevCameraPitch, prevHealth, prevRenderYawOffset, prevRotationYawHead, prevSwingProgress, randomYawVelocity, recentlyHit, renderYawOffset, rotationYawHead, scoreValue, swingProgress, targetTasks, tasks, texture 
- 
Fields inherited from class net.minecraft.world.entity.Entity
addedToChunk, boundingBox, chunkCoordX, chunkCoordY, chunkCoordZ, cloakUrl, dataWatcher, distanceWalkedModified, entityCollisionReduction, entityId, fallDistance, field_9293_aM, fireResistance, heartsLife, height, ignoreFrustumCheck, inWater, isAirBorne, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, isImmuneToFire, isInWeb, isJesusColliding, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, noClip, onGround, playerNameForSkin, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, renderDistanceWeight, riddenByEntity, ridingEntity, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, skinUrl, slim, stepHeight, ticksExisted, velocityChanged, width, worldObj, yOffset, ySize 
 - 
 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanattackEntityAsMob(Entity var1)protected intdecreaseAirSupply(int var1)protected voiddropFewItems(boolean var1, int var2)protected voidentityInit()booleanfunc_48100_a(java.lang.Class var1)booleanfunc_48112_E_()@net.minecraft.modding.api.Side.Client intfunc_48114_ab()voidfunc_48115_b(boolean var1)voidfunc_48116_a(boolean var1)intfunc_48117_D_()protected java.lang.StringgetDeathSound()protected java.lang.StringgetHurtSound()protected java.lang.StringgetLivingSound()intgetMaxHealth()VillagegetVillage()voidhandleHealthUpdate(byte var1)booleanisAIEnabled()voidonLivingUpdate()protected voidplayStepSound(int var1, int var2, int var3, int var4)voidreadEntityFromNBT(NBTTagCompound var1)protected voidupdateAITick()voidwriteEntityToNBT(NBTTagCompound var1)- 
Methods inherited from class net.minecraft.world.entity.animal.AbstractGolem
canDespawn, fall, getTalkInterval 
- 
Methods inherited from class net.minecraft.world.entity.Mob
attackBlockedEntity, attackEntity, findPlayerToAttack, getBlockPathWeight, getCanSpawnHere, getEntityToAttack, getSpeedModifier, hasPath, isMovementCeased, setPathToEntity, setTarget, updateEntityActionState, updateWanderPath 
- 
Methods inherited from class net.minecraft.world.entity.LivingEntity
addPotionEffect, applyArmorCalculations, applyPotionDamageCalculations, attackEntityFrom, canBeCollidedWith, canBePushed, canBreatheUnderwater, canEntityBeSeen, clearActivePotions, damageArmor, damageEntity, despawnEntity, detachHome, dropRareDrop, eatGrassBonus, faceEntity, func_48079_f, func_48090_aM, func_48098_g, func_48101_aR, getActivePotionEffect, getActivePotionEffects, getAge, getAITarget, getAttackTarget, getCreatureAttribute, getDropItemId, getEffectiveHealth, getExperiencePoints, getEyeHeight, getHeadYaw, getHealth, getHeldItem, getHomePosition, getItemIcon, getJumpHelper, getLastAttackingEntity, getLook, getLookHelper, getLookVec, getMaximumHomeDistance, getMaxSpawnedInChunk, getMoveHelper, getNavigator, getPosition, getRenderSizeModifier, getRNG, getSoundVolume, getSwingProgress, getTexture, getTotalArmorValue, getVerticalFaceSpeed, hasHome, heal, isBlocking, isChild, isClientWorld, isEntityAlive, isEntityUndead, isMovementBlocked, isOnLadder, isPlayer, isPlayerSleeping, isPotionActive, isPotionApplicable, isWithinHomeDistance, isWithinHomeDistanceCurrentPosition, jump, kill, knockBack, moveEntityWithHeading, onChangedPotionEffect, onDeath, onDeathUpdate, onEntityDeath, onEntityUpdate, onFinishedPotionEffect, onNewPotionEffect, onUpdate, performHurtAnimation, playLivingSound, rayTrace, removePotionEffect, renderBrokenItemStack, setAttackTarget, setEntityHealth, setHomeArea, setJumping, setLastAttackingEntity, setMoveForward, setPositionAndRotation2, setPositionAndUpdate, setRevengeTarget, setSize, spawnExplosionParticle, updateAITasks, updatePotionEffects, updateRidden 
- 
Methods inherited from class net.minecraft.world.entity.Entity
addEntityID, addToPlayerScore, addVelocity, applyEntityCollision, canAttackWithItem, canTriggerWalking, dealFireDamage, dropItem, dropItemWithOffset, entityDropItem, equals, extinguish, getAir, getBoundingBox, getBrightness, getBrightnessForRender, getCollisionBorderSize, getCollisionBox, getCurrentBiomeName, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityString, getFlag, getInventory, getMountedYOffset, getParts, getShadowSize, getUsername, getYOffset, handleLavaMovement, handleWaterMovement, hashCode, interact, isBurning, isEating, isEntityEqual, isEntityInsideOpaqueBlock, isImmuneToFire, isInRangeToRenderDist, isInRangeToRenderVec3D, isInsideOfMaterial, isInsideOfMaterial, isInWater, isOffsetPositionInLiquid, isRiding, isSneaking, isSprinting, isSubmergedInAnyFluid, isWet, mountEntity, moveEntity, moveFlying, newDoubleNBTList, newFloatNBTList, onCollideWithPlayer, onKillEntity, onStruckByLightning, outfitWithItem, preparePlayerToSpawn, pushOutOfBlocks, readFromNBT, setAir, setAngles, setBeenAttacked, setDead, setEating, setFire, setFlag, setInPortal, setInWeb, setLocationAndAngles, setOnFireFromLava, setPosition, setPositionAndRotation, setRotation, setSneaking, setSprinting, setVelocity, setWorld, toString, updateFallState, updateRiderPosition, writeToNBT 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
IronGolem
public IronGolem(World var1)
 
 - 
 
- 
Method Detail
- 
entityInit
protected void entityInit()
- Overrides:
 entityInitin classLivingEntity
 
- 
isAIEnabled
public boolean isAIEnabled()
- Overrides:
 isAIEnabledin classLivingEntity
 
- 
updateAITick
protected void updateAITick()
- Overrides:
 updateAITickin classLivingEntity
 
- 
getMaxHealth
public int getMaxHealth()
- Specified by:
 getMaxHealthin classLivingEntity
 
- 
decreaseAirSupply
protected int decreaseAirSupply(int var1)
- Overrides:
 decreaseAirSupplyin classLivingEntity
 
- 
onLivingUpdate
public void onLivingUpdate()
- Overrides:
 onLivingUpdatein classLivingEntity
 
- 
func_48100_a
public boolean func_48100_a(java.lang.Class var1)
- Overrides:
 func_48100_ain classLivingEntity
 
- 
writeEntityToNBT
public void writeEntityToNBT(NBTTagCompound var1)
- Overrides:
 writeEntityToNBTin classAbstractGolem
 
- 
readEntityFromNBT
public void readEntityFromNBT(NBTTagCompound var1)
- Overrides:
 readEntityFromNBTin classAbstractGolem
 
- 
attackEntityAsMob
public boolean attackEntityAsMob(Entity var1)
- Overrides:
 attackEntityAsMobin classLivingEntity
 
- 
handleHealthUpdate
@Client public void handleHealthUpdate(byte var1)
- Overrides:
 handleHealthUpdatein classLivingEntity
 
- 
getVillage
public Village getVillage()
 
- 
func_48114_ab
@Client public @net.minecraft.modding.api.Side.Client int func_48114_ab()
 
- 
func_48116_a
public void func_48116_a(boolean var1)
 
- 
getLivingSound
protected java.lang.String getLivingSound()
- Overrides:
 getLivingSoundin classAbstractGolem
 
- 
getHurtSound
protected java.lang.String getHurtSound()
- Overrides:
 getHurtSoundin classAbstractGolem
 
- 
getDeathSound
protected java.lang.String getDeathSound()
- Overrides:
 getDeathSoundin classAbstractGolem
 
- 
playStepSound
protected void playStepSound(int var1, int var2, int var3, int var4)- Overrides:
 playStepSoundin classEntity
 
- 
dropFewItems
protected void dropFewItems(boolean var1, int var2)- Overrides:
 dropFewItemsin classLivingEntity
 
- 
func_48117_D_
public int func_48117_D_()
 
- 
func_48112_E_
public boolean func_48112_E_()
 
- 
func_48115_b
public void func_48115_b(boolean var1)
 
 - 
 
 -