net.minecraft.world.entity.animal

public class IronGolem

extends AbstractGolem implements NeutralMob

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, CommandSource, ScoreHolder, Attackable, EquipmentUser, Targeting, NeutralMob

cft
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
bY
offerFlowerTick
field_6759
f_dmrilpob
lookingAtVillagerTicksLeft
lookingAtVillagerTicksLeft
f_28831_
private static final UniformInt
bZ
PERSISTENT_ANGER_TIME
field_25365
f_qivsadmm
ANGER_TIME_RANGE
ANGER_TIME_RANGE
f_28827_
private int
ca
remainingPersistentAngerTime
field_25366
f_qqnxzfvr
angerTime
angerTime
f_28828_
private UUID
cb
persistentAngerTarget
field_25367
f_izcnofzm
angryAt
angryAt
f_28829_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
z()
registerGoals()
method_5959()
m_itjttsuo()
initGoals()
initGoals()
m_8099_()
protected void
a(ako$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
m_lwugwlsw(C_pyoaoolj$C_oqzxcugu arg0)
initDataTracker(DataTracker$Builder arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
public static AttributeSupplier$Builder
s()
createAttributes()
method_26886()
m_sdnrhhbn()
createIronGolemAttributes()
createAttributes()
m_28883_()
protected int
n(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
D(bsw 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
n_()
aiStep()
method_6007()
m_alyudxll()
tickMovement()
tickMovement()
m_8107_()
public boolean
bq()
canSpawnSprintParticle()
method_27298()
m_chpxygjr()
shouldSpawnSprintingParticles()
shouldSpawnSprintingParticles()
m_5843_()
public boolean
a(btc<?> 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(us 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(us 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
gs()
getAttackDamage()
method_22328()
m_pblixejz()
getAttackDamage()
getAttackDamage()
m_28877_()
public boolean
C(bsw 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(brp 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 Crackiness$Level
u()
getCrackiness()
method_23347()
m_szmijayh()
getCrackLevel()
getCrack()
m_28873_()
public void
b(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
y()
getAttackAnimationTick()
method_6501()
m_hbcxxqhi()
getAttackTicksLeft()
getAttackTicksLeft()
m_28874_()
public void
w(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
d(brp 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
o_()
getDeathSound()
method_6002()
m_axkhmdzu()
getDeathSound()
getDeathSound()
m_5592_()
protected InteractionResult
b(cmz arg0, bqv 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(iz arg0, dse 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
gq()
getOfferFlowerTick()
method_6502()
m_yzlkdhjj()
getLookingAtVillagerTicks()
getLookingAtVillagerTicks()
m_28875_()
public boolean
gr()
isPlayerCreated()
method_6496()
m_nfqrbdpc()
isPlayerCreated()
isPlayerCreated()
m_28876_()
public void
x(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(brp 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(dcd 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
cM()
getLeashOffset()
method_29919()
m_gxfczhkq()
getLeashOffset()
getLeashOffset()
m_7939_()