net.minecraft.world.entity.monster

public class EnderMan

extends Monster implements NeutralMob

All mapped superinterfaces:

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

czs
net.minecraft.world.entity.monster.EnderMan
net.minecraft.class_1560
net.minecraft.entity.mob.EndermanEntity
net.minecraft.src.C_998_
net.minecraft.world.entity.monster.EntityEnderman

字段概要

修饰符与类型字段
private static final Identifier
d
SPEED_MODIFIER_ATTACKING_ID
field_7256
ATTACKING_SPEED_MODIFIER_ID
f_337596_
private static final AttributeModifier
e
SPEED_MODIFIER_ATTACKING
field_7252
ATTACKING_SPEED_BOOST
f_32481_
private static final int
f
DELAY_BETWEEN_CREEPY_STARE_SOUND
field_30462
field_30462
f_149694_
private static final int
cv
MIN_DEAGGRESSION_TIME
field_30461
field_30461
f_149693_
private static final EntityDataAccessor<Optional<BlockState>>
cw
DATA_CARRY_STATE
field_7257
CARRIED_BLOCK
f_32482_
private static final EntityDataAccessor<Boolean>
cx
DATA_CREEPY
field_7255
ANGRY
f_32473_
private static final EntityDataAccessor<Boolean>
cy
DATA_STARED_AT
field_20618
PROVOKED
f_32474_
private int
cz
lastStareSound
field_7253
lastAngrySoundAge
f_32476_
private int
cA
targetChangeTime
field_7254
ageWhenTargetSet
f_32477_
private static final UniformInt
cB
PERSISTENT_ANGER_TIME
field_25378
ANGER_TIME_RANGE
f_32478_
private long
cC
persistentAngerEndTime
field_63377
angerEndTime
f_436381_
private EntityReference<LivingEntity>
cD
persistentAngerTarget
field_25377
angryAt
f_32480_

构造函数概要

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

方法概要

修饰符与类型方法
protected void
D()
registerGoals()
method_5959()
initGoals()
m_8099_()
public float
a(is arg0, dwr arg1)
getWalkTargetValue(BlockPos arg0, LevelReader arg1)
method_6144(class_2338 arg0, class_4538 arg1)
getPathfindingFavor(BlockPos arg0, WorldView arg1)
m_5610_(C_4675_ p_430168_, C_1599_ arg1)
public static AttributeSupplier$Builder
k()
createAttributes()
method_26910()
createEndermanAttributes()
m_32541_()
public void
g(chl arg0)
setTarget(LivingEntity arg0)
method_5980(class_1309 arg0)
setTarget(LivingEntity arg0)
m_6710_(C_524_ arg0)
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 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_()
public void
p()
playStareSound()
method_7030()
playAngrySound()
m_32528_()
public void
a(alw<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
m_7350_(C_5225_<?> 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)
boolean
g(ddm arg0)
isBeingStaredBy(Player arg0)
method_7026(class_1657 arg0)
isPlayerStaring(PlayerEntity player)
m_352520_(C_1141_ arg0)
public void
d_()
aiStep()
method_6007()
tickMovement()
m_8107_()
public boolean
fR()
isSensitiveToWater()
method_29503()
hurtByWater()
m_6126_()
protected void
a(axf arg0)
customServerAiStep(ServerLevel arg0)
method_5958(class_3218 arg0)
mobTick(ServerWorld arg0)
m_8024_(C_12_ arg0)
protected boolean
gP()
teleport()
method_7029()
teleportRandomly()
m_32529_()
boolean
H(cgk arg0)
teleportTowards(Entity arg0)
method_7025(class_1297 arg0)
teleportTo(Entity entity)
m_32500_(C_507_ arg0)
private boolean
p(double arg0, double arg1, double arg2)
teleport(double arg0, double arg1, double arg2)
method_7024(double arg0, double arg1, double arg2)
teleportTo(double x, double y, double z)
m_32543_(double p_32545_, double arg1, double arg2)
protected SoundEvent
W()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
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 void
a(axf arg0, cex arg1, boolean arg2)
dropCustomDeathLoot(ServerLevel arg0, DamageSource arg1, boolean arg2)
method_6099(class_3218 arg0, class_1282 arg1, boolean arg2)
dropEquipment(ServerWorld arg0, DamageSource arg1, boolean arg2)
m_7472_(C_12_ p_32497_, C_489_ p_32499_, boolean arg2)
public void
c(eoh arg0)
setCarriedBlock(BlockState arg0)
method_7032(class_2680 arg0)
setCarriedBlock(BlockState state)
m_32521_(C_2064_ arg0)
public BlockState
gQ()
getCarriedBlock()
method_7027()
getCarriedBlock()
m_32530_()
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_361014_, C_489_ p_368121_, float arg2)
private boolean
a(axf arg0, cex arg1, dey arg2, float arg3)
hurtWithCleanWater(ServerLevel arg0, DamageSource arg1, AbstractThrownPotion arg2, float arg3)
method_38068(class_3218 arg0, class_1282 arg1, class_1686 arg2, float arg3)
damageFromPotion(ServerWorld world, DamageSource source, PotionEntity potion, float amount)
m_186272_(C_12_ p_186273_, C_489_ p_460384_, C_432122_ p_186275_, float arg3)
public boolean
gR()
isCreepy()
method_7028()
isAngry()
m_32531_()
public boolean
gS()
hasBeenStaredAt()
method_22330()
isProvoked()
m_32532_()
public void
gT()
setBeingStaredAt()
method_22331()
setProvoked()
m_32533_()
public boolean
ab()
requiresCustomPersistence()
method_17326()
cannotDespawn()
m_8023_()