net.minecraft.world.entity.animal

public class IronGolem

extends AbstractGolem implements NeutralMob

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, NeutralMob

bnq
net.minecraft.world.entity.animal.IronGolem
net.minecraft.class_1439
net.minecraft.unmapped.C_csutmxky
net.minecraft.entity.passive.IronGolemEntity
net.minecraft.entity.passive.IronGolemEntity
net.minecraft.src.C_857_
net.minecraft.world.entity.animal.EntityIronGolem

Field summary

Modifier and TypeField
protected static final EntityDataAccessor<Byte>
c
DATA_FLAGS_ID
field_6763
f_ositbmfa
IRON_GOLEM_FLAGS
IRON_GOLEM_FLAGS
f_28826_
private static final int
d
IRON_INGOT_HEAL_AMOUNT
field_30338
f_drzlmlok
HEALTH_PER_INGOT
HEALTH_PER_INGOT
f_148932_
private int
e
attackAnimationTick
field_6762
f_uwdolnna
attackTicksLeft
attackTicksLeft
f_28830_
private int
bX
offerFlowerTick
field_6759
f_dmrilpob
lookingAtVillagerTicksLeft
lookingAtVillagerTicksLeft
f_28831_
private static final UniformInt
bY
PERSISTENT_ANGER_TIME
field_25365
f_qivsadmm
ANGER_TIME_RANGE
ANGER_TIME_RANGE
f_28827_
private int
bZ
remainingPersistentAngerTime
field_25366
f_qqnxzfvr
angerTime
angerTime
f_28828_
private UUID
ca
persistentAngerTarget
field_25367
f_izcnofzm
angryAt
angryAt
f_28829_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
u()
registerGoals()
method_5959()
m_itjttsuo()
initGoals()
initGoals()
m_8099_()
protected void
a_()
defineSynchedData()
method_5693()
m_lwugwlsw()
initDataTracker()
initDataTracker()
m_8097_()
public static AttributeSupplier$Builder
n()
createAttributes()
method_26886()
m_sdnrhhbn()
createIronGolemAttributes()
createIronGolemAttributes()
m_28883_()
protected int
m(int arg0)
decreaseAirSupply(int arg0)
method_6130(int arg0)
m_gukapref(int arg0)
getNextAirUnderwater(int arg0)
getNextAirUnderwater(int arg0)
m_7302_(int arg0)
protected void
A(bbn arg0)
doPush(Entity arg0)
method_6087(class_1297 arg0)
m_ljcawptq(C_astfners arg0)
pushAway(Entity arg0)
pushAway(Entity arg0)
m_7324_(C_507_ arg0)
public void
w_()
aiStep()
method_6007()
m_alyudxll()
tickMovement()
tickMovement()
m_8107_()
public boolean
a(bbr<?> arg0)
canAttackType(EntityType<?> arg0)
method_5973(class_1299<?> arg0)
m_thnidwgf(C_ogavsvbr<?> arg0)
canTarget(EntityType<?> arg0)
canTarget(EntityType<?> arg0)
m_6549_(C_513_<?> arg0)
public void
b(pj arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(pj arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public void
c()
startPersistentAngerTimer()
method_29509()
m_cfljxifr()
chooseRandomAngerTime()
chooseRandomAngerTime()
m_6825_()
public void
a(int arg0)
setRemainingPersistentAngerTime(int arg0)
method_29514(int arg0)
m_lsgfuuiy(int arg0)
setAngerTime(int arg0)
setAngerTime(int arg0)
m_7870_(int arg0)
public int
a()
getRemainingPersistentAngerTime()
method_29507()
m_bqcsagkf()
getAngerTime()
getAngerTime()
m_6784_()
public void
a(UUID arg0)
setPersistentAngerTarget(UUID arg0)
method_29513(UUID arg0)
m_xthjcgcz(UUID arg0)
setAngryAt(UUID arg0)
setAngryAt(UUID arg0)
m_6925_(UUID arg0)
public UUID
b()
getPersistentAngerTarget()
method_29508()
m_sqomxrhy()
getAngryAt()
getAngryAt()
m_6120_()
private float
fL()
getAttackDamage()
method_22328()
m_pblixejz()
getAttackDamage()
getAttackDamage()
m_28877_()
public boolean
z(bbn arg0)
doHurtTarget(Entity arg0)
method_6121(class_1297 arg0)
m_orenzeoc(C_astfners arg0)
tryAttack(Entity arg0)
tryAttack(Entity arg0)
m_7327_(C_507_ arg0)
public boolean
a(baw arg0, float arg1)
hurt(DamageSource arg0, float arg1)
method_5643(class_1282 arg0, float arg1)
m_szxeksnh(C_sbxfkpyv arg0, float arg1)
damage(DamageSource arg0, float arg1)
damage(DamageSource arg0, float arg1)
m_6469_(C_489_ p_28849_, float arg1)
public IronGolem$Crackiness
q()
getCrackiness()
method_23347()
m_szmijayh()
getCrack()
getCrack()
m_28873_()
public void
a(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
m_kkieextx(byte arg0)
handleStatus(byte arg0)
handleStatus(byte arg0)
m_7822_(byte arg0)
public int
t()
getAttackAnimationTick()
method_6501()
m_hbcxxqhi()
getAttackTicksLeft()
getAttackTicksLeft()
m_28874_()
public void
v(boolean arg0)
offerFlower(boolean arg0)
method_6497(boolean arg0)
m_nsfshkog(boolean arg0)
setLookingAtVillager(boolean lookingAtVillager)
setLookingAtVillager(boolean lookingAtVillager)
m_28885_(boolean arg0)
protected SoundEvent
c(baw arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
m_spwwmdyl(C_sbxfkpyv arg0)
getHurtSound(DamageSource arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
x_()
getDeathSound()
method_6002()
m_axkhmdzu()
getDeathSound()
getDeathSound()
m_5592_()
protected InteractionResult
b(buc arg0, bai arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
m_kuhfocmh(C_jzrpycqo arg0, C_laxmzoqs arg1)
interactMob(PlayerEntity arg0, Hand arg1)
interactMob(PlayerEntity arg0, Hand arg1)
m_6071_(C_1141_ p_28862_, C_470_ arg1)
protected void
b(gt arg0, cvo arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
m_rnleirmb(C_hynzadkk arg0, C_txtbiemp arg1)
playStepSound(BlockPos arg0, BlockState arg1)
playStepSound(BlockPos arg0, BlockState arg1)
m_7355_(C_4675_ p_28865_, C_2064_ arg1)
public int
fJ()
getOfferFlowerTick()
method_6502()
m_yzlkdhjj()
getLookingAtVillagerTicks()
getLookingAtVillagerTicks()
m_28875_()
public boolean
fK()
isPlayerCreated()
method_6496()
m_nfqrbdpc()
isPlayerCreated()
isPlayerCreated()
m_28876_()
public void
w(boolean arg0)
setPlayerCreated(boolean arg0)
method_6499(boolean arg0)
m_zohqbnaj(boolean arg0)
setPlayerCreated(boolean playerCreated)
setPlayerCreated(boolean playerCreated)
m_28887_(boolean arg0)
public void
a(baw arg0)
die(DamageSource arg0)
method_6078(class_1282 arg0)
m_tflzijcx(C_sbxfkpyv arg0)
onDeath(DamageSource arg0)
onDeath(DamageSource arg0)
m_6667_(C_489_ arg0)
public boolean
a(cha arg0)
checkSpawnObstruction(LevelReader arg0)
method_5957(class_4538 arg0)
m_xipuyppw(C_eemzphbi arg0)
canSpawn(WorldView arg0)
canSpawn(WorldView arg0)
m_6914_(C_1599_ arg0)
public Vec3
cB()
getLeashOffset()
method_29919()
m_suasneff()
getLeashOffset()
getLeashOffset()
m_7939_()