net.minecraft.entity.mob

public class EndermanEntity

extends HostileEntity implements Angerable

All mapped superinterfaces:

Nameable, EntityLike, UniquelyIdentifiable, ScoreHolder, DataTracked, ComponentsAccess, HeldItemContext, StackReferenceGetter, DebugTrackable, EntryConvertible, Attackable, ServerWaypoint, Waypoint, Targeter, EquipmentHolder, Leashable, Monster, Angerable

net.minecraft.world.entity.monster.EnderMan
net.minecraft.class_1560
net.minecraft.entity.mob.EndermanEntity

Field summary

Modifier and TypeField
private static final Identifier
SPEED_MODIFIER_ATTACKING_ID
field_7256
ATTACKING_SPEED_MODIFIER_ID
private static final EntityAttributeModifier
SPEED_MODIFIER_ATTACKING
field_7252
ATTACKING_SPEED_BOOST
private static final int
DELAY_BETWEEN_CREEPY_STARE_SOUND
field_30462
field_30462
private static final int
MIN_DEAGGRESSION_TIME
field_30461
field_30461
private static final TrackedData<Optional<BlockState>>
DATA_CARRY_STATE
field_7257
CARRIED_BLOCK
private static final TrackedData<Boolean>
DATA_CREEPY
field_7255
ANGRY
private static final TrackedData<Boolean>
DATA_STARED_AT
field_20618
PROVOKED
private int
lastStareSound
field_7253
lastAngrySoundAge
private int
targetChangeTime
field_7254
ageWhenTargetSet
private static final UniformIntProvider
PERSISTENT_ANGER_TIME
field_25378
ANGER_TIME_RANGE
private long
persistentAngerEndTime
field_63377
angerEndTime
private LazyEntityReference<LivingEntity>
persistentAngerTarget
field_25377
angryAt

Constructor summary

ModifierConstructor
public (EntityType<? extends EndermanEntity> type, World level)

Method summary

Modifier and TypeMethod
protected void
registerGoals()
method_5959()
initGoals()
public float
getWalkTargetValue(BlockPos pos, LevelReader level)
method_6144(class_2338 arg0, class_4538 arg1)
getPathfindingFavor(BlockPos arg0, WorldView arg1)
public static DefaultAttributeContainer$Builder
createAttributes()
method_26910()
createEndermanAttributes()
public void
setTarget(LivingEntity target)
method_5980(class_1309 arg0)
setTarget(LivingEntity arg0)
protected void
defineSynchedData(SynchedEntityData$Builder entityData)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public void
startPersistentAngerTimer()
method_29509()
chooseRandomAngerTime()
public void
setPersistentAngerEndTime(long endTime)
method_75132(long arg0)
setAngerEndTime(long arg0)
public long
getPersistentAngerEndTime()
method_75130()
getAngerEndTime()
public void
setPersistentAngerTarget(EntityReference<LivingEntity> persistentAngerTarget)
method_29513(class_10583<class_1309> arg0)
setAngryAt(LazyEntityReference<LivingEntity> arg0)
public LazyEntityReference<LivingEntity>
getPersistentAngerTarget()
method_29508()
getAngryAt()
public void
playStareSound()
method_7030()
playAngrySound()
public void
onSyncedDataUpdated(EntityDataAccessor<?> accessor)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
protected void
addAdditionalSaveData(ValueOutput output)
method_5652(class_11372 arg0)
writeCustomData(WriteView arg0)
protected void
readAdditionalSaveData(ValueInput input)
method_5749(class_11368 arg0)
readCustomData(ReadView arg0)
private boolean
isBeingStaredBy(Player player)
method_7026(class_1657 arg0)
isPlayerStaring(PlayerEntity player)
public void
aiStep()
method_6007()
tickMovement()
public boolean
isSensitiveToWater()
method_29503()
hurtByWater()
protected void
customServerAiStep(ServerLevel level)
method_5958(class_3218 arg0)
mobTick(ServerWorld arg0)
protected boolean
teleport()
method_7029()
teleportRandomly()
private boolean
teleportTowards(Entity entity)
method_7025(class_1297 arg0)
teleportTo(Entity entity)
private boolean
teleport(double x, double y, double z)
method_7024(double arg0, double arg1, double arg2)
teleportTo(double x, double y, double z)
protected SoundEvent
getAmbientSound()
method_5994()
getAmbientSound()
protected SoundEvent
getHurtSound(DamageSource source)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
getDeathSound()
method_6002()
getDeathSound()
protected void
dropCustomDeathLoot(ServerLevel level, DamageSource source, boolean killedByPlayer)
method_6099(class_3218 arg0, class_1282 arg1, boolean arg2)
dropEquipment(ServerWorld arg0, DamageSource arg1, boolean arg2)
public void
setCarriedBlock(BlockState carryingBlock)
method_7032(class_2680 arg0)
setCarriedBlock(BlockState state)
public BlockState
getCarriedBlock()
method_7027()
getCarriedBlock()
public boolean
hurtServer(ServerLevel level, DamageSource source, float damage)
method_64397(class_3218 arg0, class_1282 arg1, float arg2)
damage(ServerWorld arg0, DamageSource arg1, float arg2)
private boolean
hurtWithCleanWater(ServerLevel level, DamageSource source, AbstractThrownPotion thrownPotion, float damage)
method_38068(class_3218 arg0, class_1282 arg1, class_1686 arg2, float arg3)
damageFromPotion(ServerWorld world, DamageSource source, PotionEntity potion, float amount)
public boolean
isCreepy()
method_7028()
isAngry()
public boolean
hasBeenStaredAt()
method_22330()
isProvoked()
public void
setBeingStaredAt()
method_22331()
setProvoked()
public boolean
requiresCustomPersistence()
method_17326()
cannotDespawn()
private static boolean
lambda$readAdditionalSaveData$0(BlockState arg0)
method_67670(class_2680 arg0)
method_67670(BlockState arg0)