net.minecraft.world.entity.animal

public class IronGolem

extends AbstractGolem implements NeutralMob

All mapped superinterfaces:

Nameable, CommandSource, NeutralMob

bai
net.minecraft.world.entity.animal.IronGolem
net.minecraft.class_1439
net.minecraft.entity.passive.IronGolemEntity
net.minecraft.entity.passive.IronGolemEntity
net.minecraft.server.v1_16_R3.EntityIronGolem

Field summary

Modifier and TypeField
protected static final EntityDataAccessor<Byte>
b
DATA_FLAGS_ID
field_6763
IRON_GOLEM_FLAGS
field_184750_a
private int
c
attackAnimationTick
field_6762
attackTicksLeft
field_70855_f
private int
d
offerFlowerTick
field_6759
lookingAtVillagerTicksLeft
field_70856_g
private static final IntRange
bo
PERSISTENT_ANGER_TIME
field_25365
ANGER_TIME_RANGE
field_234196_bu_
private int
bp
remainingPersistentAngerTime
field_25366
angerTime
field_234197_bv_
private UUID
bq
persistentAngerTarget
field_25367
angryAt
field_234198_bw_

Constructor summary

ModifierConstructor
public (EntityType<? extends IronGolem> arg0, Level arg1)

Method summary

Modifier and TypeMethod
protected void
o()
registerGoals()
method_5959()
initGoals()
func_184651_r()
initPathfinder()
protected void
e()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
initDatawatcher()
public static AttributeSupplier$Builder
m()
createAttributes()
method_26886()
createIronGolemAttributes()
func_234200_m_()
protected int
l(int arg0)
decreaseAirSupply(int arg0)
method_6130(int arg0)
getNextAirUnderwater(int arg0)
func_70682_h(int arg0)
protected void
C(aqa arg0)
doPush(Entity arg0)
method_6087(class_1297 arg0)
pushAway(Entity arg0)
func_82167_n(Entity arg0)
public void
k()
aiStep()
method_6007()
tickMovement()
func_70636_d()
movementTick()
public boolean
a(aqe<?> arg0)
canAttackType(EntityType<?> arg0)
method_5973(class_1299<?> arg0)
canTarget(EntityType<?> arg0)
func_213358_a(EntityType<?> arg0)
public void
b(md arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
saveData(NBTTagCompound arg0)
public void
a(md arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
loadData(NBTTagCompound arg0)
public void
G_()
startPersistentAngerTimer()
method_29509()
chooseRandomAngerTime()
func_230258_H__()
anger()
public void
a_(int arg0)
setRemainingPersistentAngerTime(int arg0)
method_29514(int arg0)
setAngerTime(int arg0)
func_230260_a__(int arg0)
setAnger(int arg0)
public int
E_()
getRemainingPersistentAngerTime()
method_29507()
getAngerTime()
func_230256_F__()
getAnger()
public void
a(UUID arg0)
setPersistentAngerTarget(UUID arg0)
method_29513(UUID arg0)
setAngryAt(UUID arg0)
func_230259_a_(UUID arg0)
setAngerTarget(UUID arg0)
public UUID
F_()
getPersistentAngerTarget()
method_29508()
getAngryAt()
func_230257_G__()
getAngerTarget()
private float
eO()
getAttackDamage()
method_22328()
getAttackDamage()
func_226511_et_()
public boolean
B(aqa arg0)
doHurtTarget(Entity arg0)
method_6121(class_1297 arg0)
tryAttack(Entity arg0)
func_70652_k(Entity arg0)
attackEntity(Entity arg0)
public boolean
a(apk arg0, float arg1)
hurt(DamageSource arg0, float arg1)
method_5643(class_1282 arg0, float arg1)
damage(DamageSource arg0, float arg1)
func_70097_a(DamageSource arg0, float arg1)
damageEntity(DamageSource arg0, float arg1)
public IronGolem$Crackiness
eK()
getCrackiness()
method_23347()
getCrack()
func_226512_l_()
public void
t(boolean arg0)
offerFlower(boolean arg0)
method_6497(boolean arg0)
setLookingAtVillager(boolean lookingAtVillager)
func_70851_e(boolean arg0)
protected SoundEvent
e(apk arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
func_184601_bQ(DamageSource arg0)
getSoundHurt(DamageSource arg0)
protected SoundEvent
dq()
getDeathSound()
method_6002()
getDeathSound()
func_184615_bR()
getSoundDeath()
protected InteractionResult
b(bfw arg0, aot arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
func_230254_b_(PlayerEntity arg0, Hand arg1)
protected void
b(fx arg0, ceh arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
func_180429_a(BlockPos arg0, BlockState arg1)
public boolean
eN()
isPlayerCreated()
method_6496()
isPlayerCreated()
func_70850_q()
isPlayerCreated()
public void
u(boolean arg0)
setPlayerCreated(boolean arg0)
method_6499(boolean arg0)
setPlayerCreated(boolean playerCreated)
func_70849_f(boolean arg0)
setPlayerCreated(boolean arg0)
public void
a(apk arg0)
die(DamageSource arg0)
method_6078(class_1282 arg0)
onDeath(DamageSource arg0)
func_70645_a(DamageSource arg0)
die(DamageSource arg0)
public boolean
a(brz arg0)
checkSpawnObstruction(LevelReader arg0)
method_5957(class_4538 arg0)
canSpawn(WorldView arg0)
func_205019_a(IWorldReader arg0)
public void
a(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
func_70103_a(byte arg0)
public int
eL()
getAttackAnimationTick()
method_6501()
getAttackTicksLeft()
func_70854_o()
public int
eM()
getOfferFlowerTick()
method_6502()
getLookingAtVillagerTicks()
func_70853_p()
public Vec3
cf()
getLeashOffset()
method_29919()
method_29919()
func_241205_ce_()