net.minecraft.world.entity.animal.golem

public class IronGolem

extends AbstractGolem implements NeutralMob

All mapped superinterfaces:

SyncedDataHolder, DebugValueSource, Nameable, ItemOwner, SlotProvider, EntityAccess, UniquelyIdentifyable, ScoreHolder, DataComponentGetter, Attackable, WaypointTransmitter, Waypoint, EquipmentUser, Leashable, Targeting, NeutralMob

cwh
net.minecraft.world.entity.animal.golem.IronGolem
net.minecraft.class_1439
net.minecraft.entity.passive.IronGolemEntity
net.minecraft.src.C_432979_
net.minecraft.world.entity.animal.golem.EntityIronGolem

字段概要

修饰符与类型字段
protected static final EntityDataAccessor<Byte>
d
DATA_FLAGS_ID
field_6763
IRON_GOLEM_FLAGS
f_435777_
private static final int
e
IRON_INGOT_HEAL_AMOUNT
field_30338
HEALTH_PER_INGOT
f_433188_
private static final boolean
f
DEFAULT_PLAYER_CREATED
field_57611
DEFAULT_PLAYER_CREATED
f_437257_
private int
cv
attackAnimationTick
field_6762
attackTicksLeft
f_434701_
private int
cw
offerFlowerTick
field_6759
lookingAtVillagerTicksLeft
f_436169_
private static final UniformInt
cx
PERSISTENT_ANGER_TIME
field_25365
ANGER_TIME_RANGE
f_436576_
private long
cy
persistentAngerEndTime
field_63321
angerEndTime
f_433790_
private EntityReference<LivingEntity>
cz
persistentAngerTarget
field_25367
angryAt
f_434255_

构造函数概要

修饰符构造函数
public (EntityType<? extends IronGolem> p_460546_, Level arg1)

方法概要

修饰符与类型方法
protected void
D()
registerGoals()
method_5959()
initGoals()
m_8099_()
protected void
a(ama$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
public static AttributeSupplier$Builder
k()
createAttributes()
method_26886()
createIronGolemAttributes()
m_444813_()
protected int
l(int arg0)
decreaseAirSupply(int arg0)
method_6130(int arg0)
getNextAirUnderwater(int arg0)
m_7302_(int arg0)
protected void
F(cgk arg0)
doPush(Entity arg0)
method_6087(class_1297 arg0)
pushAway(Entity arg0)
m_7324_(C_507_ arg0)
public void
d_()
aiStep()
method_6007()
tickMovement()
m_8107_()
public boolean
bL()
canSpawnSprintParticle()
method_27298()
shouldSpawnSprintingParticles()
m_5843_()
public boolean
a(cgu<?> arg0)
canAttackType(EntityType<?> arg0)
method_5973(class_1299<?> arg0)
canTarget(EntityType<?> arg0)
m_6549_(C_513_<?> arg0)
protected void
a(fns arg0)
addAdditionalSaveData(ValueOutput arg0)
method_5652(class_11372 arg0)
writeCustomData(WriteView arg0)
m_7380_(C_398537_ arg0)
protected void
a(fnq arg0)
readAdditionalSaveData(ValueInput arg0)
method_5749(class_11368 arg0)
readCustomData(ReadView arg0)
m_7378_(C_398549_ arg0)
public void
c()
startPersistentAngerTimer()
method_29509()
chooseRandomAngerTime()
m_6825_()
public void
b(long arg0)
setPersistentAngerEndTime(long arg0)
method_75132(long arg0)
setAngerEndTime(long arg0)
m_439783_(long arg0)
public long
a()
getPersistentAngerEndTime()
method_75130()
getAngerEndTime()
m_439145_()
public void
a(cgr<chl> arg0)
setPersistentAngerTarget(EntityReference<LivingEntity> arg0)
method_29513(class_10583<class_1309> arg0)
setAngryAt(LazyEntityReference<LivingEntity> arg0)
m_6925_(C_379042_<C_524_> arg0)
public EntityReference<LivingEntity>
b()
getPersistentAngerTarget()
method_29508()
getAngryAt()
m_6120_()
private float
gS()
getAttackDamage()
method_22328()
getAttackDamage()
m_440464_()
public boolean
c(axf arg0, cgk arg1)
doHurtTarget(ServerLevel arg0, Entity arg1)
method_6121(class_3218 arg0, class_1297 arg1)
tryAttack(ServerWorld arg0, Entity arg1)
m_7327_(C_12_ p_455370_, C_507_ arg1)
public boolean
a(axf arg0, cex arg1, float arg2)
hurtServer(ServerLevel arg0, DamageSource arg1, float arg2)
method_64397(class_3218 arg0, class_1282 arg1, float arg2)
damage(ServerWorld arg0, DamageSource arg1, float arg2)
m_351622_(C_12_ p_454647_, C_489_ p_458618_, float arg2)
public Crackiness$Level
p()
getCrackiness()
method_23347()
getCrackLevel()
m_446813_()
public void
b(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
m_7822_(byte arg0)
public int
gP()
getAttackAnimationTick()
method_6501()
getAttackTicksLeft()
m_444598_()
public void
x(boolean arg0)
offerFlower(boolean arg0)
method_6497(boolean arg0)
setLookingAtVillager(boolean lookingAtVillager)
m_445440_(boolean arg0)
protected SoundEvent
h(cex arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
fd()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
protected InteractionResult
b(ddm arg0, cdb arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
m_6071_(C_1141_ p_457569_, C_470_ arg1)
protected void
b(is arg0, eoh arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
m_7355_(C_4675_ p_451787_, C_2064_ arg1)
public int
gQ()
getOfferFlowerTick()
method_6502()
getLookingAtVillagerTicks()
m_446030_()
public boolean
gR()
isPlayerCreated()
method_6496()
isPlayerCreated()
m_440235_()
public void
y(boolean arg0)
setPlayerCreated(boolean arg0)
method_6499(boolean arg0)
setPlayerCreated(boolean playerCreated)
m_443632_(boolean arg0)
public void
a(cex arg0)
die(DamageSource arg0)
method_6078(class_1282 arg0)
onDeath(DamageSource arg0)
m_6667_(C_489_ arg0)
public boolean
a(dwr arg0)
checkSpawnObstruction(LevelReader arg0)
method_5957(class_4538 arg0)
canSpawn(WorldView arg0)
m_6914_(C_1599_ arg0)
public Vec3
B()
getLeashOffset()
method_29919()
getLeashOffset()
m_33927_()