net.minecraft.world.entity.animal

public class IronGolem

extends AbstractGolem implements NeutralMob

All mapped superinterfaces:

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

cii
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.FrogVariant

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
bZ
attackAnimationTick
field_6762
f_uwdolnna
attackTicksLeft
attackTicksLeft
f_28830_
private int
ca
offerFlowerTick
field_6759
f_dmrilpob
lookingAtVillagerTicksLeft
lookingAtVillagerTicksLeft
f_28831_
private static final UniformInt
cb
PERSISTENT_ANGER_TIME
field_25365
f_qivsadmm
ANGER_TIME_RANGE
ANGER_TIME_RANGE
f_28827_
private int
cc
remainingPersistentAngerTime
field_25366
f_qqnxzfvr
angerTime
angerTime
f_28828_
private UUID
cd
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
B()
registerGoals()
method_5959()
m_itjttsuo()
initGoals()
initGoals()
m_8099_()
protected void
a(alg$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
m()
createAttributes()
method_26886()
m_sdnrhhbn()
createIronGolemAttributes()
createAttributes()
m_28883_()
protected int
l(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(bvj 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
d_()
aiStep()
method_6007()
m_alyudxll()
tickMovement()
tickMovement()
m_8107_()
public boolean
bv()
canSpawnSprintParticle()
method_27298()
m_chpxygjr()
shouldSpawnSprintingParticles()
shouldSpawnSprintingParticles()
m_5843_()
public boolean
a(bvq<?> 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(ux 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(ux 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
gp()
getAttackDamage()
method_22328()
m_pblixejz()
getAttackDamage()
getAttackDamage()
m_28877_()
public boolean
c(ash arg0, bvj arg1)
doHurtTarget(ServerLevel arg0, Entity arg1)
method_6121(class_3218 arg0, class_1297 arg1)
m_orenzeoc(C_bdwnwhiu arg0, C_astfners arg1)
tryAttack(ServerWorld arg0, Entity arg1)
tryAttack(ServerWorld arg0, Entity arg1)
m_7327_(C_12_ p_28837_, C_507_ arg1)
public boolean
a(ash arg0, btz arg1, float arg2)
hurtServer(ServerLevel arg0, DamageSource arg1, float arg2)
method_64397(class_3218 arg0, class_1282 arg1, float arg2)
m_fuenwjjy(C_bdwnwhiu arg0, C_sbxfkpyv arg1, float arg2)
damage(ServerWorld arg0, DamageSource arg1, float arg2)
m_fuenwjjy(ServerWorld arg0, DamageSource arg1, float arg2)
m_351622_(C_12_ p_365765_, C_489_ p_365329_, float arg2)
public Crackiness$Level
p()
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
t()
getAttackAnimationTick()
method_6501()
m_hbcxxqhi()
getAttackTicksLeft()
getAttackTicksLeft()
m_28874_()
public void
x(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
e(btz 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(cpw arg0, bth 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(jh arg0, dxu 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
x()
getOfferFlowerTick()
method_6502()
m_yzlkdhjj()
getLookingAtVillagerTicks()
getLookingAtVillagerTicks()
m_28875_()
public boolean
go()
isPlayerCreated()
method_6496()
m_nfqrbdpc()
isPlayerCreated()
isPlayerCreated()
m_28876_()
public void
y(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(btz 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(dhk 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
cT()
getLeashOffset()
method_29919()
m_gxfczhkq()
getLeashOffset()
getLeashOffset()
m_7939_()