net.minecraft.entity

public abstract class LivingEntity

extends Entity implements Attackable, ServerWaypoint

All mapped superinterfaces:

Nameable, EntityLike, UniquelyIdentifiable, ScoreHolder, DataTracked, ComponentsAccess, HeldItemContext, StackReferenceGetter, DebugTrackable, EntryConvertible, Attackable, ServerWaypoint, Waypoint

net.minecraft.world.entity.LivingEntity
net.minecraft.world.entity.LivingEntity
net.minecraft.class_1309
net.minecraft.entity.LivingEntity

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
LOGGER
LOGGER
field_36332
LOGGER
private static final String
TAG_ACTIVE_EFFECTS
TAG_ACTIVE_EFFECTS
field_45740
ACTIVE_EFFECTS_KEY
public static final String
TAG_ATTRIBUTES
TAG_ATTRIBUTES
field_51995
ATTRIBUTES_KEY
public static final String
TAG_SLEEPING_POS
TAG_SLEEPING_POS
field_60537
SLEEPING_POS_KEY
public static final String
TAG_EQUIPMENT
TAG_EQUIPMENT
field_60538
EQUIPMENT_KEY
public static final String
TAG_BRAIN
TAG_BRAIN
field_60539
BRAIN_KEY
public static final String
TAG_FALL_FLYING
TAG_FALL_FLYING
field_60540
FALL_FLYING_KEY
public static final String
TAG_HURT_TIME
TAG_HURT_TIME
field_60541
HURT_TIME_KEY
public static final String
TAG_DEATH_TIME
TAG_DEATH_TIME
field_60542
DEATH_TIME_KEY
public static final String
TAG_HURT_BY_TIMESTAMP
TAG_HURT_BY_TIMESTAMP
field_60543
HURT_BY_TIMESTAMP_KEY
public static final String
TAG_HEALTH
TAG_HEALTH
field_60544
HEALTH_KEY
private static final Identifier
SPEED_MODIFIER_POWDER_SNOW_ID
SPEED_MODIFIER_POWDER_SNOW_ID
field_27859
POWDER_SNOW_SPEED_MODIFIER_ID
private static final Identifier
SPRINTING_MODIFIER_ID
SPRINTING_MODIFIER_ID
field_51996
SPRINTING_SPEED_MODIFIER_ID
private static final EntityAttributeModifier
SPEED_MODIFIER_SPRINTING
SPEED_MODIFIER_SPRINTING
field_6231
SPRINTING_SPEED_BOOST
public static final int
EQUIPMENT_SLOT_OFFSET
EQUIPMENT_SLOT_OFFSET
field_30071
EQUIPMENT_SLOT_ID
public static final int
ARMOR_SLOT_OFFSET
ARMOR_SLOT_OFFSET
field_30072
field_30072
public static final int
BODY_ARMOR_OFFSET
BODY_ARMOR_OFFSET
field_48827
field_48827
public static final int
SADDLE_OFFSET
SADDLE_OFFSET
field_55952
field_55952
public static final int
PLAYER_HURT_EXPERIENCE_TIME
PLAYER_HURT_EXPERIENCE_TIME
field_30074
field_30074
private static final int
DAMAGE_SOURCE_TIMEOUT
DAMAGE_SOURCE_TIMEOUT
field_30078
field_30078
public static final double
MIN_MOVEMENT_DISTANCE
MIN_MOVEMENT_DISTANCE
field_30075
field_30075
public static final double
DEFAULT_BASE_GRAVITY
DEFAULT_BASE_GRAVITY
field_30076
GRAVITY
public static final int
DEATH_DURATION
DEATH_DURATION
field_30077
DEATH_TICKS
protected static final float
INPUT_FRICTION
INPUT_FRICTION
field_56256
field_56256
private static final int
TICKS_PER_ELYTRA_FREE_FALL_EVENT
TICKS_PER_ELYTRA_FREE_FALL_EVENT
field_30080
field_30080
private static final int
FREE_FALL_EVENTS_PER_ELYTRA_BREAK
FREE_FALL_EVENTS_PER_ELYTRA_BREAK
field_30081
field_30081
public static final float
BASE_JUMP_POWER
BASE_JUMP_POWER
field_44874
field_44874
protected static final float
DEFAULT_KNOCKBACK
DEFAULT_KNOCKBACK
field_63293
field_63293
protected static final int
INVULNERABLE_DURATION
INVULNERABLE_DURATION
field_63294
field_63294
private static final double
MAX_LINE_OF_SIGHT_TEST_RANGE
MAX_LINE_OF_SIGHT_TEST_RANGE
field_33908
MAX_ENTITY_VIEWING_DISTANCE
protected static final int
LIVING_ENTITY_FLAG_IS_USING
LIVING_ENTITY_FLAG_IS_USING
field_30064
USING_ITEM_FLAG
protected static final int
LIVING_ENTITY_FLAG_OFF_HAND
LIVING_ENTITY_FLAG_OFF_HAND
field_30065
OFF_HAND_ACTIVE_FLAG
protected static final int
LIVING_ENTITY_FLAG_SPIN_ATTACK
LIVING_ENTITY_FLAG_SPIN_ATTACK
field_30066
USING_RIPTIDE_FLAG
protected static final TrackedData<Byte>
DATA_LIVING_ENTITY_FLAGS
DATA_LIVING_ENTITY_FLAGS
field_6257
LIVING_FLAGS
private static final TrackedData<Float>
DATA_HEALTH_ID
DATA_HEALTH_ID
field_6247
HEALTH
private static final TrackedData<List<ParticleEffect>>
DATA_EFFECT_PARTICLES
DATA_EFFECT_PARTICLES
field_49792
POTION_SWIRLS
private static final TrackedData<Boolean>
DATA_EFFECT_AMBIENCE_ID
DATA_EFFECT_AMBIENCE_ID
field_6214
POTION_SWIRLS_AMBIENT
private static final TrackedData<Integer>
DATA_ARROW_COUNT_ID
DATA_ARROW_COUNT_ID
field_6219
STUCK_ARROW_COUNT
private static final TrackedData<Integer>
DATA_STINGER_COUNT_ID
DATA_STINGER_COUNT_ID
field_20348
STINGER_COUNT
private static final TrackedData<Optional<BlockPos>>
SLEEPING_POS_ID
SLEEPING_POS_ID
field_18073
SLEEPING_POSITION
private static final int
PARTICLE_FREQUENCY_WHEN_INVISIBLE
PARTICLE_FREQUENCY_WHEN_INVISIBLE
field_49793
field_49793
protected static final EntityDimensions
SLEEPING_DIMENSIONS
SLEEPING_DIMENSIONS
field_18072
SLEEPING_DIMENSIONS
public static final float
EXTRA_RENDER_CULLING_SIZE_WITH_BIG_HAT
EXTRA_RENDER_CULLING_SIZE_WITH_BIG_HAT
field_30068
BABY_SCALE_FACTOR
public static final float
DEFAULT_BABY_SCALE
DEFAULT_BABY_SCALE
field_47756
field_47756
private static final float
WATER_FLOAT_IMPULSE
WATER_FLOAT_IMPULSE
field_64133
field_64133
private static final int
CURRENT_IMPULSE_CONTEXT_RESET_GRACE_TIME_TICKS
CURRENT_IMPULSE_CONTEXT_RESET_GRACE_TIME_TICKS
field_1_845
field_1_845
private static final int
DEFAULT_CURRENT_IMPULSE_CONTEXT_RESET_GRACE_TIME
DEFAULT_CURRENT_IMPULSE_CONTEXT_RESET_GRACE_TIME
field_1_846
field_1_846
private int
currentImpulseContextResetGraceTime
currentImpulseContextResetGraceTime
field_1_848
currentImpulseContextResetGraceTime
public static final Predicate<LivingEntity>
PLAYER_NOT_WEARING_DISGUISE_ITEM
PLAYER_NOT_WEARING_DISGUISE_ITEM
field_54564
NOT_WEARING_GAZE_DISGUISE_PREDICATE
private final AttributeContainer
attributes
attributes
field_6260
attributes
private final DamageTracker
combatTracker
combatTracker
field_6256
damageTracker
private final Map<RegistryEntry<StatusEffect>, StatusEffectInstance>
activeEffects
activeEffects
field_6280
activeStatusEffects
private final Map<EquipmentSlot, ItemStack>
lastEquipmentItems
lastEquipmentItems
field_55951
lastEquipmentStacks
public boolean
swinging
swinging
field_6252
handSwinging
private boolean
discardFriction
discardFriction
field_30082
noDrag
public Hand
swingingArm
swingingArm
field_6266
preferredHand
public int
swingTime
swingTime
field_6279
handSwingTicks
public int
removeArrowTime
removeArrowTime
field_6218
stuckArrowTimer
public int
removeStingerTime
removeStingerTime
field_20347
stuckStingerTimer
public int
hurtTime
hurtTime
field_6235
hurtTime
public int
hurtDuration
hurtDuration
field_6254
maxHurtTime
public int
deathTime
deathTime
field_6213
deathTime
public float
oAttackAnim
oAttackAnim
field_6229
lastHandSwingProgress
public float
attackAnim
attackAnim
field_6251
handSwingProgress
protected int
attackStrengthTicker
attackStrengthTicker
field_6273
ticksSinceLastAttack
protected int
itemSwapTicker
itemSwapTicker
field_63291
ticksSinceHandEquipping
public final LimbAnimator
walkAnimation
walkAnimation
field_42108
limbAnimator
public float
yBodyRot
yBodyRot
field_6283
bodyYaw
public float
yBodyRotO
yBodyRotO
field_6220
lastBodyYaw
public float
yHeadRot
yHeadRot
field_6241
headYaw
public float
yHeadRotO
yHeadRotO
field_6259
lastHeadYaw
public final ElytraFlightController
elytraAnimationState
elytraAnimationState
field_52447
elytraFlightController
protected LazyEntityReference<PlayerEntity>
lastHurtByPlayer
lastHurtByPlayer
field_6258
attackingPlayer
protected int
lastHurtByPlayerMemoryTime
lastHurtByPlayerMemoryTime
field_6238
playerHitTimer
protected boolean
dead
dead
field_6272
dead
protected int
noActionTime
noActionTime
field_6278
despawnCounter
protected float
lastHurt
lastHurt
field_6253
lastDamageTaken
protected boolean
jumping
jumping
field_6282
jumping
public float
xxa
xxa
field_6212
sidewaysSpeed
public float
yya
yya
field_6227
upwardSpeed
public float
zza
zza
field_6250
forwardSpeed
protected final PositionInterpolator
interpolation
interpolation
field_55675
interpolator
protected double
lerpYHeadRot
lerpYHeadRot
field_45123
serverHeadYaw
protected int
lerpHeadSteps
lerpHeadSteps
field_6265
headTrackingIncrements
private boolean
effectsDirty
effectsDirty
field_6285
effectsChanged
private LazyEntityReference<LivingEntity>
lastHurtByMob
lastHurtByMob
field_55674
attackerReference
private int
lastHurtByMobTimestamp
lastHurtByMobTimestamp
field_6230
lastAttackedTime
private LivingEntity
lastHurtMob
lastHurtMob
field_6236
attacking
private int
lastHurtMobTimestamp
lastHurtMobTimestamp
field_6270
lastAttackTime
private float
speed
speed
field_6287
movementSpeed
private int
noJumpDelay
noJumpDelay
field_6228
jumpingCooldown
private float
absorptionAmount
absorptionAmount
field_6246
absorptionAmount
protected ItemStack
useItem
useItem
field_6277
activeItemStack
protected int
useItemRemaining
useItemRemaining
field_6222
itemUseTimeLeft
protected int
fallFlyTicks
fallFlyTicks
field_6239
glidingTicks
private long
lastKineticHitFeedbackTime
lastKineticHitFeedbackTime
field_63950
lastKineticAttackTime
private BlockPos
lastPos
lastPos
field_6268
lastBlockPos
private Optional<BlockPos>
lastClimbablePos
lastClimbablePos
field_22418
climbingPos
private DamageSource
lastDamageSource
lastDamageSource
field_6276
lastDamageSource
private long
lastDamageStamp
lastDamageStamp
field_6226
lastDamageTime
protected int
autoSpinAttackTicks
autoSpinAttackTicks
field_6261
riptideTicks
protected float
autoSpinAttackDmg
autoSpinAttackDmg
field_51569
riptideAttackDamage
protected ItemStack
autoSpinAttackItemStack
autoSpinAttackItemStack
field_51570
riptideStack
protected it.unimi.dsi.fastutil.objects.Object2LongMap<Entity>
recentKineticEnemies
recentKineticEnemies
field_63292
piercingCooldowns
private float
swimAmount
swimAmount
field_6243
leaningPitch
private float
swimAmountO
swimAmountO
field_6264
lastLeaningPitch
protected Brain<?>
brain
brain
field_18321
brain
private boolean
skipDropExperience
skipDropExperience
field_37421
experienceDroppingDisabled
private final EnumMap<EquipmentSlot, it.unimi.dsi.fastutil.objects.Reference2ObjectMap<Enchantment, Set<EnchantmentLocationBasedEffect>>>
activeLocationDependentEnchantments
activeLocationDependentEnchantments
field_51571
locationBasedEnchantmentEffects
protected final EntityEquipment
equipment
equipment
field_56535
equipment
private Waypoint$Config
locatorBarIcon
locatorBarIcon
field_59669
waypointConfig
public Vec3d
currentImpulseImpactPos
currentImpulseImpactPos
field_1_849
currentExplosionImpactPos
public Entity
currentExplosionCause
currentExplosionCause
field_1_847
currentExplosionEntity

Constructor summary

ModifierConstructor
protected (EntityType<? extends LivingEntity> type, World level)

Method summary

Modifier and TypeMethod
public LivingEntity
asLivingEntity()
asLivingEntity()
method_72393()
getEntity()
protected EntityEquipment
createEquipment()
createEquipment()
method_67518()
createEquipment()
public Brain<? extends LivingEntity>
getBrain()
getBrain()
method_18868()
getBrain()
protected Brain<? extends LivingEntity>
makeBrain(Brain$Packed packedBrain)
makeBrain(Brain$Packed packedBrain)
method_18867(class_4095$class_1_142 arg0)
deserializeBrain(Brain$State state)
public void
kill(ServerLevel level)
kill(ServerLevel level)
method_5768(class_3218 arg0)
kill(ServerWorld arg0)
protected void
defineSynchedData(SynchedEntityData$Builder entityData)
defineSynchedData(SynchedEntityData$Builder entityData)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public static DefaultAttributeContainer$Builder
createLivingAttributes()
createLivingAttributes()
method_26827()
createLivingAttributes()
protected void
checkFallDamage(double ya, boolean onGround, BlockState onState, BlockPos pos)
checkFallDamage(double ya, boolean onGround, BlockState onState, BlockPos pos)
method_5623(double arg0, boolean arg1, class_2680 arg2, class_2338 arg3)
fall(double arg0, boolean arg1, BlockState arg2, BlockPos arg3)
public boolean
canBreatheUnderwater()
canBreatheUnderwater()
method_6094()
canBreatheInWater()
public float
getSwimAmount(float a)
getSwimAmount(float a)
method_6024(float arg0)
getLeaningPitch(float tickProgress)
public boolean
hasLandedInLiquid()
hasLandedInLiquid()
method_59925()
hasLandedInFluid()
public void
baseTick()
baseTick()
method_5670()
baseTick()
protected boolean
shouldTakeDrowningDamage()
shouldTakeDrowningDamage()
method_74092()
shouldDrown()
protected float
getBlockSpeedFactor()
getBlockSpeedFactor()
method_23326()
getVelocityMultiplier()
public float
getLuck()
getLuck()
method_7292()
getLuck()
protected void
removeFrost()
removeFrost()
method_32324()
removePowderSnowSlow()
protected void
tryAddFrost()
tryAddFrost()
method_32325()
addPowderSnowSlowIfNeeded()
protected void
onChangedBlock(ServerLevel level, BlockPos pos)
onChangedBlock(ServerLevel level, BlockPos pos)
method_6126(class_3218 arg0, class_2338 arg1)
applyMovementEffects(ServerWorld world, BlockPos pos)
public boolean
isBaby()
isBaby()
method_6109()
isBaby()
public float
getAgeScale()
getAgeScale()
method_17825()
getScaleFactor()
public final float
getScale()
getScale()
method_55693()
getScale()
protected float
sanitizeScale(float scale)
sanitizeScale(float scale)
method_56077(float arg0)
clampScale(float scale)
public boolean
isAffectedByFluids()
isAffectedByFluids()
method_29920()
shouldSwimInFluids()
protected void
tickDeath()
tickDeath()
method_6108()
updatePostDeath()
public boolean
shouldDropExperience()
shouldDropExperience()
method_6054()
shouldDropExperience()
protected boolean
shouldDropLoot(ServerLevel level)
shouldDropLoot(ServerLevel level)
method_27071(class_3218 arg0)
shouldDropLoot(ServerWorld world)
protected int
decreaseAirSupply(int currentSupply)
decreaseAirSupply(int currentSupply)
method_6130(int arg0)
getNextAirUnderwater(int air)
protected int
increaseAirSupply(int currentSupply)
increaseAirSupply(int currentSupply)
method_6064(int arg0)
getNextAirOnLand(int air)
public final int
getExperienceReward(ServerLevel level, Entity killer)
getExperienceReward(ServerLevel level, Entity killer)
method_59923(class_3218 arg0, class_1297 arg1)
getExperienceToDrop(ServerWorld world, Entity attacker)
protected int
getBaseExperienceReward(ServerLevel level)
getBaseExperienceReward(ServerLevel level)
method_6110(class_3218 arg0)
getExperienceToDrop(ServerWorld world)
protected boolean
isAlwaysExperienceDropper()
isAlwaysExperienceDropper()
method_6071()
shouldAlwaysDropExperience()
public LivingEntity
getLastHurtByMob()
getLastHurtByMob()
method_6065()
getAttacker()
public PlayerEntity
getLastHurtByPlayer()
getLastHurtByPlayer()
method_66280()
getAttackingPlayer()
public LivingEntity
getLastAttacker()
getLastAttacker()
method_49107()
getLastAttacker()
public int
getLastHurtByMobTimestamp()
getLastHurtByMobTimestamp()
method_6117()
getLastAttackedTime()
public void
setLastHurtByPlayer(Player player, int timeToRemember)
setLastHurtByPlayer(Player player, int timeToRemember)
method_66277(class_1657 arg0, int arg1)
setAttacking(PlayerEntity attackingPlayer, int playerHitTimer)
public void
setLastHurtByPlayer(UUID player, int timeToRemember)
setLastHurtByPlayer(UUID player, int timeToRemember)
method_66278(UUID arg0, int arg1)
setAttacking(UUID attackingPlayer, int playerHitTimer)
private void
setLastHurtByPlayer(EntityReference<Player> player, int timeToRemember)
setLastHurtByPlayer(EntityReference<Player> player, int timeToRemember)
method_29505(class_10583<class_1657> arg0, int arg1)
setAttacking(LazyEntityReference<PlayerEntity> attackingPlayer, int playerHitTimer)
public void
setLastHurtByMob(LivingEntity hurtBy)
setLastHurtByMob(LivingEntity hurtBy)
method_6015(class_1309 arg0)
setAttacker(LivingEntity attacker)
public LivingEntity
getLastHurtMob()
getLastHurtMob()
method_6052()
getAttacking()
public int
getLastHurtMobTimestamp()
getLastHurtMobTimestamp()
method_6083()
getLastAttackTime()
public void
setLastHurtMob(Entity target)
setLastHurtMob(Entity target)
method_6114(class_1297 arg0)
onAttacking(Entity target)
public int
getNoActionTime()
getNoActionTime()
method_6131()
getDespawnCounter()
public void
setNoActionTime(int noActionTime)
setNoActionTime(int noActionTime)
method_16826(int arg0)
setDespawnCounter(int despawnCounter)
public boolean
shouldDiscardFriction()
shouldDiscardFriction()
method_35053()
hasNoDrag()
public void
setDiscardFriction(boolean discardFriction)
setDiscardFriction(boolean discardFriction)
method_35054(boolean arg0)
setNoDrag(boolean noDrag)
protected boolean
doesEmitEquipEvent(EquipmentSlot slot)
doesEmitEquipEvent(EquipmentSlot slot)
method_44201(class_1304 arg0)
isArmorSlot(EquipmentSlot slot)
public void
onEquipItem(EquipmentSlot slot, ItemStack oldStack, ItemStack stack)
onEquipItem(EquipmentSlot slot, ItemStack oldStack, ItemStack stack)
method_6116(class_1304 arg0, class_1799 arg1, class_1799 arg2)
onEquipStack(EquipmentSlot slot, ItemStack oldStack, ItemStack newStack)
protected RegistryEntry<SoundEvent>
getEquipSound(EquipmentSlot slot, ItemStack stack, Equippable equippable)
getEquipSound(EquipmentSlot slot, ItemStack stack, Equippable equippable)
method_66667(class_1304 arg0, class_1799 arg1, class_10192 arg2)
getEquipSound(EquipmentSlot slot, ItemStack stack, EquippableComponent equippableComponent)
public void
remove(Entity$RemovalReason reason)
remove(Entity$RemovalReason reason)
method_5650(class_1297$class_5529 arg0)
remove(Entity$RemovalReason arg0)
public void
onRemoval(Entity$RemovalReason reason)
onRemoval(Entity$RemovalReason reason)
method_64615(class_1297$class_5529 arg0)
onRemove(Entity$RemovalReason arg0)
protected void
triggerOnDeathMobEffects(ServerLevel level, Entity$RemovalReason reason)
triggerOnDeathMobEffects(ServerLevel level, Entity$RemovalReason reason)
method_60699(class_3218 arg0, class_1297$class_5529 arg1)
onRemoval(ServerWorld world, Entity$RemovalReason reason)
protected void
addAdditionalSaveData(ValueOutput output)
addAdditionalSaveData(ValueOutput output)
method_5652(class_11372 arg0)
writeCustomData(WriteView arg0)
public ItemEntity
drop(ItemStack itemStack, boolean randomly, boolean thrownFromHand)
drop(ItemStack itemStack, boolean randomly, boolean thrownFromHand)
method_7329(class_1799 arg0, boolean arg1, boolean arg2)
dropItem(ItemStack stack, boolean dropAtSelf, boolean retainOwnership)
protected void
readAdditionalSaveData(ValueInput input)
readAdditionalSaveData(ValueInput input)
method_5749(class_11368 arg0)
readCustomData(ReadView arg0)
public void
updateDataBeforeSync()
updateDataBeforeSync()
method_75725()
beforePacketsSent()
protected void
tickEffects()
tickEffects()
method_6050()
tickStatusEffects()
private void
updateDirtyEffects()
updateDirtyEffects()
method_75126()
handleEffectsChanged()
protected void
updateInvisibilityStatus()
updateInvisibilityStatus()
method_6027()
updatePotionVisibility()
private void
updateSynchronizedMobEffectParticles()
updateSynchronizedMobEffectParticles()
method_58150()
updatePotionSwirls()
private void
updateGlowingStatus()
updateGlowingStatus()
method_36362()
updateGlowing()
public double
getVisibilityPercent(Entity targetingEntity)
getVisibilityPercent(Entity targetingEntity)
method_18390(class_1297 arg0)
getAttackDistanceScalingFactor(Entity entity)
public boolean
canAttack(LivingEntity target)
canAttack(LivingEntity target)
method_18395(class_1309 arg0)
canTarget(LivingEntity target)
public boolean
canBeSeenAsEnemy()
canBeSeenAsEnemy()
method_33190()
canTakeDamage()
public boolean
canBeSeenByAnyone()
canBeSeenByAnyone()
method_36608()
isPartOfGame()
public static boolean
areAllEffectsAmbient(Collection<MobEffectInstance> effects)
areAllEffectsAmbient(Collection<MobEffectInstance> effects)
method_6089(Collection<class_1293> arg0)
containsOnlyAmbientEffects(Collection<StatusEffectInstance> effects)
protected void
removeEffectParticles()
removeEffectParticles()
method_6069()
clearPotionSwirls()
public boolean
removeAllEffects()
removeAllEffects()
method_6012()
clearStatusEffects()
public Collection<StatusEffectInstance>
getActiveEffects()
getActiveEffects()
method_6026()
getStatusEffects()
public Map<RegistryEntry<StatusEffect>, StatusEffectInstance>
getActiveEffectsMap()
getActiveEffectsMap()
method_6088()
getActiveStatusEffects()
public boolean
hasEffect(Holder<MobEffect> effect)
hasEffect(Holder<MobEffect> effect)
method_6059(class_6880<class_1291> arg0)
hasStatusEffect(RegistryEntry<StatusEffect> effect)
public StatusEffectInstance
getEffect(Holder<MobEffect> effect)
getEffect(Holder<MobEffect> effect)
method_6112(class_6880<class_1291> arg0)
getStatusEffect(RegistryEntry<StatusEffect> effect)
public float
getEffectBlendFactor(Holder<MobEffect> effect, float partialTicks)
getEffectBlendFactor(Holder<MobEffect> effect, float partialTicks)
method_66279(class_6880<class_1291> arg0, float arg1)
getEffectFadeFactor(RegistryEntry<StatusEffect> effect, float tickProgress)
public final boolean
addEffect(MobEffectInstance newEffect)
addEffect(MobEffectInstance newEffect)
method_6092(class_1293 arg0)
addStatusEffect(StatusEffectInstance effect)
public boolean
addEffect(MobEffectInstance newEffect, Entity source)
addEffect(MobEffectInstance newEffect, Entity source)
method_37222(class_1293 arg0, class_1297 arg1)
addStatusEffect(StatusEffectInstance effect, Entity source)
public boolean
canBeAffected(MobEffectInstance newEffect)
canBeAffected(MobEffectInstance newEffect)
method_6049(class_1293 arg0)
canHaveStatusEffect(StatusEffectInstance effect)
public void
forceAddEffect(MobEffectInstance newEffect, Entity source)
forceAddEffect(MobEffectInstance newEffect, Entity source)
method_26082(class_1293 arg0, class_1297 arg1)
setStatusEffect(StatusEffectInstance effect, Entity source)
public boolean
isInvertedHealAndHarm()
isInvertedHealAndHarm()
method_5999()
hasInvertedHealingAndHarm()
public final StatusEffectInstance
removeEffectNoUpdate(Holder<MobEffect> effect)
removeEffectNoUpdate(Holder<MobEffect> effect)
method_6111(class_6880<class_1291> arg0)
removeStatusEffectInternal(RegistryEntry<StatusEffect> effect)
public boolean
removeEffect(Holder<MobEffect> effect)
removeEffect(Holder<MobEffect> effect)
method_6016(class_6880<class_1291> arg0)
removeStatusEffect(RegistryEntry<StatusEffect> effect)
protected void
onEffectAdded(MobEffectInstance effect, Entity source)
onEffectAdded(MobEffectInstance effect, Entity source)
method_6020(class_1293 arg0, class_1297 arg1)
onStatusEffectApplied(StatusEffectInstance effect, Entity source)
public void
sendEffectToPassengers(MobEffectInstance effect)
sendEffectToPassengers(MobEffectInstance effect)
method_52197(class_1293 arg0)
sendEffectToControllingPlayer(StatusEffectInstance effect)
protected void
onEffectUpdated(MobEffectInstance effect, boolean doRefreshAttributes, Entity source)
onEffectUpdated(MobEffectInstance effect, boolean doRefreshAttributes, Entity source)
method_6009(class_1293 arg0, boolean arg1, class_1297 arg2)
onStatusEffectUpgraded(StatusEffectInstance effect, boolean reapplyEffect, Entity source)
protected void
onEffectsRemoved(Collection<MobEffectInstance> effects)
onEffectsRemoved(Collection<MobEffectInstance> effects)
method_6129(Collection<class_1293> arg0)
onStatusEffectsRemoved(Collection<StatusEffectInstance> effects)
private void
refreshDirtyAttributes()
refreshDirtyAttributes()
method_52543()
updateAttributes()
protected void
onAttributeUpdated(Holder<Attribute> attribute)
onAttributeUpdated(Holder<Attribute> attribute)
method_52540(class_6880<class_1320> arg0)
updateAttribute(RegistryEntry<EntityAttribute> attribute)
public void
heal(float heal)
heal(float heal)
method_6025(float arg0)
heal(float amount)
public float
getHealth()
getHealth()
method_6032()
getHealth()
public void
setHealth(float health)
setHealth(float health)
method_6033(float arg0)
setHealth(float health)
public boolean
isDeadOrDying()
isDeadOrDying()
method_29504()
isDead()
public boolean
hurtServer(ServerLevel level, DamageSource source, float damage)
hurtServer(ServerLevel level, DamageSource source, float damage)
method_64397(class_3218 arg0, class_1282 arg1, float arg2)
damage(ServerWorld arg0, DamageSource arg1, float arg2)
public float
applyItemBlocking(ServerLevel level, DamageSource source, float damage)
applyItemBlocking(ServerLevel level, DamageSource source, float damage)
method_67346(class_3218 arg0, class_1282 arg1, float arg2)
getDamageBlockedAmount(ServerWorld world, DamageSource source, float amount)
private void
playSecondaryHurtSound(DamageSource source)
playSecondaryHurtSound(DamageSource source)
method_66283(class_1282 arg0)
playThornsSound(DamageSource damageSource)
protected void
resolveMobResponsibleForDamage(DamageSource source)
resolveMobResponsibleForDamage(DamageSource source)
method_65344(class_1282 arg0)
becomeAngry(DamageSource damageSource)
protected PlayerEntity
resolvePlayerResponsibleForDamage(DamageSource source)
resolvePlayerResponsibleForDamage(DamageSource source)
method_65343(class_1282 arg0)
setAttackingPlayer(DamageSource damageSource)
protected void
blockUsingItem(ServerLevel level, LivingEntity attacker)
blockUsingItem(ServerLevel level, LivingEntity attacker)
method_6090(class_3218 arg0, class_1309 arg1)
takeShieldHit(ServerWorld world, LivingEntity attacker)
protected void
blockedByItem(LivingEntity defender)
blockedByItem(LivingEntity defender)
method_6060(class_1309 arg0)
knockback(LivingEntity target)
private boolean
checkTotemDeathProtection(DamageSource killingDamage)
checkTotemDeathProtection(DamageSource killingDamage)
method_6095(class_1282 arg0)
tryUseDeathProtector(DamageSource source)
public DamageSource
getLastDamageSource()
getLastDamageSource()
method_6081()
getRecentDamageSource()
protected void
playHurtSound(DamageSource source)
playHurtSound(DamageSource source)
method_6013(class_1282 arg0)
playHurtSound(DamageSource damageSource)
public void
makeSound(SoundEvent sound)
makeSound(SoundEvent sound)
method_56078(class_3414 arg0)
playSound(SoundEvent sound)
private void
breakItem(ItemStack itemStack)
breakItem(ItemStack itemStack)
method_6045(class_1799 arg0)
playEquipmentBreakEffects(ItemStack stack)
public void
die(DamageSource source)
die(DamageSource source)
method_6078(class_1282 arg0)
onDeath(DamageSource damageSource)
protected void
createWitherRose(LivingEntity killer)
createWitherRose(LivingEntity killer)
method_23733(class_1309 arg0)
onKilledBy(LivingEntity adversary)
protected void
dropAllDeathLoot(ServerLevel level, DamageSource source)
dropAllDeathLoot(ServerLevel level, DamageSource source)
method_16080(class_3218 arg0, class_1282 arg1)
drop(ServerWorld world, DamageSource damageSource)
protected void
dropEquipment(ServerLevel level)
dropEquipment(ServerLevel level)
method_16078(class_3218 arg0)
dropInventory(ServerWorld world)
protected void
dropExperience(ServerLevel level, Entity killer)
dropExperience(ServerLevel level, Entity killer)
method_23883(class_3218 arg0, class_1297 arg1)
dropExperience(ServerWorld world, Entity attacker)
protected void
dropCustomDeathLoot(ServerLevel level, DamageSource source, boolean killedByPlayer)
dropCustomDeathLoot(ServerLevel level, DamageSource source, boolean killedByPlayer)
method_6099(class_3218 arg0, class_1282 arg1, boolean arg2)
dropEquipment(ServerWorld world, DamageSource source, boolean causedByPlayer)
public long
getLootTableSeed()
getLootTableSeed()
method_51851()
getLootTableSeed()
protected float
getKnockback(Entity target, DamageSource damageSource)
getKnockback(Entity target, DamageSource damageSource)
method_59924(class_1297 arg0, class_1282 arg1)
getAttackKnockbackAgainst(Entity target, DamageSource damageSource)
protected void
dropFromLootTable(ServerLevel level, DamageSource source, boolean playerKilled)
dropFromLootTable(ServerLevel level, DamageSource source, boolean playerKilled)
method_16077(class_3218 arg0, class_1282 arg1, boolean arg2)
dropLoot(ServerWorld world, DamageSource damageSource, boolean causedByPlayer)
public void
dropFromLootTable(ServerLevel level, DamageSource source, boolean playerKilled, ResourceKey<LootTable> lootTable)
dropFromLootTable(ServerLevel level, DamageSource source, boolean playerKilled, ResourceKey<LootTable> lootTable)
method_72395(class_3218 arg0, class_1282 arg1, boolean arg2, class_5321<class_52> arg3)
dropLoot(ServerWorld world, DamageSource damageSource, boolean causedByPlayer, RegistryKey<LootTable> lootTableKey)
public void
dropFromLootTable(ServerLevel level, DamageSource source, boolean playerKilled, ResourceKey<LootTable> lootTable, Consumer<ItemStack> itemStackConsumer)
dropFromLootTable(ServerLevel level, DamageSource source, boolean playerKilled, ResourceKey<LootTable> lootTable, Consumer<ItemStack> itemStackConsumer)
method_72396(class_3218 arg0, class_1282 arg1, boolean arg2, class_5321<class_52> arg3, Consumer<class_1799> arg4)
generateLoot(ServerWorld world, DamageSource damageSource, boolean causedByPlayer, RegistryKey<LootTable> lootTableKey, Consumer<ItemStack> lootConsumer)
public boolean
dropFromEntityInteractLootTable(ServerLevel level, ResourceKey<LootTable> key, Entity interactingEntity, ItemInstance tool, BiConsumer<ServerLevel, ItemStack> consumer)
dropFromEntityInteractLootTable(ServerLevel level, ResourceKey<LootTable> key, Entity interactingEntity, ItemInstance tool, BiConsumer<ServerLevel, ItemStack> consumer)
method_72394(class_3218 arg0, class_5321<class_52> arg1, class_1297 arg2, class_1_96 arg3, BiConsumer<class_3218, class_1799> arg4)
forEachBrushedItem(ServerWorld world, RegistryKey<LootTable> lootTableKey, Entity interactingEntity, ItemStackView tool, BiConsumer<ServerWorld, ItemStack> lootConsumer)
public boolean
dropFromGiftLootTable(ServerLevel level, ResourceKey<LootTable> key, BiConsumer<ServerLevel, ItemStack> consumer)
dropFromGiftLootTable(ServerLevel level, ResourceKey<LootTable> key, BiConsumer<ServerLevel, ItemStack> consumer)
method_64169(class_3218 arg0, class_5321<class_52> arg1, BiConsumer<class_3218, class_1799> arg2)
forEachGiftedItem(ServerWorld world, RegistryKey<LootTable> lootTableKey, BiConsumer<ServerWorld, ItemStack> lootConsumer)
protected void
dropFromShearingLootTable(ServerLevel level, ResourceKey<LootTable> key, ItemInstance tool, BiConsumer<ServerLevel, ItemStack> consumer)
dropFromShearingLootTable(ServerLevel level, ResourceKey<LootTable> key, ItemInstance tool, BiConsumer<ServerLevel, ItemStack> consumer)
method_61419(class_3218 arg0, class_5321<class_52> arg1, class_1_96 arg2, BiConsumer<class_3218, class_1799> arg3)
forEachShearedItem(ServerWorld world, RegistryKey<LootTable> lootTableKey, ItemStackView tool, BiConsumer<ServerWorld, ItemStack> lootConsumer)
protected boolean
dropFromLootTable(ServerLevel level, ResourceKey<LootTable> key, Function<LootParams$Builder, LootParams> paramsBuilder, BiConsumer<ServerLevel, ItemStack> consumer)
dropFromLootTable(ServerLevel level, ResourceKey<LootTable> key, Function<LootParams$Builder, LootParams> paramsBuilder, BiConsumer<ServerLevel, ItemStack> consumer)
method_64170(class_3218 arg0, class_5321<class_52> arg1, Function<class_8567$class_8568, class_8567> arg2, BiConsumer<class_3218, class_1799> arg3)
forEachGeneratedItem(ServerWorld world, RegistryKey<LootTable> lootTableKey, Function<LootWorldContext$Builder, LootWorldContext> lootContextParametersFactory, BiConsumer<ServerWorld, ItemStack> lootConsumer)
public void
knockback(double power, double xd, double zd)
knockback(double power, double xd, double zd)
method_6005(double arg0, double arg1, double arg2)
takeKnockback(double strength, double x, double z)
public void
indicateDamage(double xd, double zd)
indicateDamage(double xd, double zd)
method_48761(double arg0, double arg1)
tiltScreen(double deltaX, double deltaZ)
protected SoundEvent
getHurtSound(DamageSource source)
getHurtSound(DamageSource source)
method_6011(class_1282 arg0)
getHurtSound(DamageSource source)
protected SoundEvent
getDeathSound()
getDeathSound()
method_6002()
getDeathSound()
private SoundEvent
getFallDamageSound(int dmg)
getFallDamageSound(int dmg)
method_6041(int arg0)
getFallSound(int distance)
public void
skipDropExperience()
skipDropExperience()
method_41329()
disableExperienceDropping()
public boolean
wasExperienceConsumed()
wasExperienceConsumed()
method_41330()
isExperienceDroppingDisabled()
public float
getHurtDir()
getHurtDir()
method_48157()
getDamageTiltYaw()
protected Box
getHitbox()
getHitbox()
method_53510()
getHitbox()
public Map<Enchantment, Set<EnchantmentLocationBasedEffect>>
activeLocationDependentEnchantments(EquipmentSlot slot)
activeLocationDependentEnchantments(EquipmentSlot slot)
method_59926(class_1304 arg0)
getLocationBasedEnchantmentEffects(EquipmentSlot slot)
public void
postPiercingAttack()
postPiercingAttack()
method_75125()
useAttackEnchantmentEffects()
public LivingEntity$FallSounds
getFallSounds()
getFallSounds()
method_39760()
getFallSounds()
public Optional<BlockPos>
getLastClimbablePos()
getLastClimbablePos()
method_24832()
getClimbingPos()
public boolean
onClimbable()
onClimbable()
method_6101()
isClimbing()
private boolean
trapdoorUsableAsLadder(BlockPos pos, BlockState state)
trapdoorUsableAsLadder(BlockPos pos, BlockState state)
method_6077(class_2338 arg0, class_2680 arg1)
canEnterTrapdoor(BlockPos pos, BlockState state)
public boolean
isAlive()
isAlive()
method_5805()
isAlive()
public boolean
isLookingAtMe(LivingEntity target, double coneSize, boolean adjustForDistance, boolean seeThroughTransparentBlocks, double... gazeHeights)
isLookingAtMe(LivingEntity target, double coneSize, boolean adjustForDistance, boolean seeThroughTransparentBlocks, double... gazeHeights)
method_64619(class_1309 arg0, double arg1, boolean arg2, boolean arg3, double... arg4)
isEntityLookingAtMe(LivingEntity entity, double tolerance, boolean scaleToleranceByDistance, boolean visualShape, double... checkedYs)
public int
getMaxFallDistance()
getMaxFallDistance()
method_5850()
getSafeFallDistance()
protected final int
getComfortableFallDistance(float allowedDamage)
getComfortableFallDistance(float allowedDamage)
method_56993(float arg0)
getSafeFallDistance(float health)
public boolean
causeFallDamage(double fallDistance, float damageModifier, DamageSource damageSource)
causeFallDamage(double fallDistance, float damageModifier, DamageSource damageSource)
method_5747(double arg0, float arg1, class_1282 arg2)
handleFallDamage(double arg0, float arg1, DamageSource arg2)
public void
setIgnoreFallDamageFromCurrentImpulse(boolean ignoreFallDamage, Vec3 newImpulseImpactPos)
setIgnoreFallDamageFromCurrentImpulse(boolean ignoreFallDamage, Vec3 newImpulseImpactPos)
method_1_784(boolean arg0, class_243 arg1)
onReceiveImpulse(boolean wind, Vec3d pos)
public void
applyPostImpulseGraceTime(int ticks)
applyPostImpulseGraceTime(int ticks)
method_1_780(int arg0)
setImpulseContextResetGraceTime(int graceTime)
public boolean
isIgnoringFallDamageFromCurrentImpulse()
isIgnoringFallDamageFromCurrentImpulse()
method_1_781()
isAffectedByImpulse()
public void
tryResetCurrentImpulseContext()
tryResetCurrentImpulseContext()
method_1_785()
resetImpulseDataIfGraceTimeReset()
public boolean
isInPostImpulseGraceTime()
isInPostImpulseGraceTime()
method_1_782()
hasImpulseContextResetGraceTime()
public void
resetCurrentImpulseContext()
resetCurrentImpulseContext()
method_1_783()
resetImpulseData()
protected int
calculateFallDamage(double fallDistance, float damageModifier)
calculateFallDamage(double fallDistance, float damageModifier)
method_23329(double arg0, float arg1)
computeFallDamage(double fallDistance, float damagePerDistance)
private double
calculateFallPower(double fallDistance)
calculateFallPower(double fallDistance)
method_66669(double arg0)
getUnsafeFallDistance(double fallDistance)
protected void
playBlockFallSound()
playBlockFallSound()
method_23328()
playBlockFallSound()
public void
animateHurt(float yaw)
animateHurt(float yaw)
method_5879(float arg0)
animateDamage(float arg0)
public int
getArmorValue()
getArmorValue()
method_6096()
getArmor()
protected void
hurtArmor(DamageSource damageSource, float damage)
hurtArmor(DamageSource damageSource, float damage)
method_6105(class_1282 arg0, float arg1)
damageArmor(DamageSource source, float amount)
protected void
hurtHelmet(DamageSource damageSource, float damage)
hurtHelmet(DamageSource damageSource, float damage)
method_36977(class_1282 arg0, float arg1)
damageHelmet(DamageSource source, float amount)
protected void
doHurtEquipment(DamageSource damageSource, float damage, EquipmentSlot... slots)
doHurtEquipment(DamageSource damageSource, float damage, EquipmentSlot... slots)
method_57292(class_1282 arg0, float arg1, class_1304... arg2)
damageEquipment(DamageSource source, float amount, EquipmentSlot... slots)
protected float
getDamageAfterArmorAbsorb(DamageSource damageSource, float damage)
getDamageAfterArmorAbsorb(DamageSource damageSource, float damage)
method_6132(class_1282 arg0, float arg1)
applyArmorToDamage(DamageSource source, float amount)
protected float
getDamageAfterMagicAbsorb(DamageSource damageSource, float damage)
getDamageAfterMagicAbsorb(DamageSource damageSource, float damage)
method_6036(class_1282 arg0, float arg1)
modifyAppliedDamage(DamageSource source, float amount)
protected void
actuallyHurt(ServerLevel level, DamageSource source, float dmg)
actuallyHurt(ServerLevel level, DamageSource source, float dmg)
method_6074(class_3218 arg0, class_1282 arg1, float arg2)
applyDamage(ServerWorld world, DamageSource source, float amount)
public DamageTracker
getCombatTracker()
getCombatTracker()
method_6066()
getDamageTracker()
public LivingEntity
getKillCredit()
getKillCredit()
method_6124()
getPrimeAdversary()
public final float
getMaxHealth()
getMaxHealth()
method_6063()
getMaxHealth()
public final float
getMaxAbsorption()
getMaxAbsorption()
method_52541()
getMaxAbsorption()
public final int
getArrowCount()
getArrowCount()
method_6022()
getStuckArrowCount()
public final void
setArrowCount(int count)
setArrowCount(int count)
method_6097(int arg0)
setStuckArrowCount(int stuckArrowCount)
public final int
getStingerCount()
getStingerCount()
method_21753()
getStingerCount()
public final void
setStingerCount(int count)
setStingerCount(int count)
method_21755(int arg0)
setStingerCount(int stingerCount)
private int
getCurrentSwingDuration()
getCurrentSwingDuration()
method_6028()
getHandSwingDuration()
public void
swing(InteractionHand hand)
swing(InteractionHand hand)
method_6104(class_1268 arg0)
swingHand(Hand hand)
public void
swing(InteractionHand hand, boolean sendToSwingingEntity)
swing(InteractionHand hand, boolean sendToSwingingEntity)
method_23667(class_1268 arg0, boolean arg1)
swingHand(Hand hand, boolean fromServerPlayer)
public void
handleDamageEvent(DamageSource source)
handleDamageEvent(DamageSource source)
method_48922(class_1282 arg0)
onDamaged(DamageSource arg0)
public void
handleEntityEvent(byte id)
handleEntityEvent(byte id)
method_5711(byte arg0)
handleStatus(byte arg0)
public float
getTicksSinceLastKineticHitFeedback(float partial)
getTicksSinceLastKineticHitFeedback(float partial)
method_75879(float arg0)
getTimeSinceLastKineticAttack(float tickProgress)
public void
makePoofParticles()
makePoofParticles()
method_36549()
addDeathParticles()
private void
makeDrownParticles()
makeDrownParticles()
method_66276()
addBubbleParticles()
private void
onKineticHit()
onKineticHit()
method_76773()
playKineticHitSound()
private void
swapHandItems()
swapHandItems()
method_30127()
swapHandStacks()
protected void
onBelowWorld()
onBelowWorld()
method_5825()
tickInVoid()
protected void
updateSwingTime()
updateSwingTime()
method_6119()
tickHandSwing()
public EntityAttributeInstance
getAttribute(Holder<Attribute> attribute)
getAttribute(Holder<Attribute> attribute)
method_5996(class_6880<class_1320> arg0)
getAttributeInstance(RegistryEntry<EntityAttribute> attribute)
public double
getAttributeValue(Holder<Attribute> attribute)
getAttributeValue(Holder<Attribute> attribute)
method_45325(class_6880<class_1320> arg0)
getAttributeValue(RegistryEntry<EntityAttribute> attribute)
public double
getAttributeBaseValue(Holder<Attribute> attribute)
getAttributeBaseValue(Holder<Attribute> attribute)
method_45326(class_6880<class_1320> arg0)
getAttributeBaseValue(RegistryEntry<EntityAttribute> attribute)
public AttributeContainer
getAttributes()
getAttributes()
method_6127()
getAttributes()
public ItemStack
getMainHandItem()
getMainHandItem()
method_6047()
getMainHandStack()
public ItemStack
getOffhandItem()
getOffhandItem()
method_6079()
getOffHandStack()
public ItemStack
getItemHeldByArm(HumanoidArm arm)
getItemHeldByArm(HumanoidArm arm)
method_61420(class_1306 arg0)
getStackInArm(Arm arm)
public ItemStack
getWeaponItem()
getWeaponItem()
method_59958()
getWeaponStack()
public AttackRangeComponent
getAttackRangeWith(ItemStack weaponItem)
getAttackRangeWith(ItemStack weaponItem)
method_1_884(class_1799 arg0)
getAttackRange(ItemStack weapon)
public ItemStack
getActiveItem()
getActiveItem()
method_76694()
getActiveOrMainHandStack()
public boolean
isHolding(Item item)
isHolding(Item item)
method_24518(class_1792 arg0)
isHolding(Item item)
public boolean
isHolding(Predicate<ItemStack> itemPredicate)
isHolding(Predicate<ItemStack> itemPredicate)
method_24520(Predicate<class_1799> arg0)
isHolding(Predicate<ItemStack> predicate)
public ItemStack
getItemInHand(InteractionHand hand)
getItemInHand(InteractionHand hand)
method_5998(class_1268 arg0)
getStackInHand(Hand hand)
public void
setItemInHand(InteractionHand hand, ItemStack itemStack)
setItemInHand(InteractionHand hand, ItemStack itemStack)
method_6122(class_1268 arg0, class_1799 arg1)
setStackInHand(Hand hand, ItemStack stack)
public boolean
hasItemInSlot(EquipmentSlot slot)
hasItemInSlot(EquipmentSlot slot)
method_6084(class_1304 arg0)
hasStackEquipped(EquipmentSlot slot)
public boolean
canUseSlot(EquipmentSlot slot)
canUseSlot(EquipmentSlot slot)
method_56991(class_1304 arg0)
canUseSlot(EquipmentSlot slot)
public ItemStack
getItemBySlot(EquipmentSlot slot)
getItemBySlot(EquipmentSlot slot)
method_6118(class_1304 arg0)
getEquipment(EquipmentSlot slot)
public void
setItemSlot(EquipmentSlot slot, ItemStack itemStack)
setItemSlot(EquipmentSlot slot, ItemStack itemStack)
method_5673(class_1304 arg0, class_1799 arg1)
setEquipment(EquipmentSlot slot, ItemStack stack)
public float
getArmorCoverPercentage()
getArmorCoverPercentage()
method_18396()
getArmorVisibility()
public void
setSprinting(boolean isSprinting)
setSprinting(boolean isSprinting)
method_5728(boolean arg0)
setSprinting(boolean arg0)
protected float
getSoundVolume()
getSoundVolume()
method_6107()
getSoundVolume()
public float
getVoicePitch()
getVoicePitch()
method_6017()
getSoundPitch()
protected boolean
isImmobile()
isImmobile()
method_6062()
isImmobile()
public void
push(Entity entity)
push(Entity entity)
method_5697(class_1297 arg0)
pushAwayFrom(Entity arg0)
private void
dismountVehicle(Entity vehicle)
dismountVehicle(Entity vehicle)
method_6038(class_1297 arg0)
onDismounted(Entity vehicle)
public boolean
shouldShowName()
shouldShowName()
method_5733()
shouldRenderName()
protected float
getJumpPower()
getJumpPower()
method_6106()
getJumpVelocity()
protected float
getJumpPower(float multiplier)
getJumpPower(float multiplier)
method_56994(float arg0)
getJumpVelocity(float strength)
public float
getJumpBoostPower()
getJumpBoostPower()
method_37416()
getJumpBoostVelocityModifier()
public void
jumpFromGround()
jumpFromGround()
method_6043()
jump()
protected void
goDownInWater()
goDownInWater()
method_6093()
knockDownwards()
protected void
jumpInLiquid(TagKey<Fluid> type)
jumpInLiquid(TagKey<Fluid> type)
method_6010(class_6862<class_3611> arg0)
swimUpward(TagKey<Fluid> fluid)
protected float
getWaterSlowDown()
getWaterSlowDown()
method_6120()
getBaseWaterMovementSpeedMultiplier()
public boolean
canStandOnFluid(FluidState fluid)
canStandOnFluid(FluidState fluid)
method_26319(class_3610 arg0)
canWalkOnFluid(FluidState state)
protected double
getDefaultGravity()
getDefaultGravity()
method_7490()
getGravity()
protected double
getEffectiveGravity()
getEffectiveGravity()
method_61426()
getEffectiveGravity()
public void
travel(Vec3 input)
travel(Vec3 input)
method_6091(class_243 arg0)
travel(Vec3d movementInput)
public VoxelShape
getLiquidCollisionShape()
getLiquidCollisionShape()
method_1_1166()
getFluidWalkingShape()
protected boolean
shouldTravelInFluid(FluidState fluidState)
shouldTravelInFluid(FluidState fluidState)
method_76088(class_3610 arg0)
isTravellingInFluid(FluidState state)
protected void
travelFlying(Vec3 input, float speed)
travelFlying(Vec3 input, float speed)
method_70670(class_243 arg0, float arg1)
travelFlying(Vec3d movementInput, float speed)
protected void
travelFlying(Vec3 input, float waterSpeed, float lavaSpeed, float airSpeed)
travelFlying(Vec3 input, float waterSpeed, float lavaSpeed, float airSpeed)
method_70671(class_243 arg0, float arg1, float arg2, float arg3)
travelFlying(Vec3d movementInput, float inWaterSpeed, float inLavaSpeed, float regularSpeed)
private void
travelInAir(Vec3 input)
travelInAir(Vec3 input)
method_61428(class_243 arg0)
travelMidAir(Vec3d movementInput)
private void
travelInFluid(Vec3 input)
travelInFluid(Vec3 input)
method_61429(class_243 arg0)
travelInFluid(Vec3d movementInput)
protected void
travelInWater(Vec3 input, double baseGravity, boolean isFalling, double oldY)
travelInWater(Vec3 input, double baseGravity, boolean isFalling, double oldY)
method_76087(class_243 arg0, double arg1, boolean arg2, double arg3)
travelInWater(Vec3d movementInput, double gravity, boolean falling, double y)
private void
travelInLava(Vec3 input, double baseGravity, boolean isFalling, double oldY)
travelInLava(Vec3 input, double baseGravity, boolean isFalling, double oldY)
method_76089(class_243 arg0, double arg1, boolean arg2, double arg3)
travelInLava(Vec3d movementInput, double gravity, boolean falling, double y)
private void
jumpOutOfFluid(double oldY)
jumpOutOfFluid(double oldY)
method_76090(double arg0)
resetVerticalVelocityInFluid(double y)
private void
floatInWaterWhileRidden()
floatInWaterWhileRidden()
method_76086()
floatIfRidden()
private void
travelFallFlying(Vec3 input)
travelFallFlying(Vec3 input)
method_61417(class_243 arg0)
travelGliding(Vec3d movementInput)
public void
stopFallFlying()
stopFallFlying()
method_66281()
stopGliding()
private Vec3d
updateFallFlyingMovement(Vec3 movement)
updateFallFlyingMovement(Vec3 movement)
method_61430(class_243 arg0)
calcGlidingVelocity(Vec3d oldVelocity)
private void
handleFallFlyingCollisions(double moveHorLength, double newMoveHorLength)
handleFallFlyingCollisions(double moveHorLength, double newMoveHorLength)
method_61424(double arg0, double arg1)
checkGlidingCollision(double oldSpeed, double newSpeed)
private void
travelRidden(Player controller, Vec3 selfInput)
travelRidden(Player controller, Vec3 selfInput)
method_49483(class_1657 arg0, class_243 arg1)
travelControlled(PlayerEntity controllingPlayer, Vec3d movementInput)
protected void
tickRidden(Player controller, Vec3 riddenInput)
tickRidden(Player controller, Vec3 riddenInput)
method_49481(class_1657 arg0, class_243 arg1)
tickControlled(PlayerEntity controllingPlayer, Vec3d movementInput)
protected Vec3d
getRiddenInput(Player controller, Vec3 selfInput)
getRiddenInput(Player controller, Vec3 selfInput)
method_49482(class_1657 arg0, class_243 arg1)
getControlledMovementInput(PlayerEntity controllingPlayer, Vec3d movementInput)
protected float
getRiddenSpeed(Player controller)
getRiddenSpeed(Player controller)
method_49485(class_1657 arg0)
getSaddledSpeed(PlayerEntity controllingPlayer)
public void
calculateEntityAnimation(boolean useY)
calculateEntityAnimation(boolean useY)
method_29242(boolean arg0)
updateLimbs(boolean flutter)
protected void
updateWalkAnimation(float distance)
updateWalkAnimation(float distance)
method_48565(float arg0)
updateLimbs(float posDelta)
private Vec3d
handleRelativeFrictionAndCalculateMovement(Vec3 input, float friction)
handleRelativeFrictionAndCalculateMovement(Vec3 input, float friction)
method_26318(class_243 arg0, float arg1)
applyMovementInput(Vec3d movementInput, float slipperiness)
public Vec3d
getFluidFallingAdjustedMovement(double baseGravity, boolean isFalling, Vec3 movement)
getFluidFallingAdjustedMovement(double baseGravity, boolean isFalling, Vec3 movement)
method_26317(double arg0, boolean arg1, class_243 arg2)
applyFluidMovingSpeed(double gravity, boolean falling, Vec3d motion)
private Vec3d
handleOnClimbable(Vec3 delta)
handleOnClimbable(Vec3 delta)
method_18801(class_243 arg0)
applyClimbingSpeed(Vec3d motion)
private float
getFrictionInfluencedSpeed(float blockFriction)
getFrictionInfluencedSpeed(float blockFriction)
method_18802(float arg0)
getMovementSpeed(float slipperiness)
protected float
getFlyingSpeed()
getFlyingSpeed()
method_49484()
getOffGroundSpeed()
public float
getSpeed()
getSpeed()
method_6029()
getMovementSpeed()
public void
setSpeed(float speed)
setSpeed(float speed)
method_6125(float arg0)
setMovementSpeed(float movementSpeed)
public boolean
doHurtTarget(ServerLevel level, Entity target)
doHurtTarget(ServerLevel level, Entity target)
method_6121(class_3218 arg0, class_1297 arg1)
tryAttack(ServerWorld world, Entity target)
public void
causeExtraKnockback(Entity target, float knockback, Vec3 oldMovement)
causeExtraKnockback(Entity target, float knockback, Vec3 oldMovement)
method_75122(class_1297 arg0, float arg1, class_243 arg2)
knockbackTarget(Entity target, float strength, Vec3d playerTargetVelocity)
protected void
playAttackSound()
playAttackSound()
method_59928()
playAttackSound()
public void
tick()
tick()
method_5773()
tick()
public boolean
wasRecentlyStabbed(Entity target, int allowedTime)
wasRecentlyStabbed(Entity target, int allowedTime)
method_75118(class_1297 arg0, int arg1)
isInPiercingCooldown(Entity target, int cooldownTicks)
public void
rememberStabbedEntity(Entity target)
rememberStabbedEntity(Entity target)
method_75119(class_1297 arg0)
startPiercingCooldown(Entity target)
public int
stabbedEntities(Predicate<Entity> filter)
stabbedEntities(Predicate<Entity> filter)
method_76444(Predicate<class_1297> arg0)
getPiercedEntityCount(Predicate<Entity> predicate)
public boolean
stabAttack(EquipmentSlot weaponSlot, Entity target, float baseDamage, boolean dealsDamage, boolean dealsKnockback, boolean dismounts)
stabAttack(EquipmentSlot weaponSlot, Entity target, float baseDamage, boolean dealsDamage, boolean dealsKnockback, boolean dismounts)
method_75123(class_1304 arg0, class_1297 arg1, float arg2, boolean arg3, boolean arg4, boolean arg5)
pierce(EquipmentSlot slot, Entity target, float damage, boolean dealDamage, boolean knockback, boolean dismount)
public void
onAttack()
onAttack()
method_75124()
beforePlayerAttack()
private void
detectEquipmentUpdates()
detectEquipmentUpdates()
method_30128()
sendEquipmentChanges()
private Map<EquipmentSlot, ItemStack>
collectEquipmentChanges()
collectEquipmentChanges()
method_30129()
getEquipmentChanges()
public boolean
equipmentHasChanged(ItemStack previous, ItemStack current)
equipmentHasChanged(ItemStack previous, ItemStack current)
method_45324(class_1799 arg0, class_1799 arg1)
areItemsDifferent(ItemStack stack, ItemStack stack2)
private void
handleHandSwap(Map<EquipmentSlot, ItemStack> changedItems)
handleHandSwap(Map<EquipmentSlot, ItemStack> changedItems)
method_30121(Map<class_1304, class_1799> arg0)
checkHandStackSwap(Map<EquipmentSlot, ItemStack> equipmentChanges)
private void
handleEquipmentChanges(Map<EquipmentSlot, ItemStack> changedItems)
handleEquipmentChanges(Map<EquipmentSlot, ItemStack> changedItems)
method_30123(Map<class_1304, class_1799> arg0)
sendEquipmentChanges(Map<EquipmentSlot, ItemStack> equipmentChanges)
protected void
tickHeadTurn(float yBodyRotT)
tickHeadTurn(float yBodyRotT)
method_6031(float arg0)
turnHead(float bodyRotation)
protected float
getMaxHeadRotationRelativeToBody()
getMaxHeadRotationRelativeToBody()
method_53964()
getMaxRelativeHeadRotation()
public void
aiStep()
aiStep()
method_6007()
tickMovement()
protected void
applyInput()
applyInput()
method_66282()
tickMovementInput()
public boolean
isSensitiveToWater()
isSensitiveToWater()
method_29503()
hurtByWater()
public boolean
isJumping()
isJumping()
method_70673()
isJumping()
protected void
updateFallFlying()
updateFallFlying()
method_6053()
tickGliding()
protected boolean
canGlide()
canGlide()
method_63628()
canGlide()
protected void
serverAiStep()
serverAiStep()
method_6023()
tickNewAi()
protected void
pushEntities()
pushEntities()
method_6070()
tickCramming()
protected void
checkAutoSpinAttack(AABB old, AABB current)
checkAutoSpinAttack(AABB old, AABB current)
method_6035(class_238 arg0, class_238 arg1)
tickRiptide(Box a, Box b)
protected void
doPush(Entity entity)
doPush(Entity entity)
method_6087(class_1297 arg0)
pushAway(Entity entity)
protected void
doAutoAttackOnTouch(LivingEntity entity)
doAutoAttackOnTouch(LivingEntity entity)
method_5997(class_1309 arg0)
attackLivingEntity(LivingEntity target)
public boolean
isAutoSpinAttack()
isAutoSpinAttack()
method_6123()
isUsingRiptide()
public void
stopRiding()
stopRiding()
method_5848()
stopRiding()
public void
rideTick()
rideTick()
method_5842()
tickRiding()
public PositionInterpolator
getInterpolation()
getInterpolation()
method_66233()
getInterpolator()
public void
lerpHeadTo(float yRot, int steps)
lerpHeadTo(float yRot, int steps)
method_5683(float arg0, int arg1)
updateTrackedHeadRotation(float arg0, int arg1)
public void
setJumping(boolean jump)
setJumping(boolean jump)
method_6100(boolean arg0)
setJumping(boolean jumping)
public void
onItemPickup(ItemEntity entity)
onItemPickup(ItemEntity entity)
method_29499(class_1542 arg0)
triggerItemPickedUpByEntityCriteria(ItemEntity item)
public void
take(Entity entity, int orgCount)
take(Entity entity, int orgCount)
method_6103(class_1297 arg0, int arg1)
sendPickup(Entity item, int count)
public boolean
hasLineOfSight(Entity target)
hasLineOfSight(Entity target)
method_6057(class_1297 arg0)
canSee(Entity entity)
public boolean
hasLineOfSight(Entity target, ClipContext$Block blockCollidingContext, ClipContext$Fluid fluidCollidingContext, double eyeHeight)
hasLineOfSight(Entity target, ClipContext$Block blockCollidingContext, ClipContext$Fluid fluidCollidingContext, double eyeHeight)
method_64618(class_1297 arg0, class_3959$class_3960 arg1, class_3959$class_242 arg2, double arg3)
canSee(Entity entity, RaycastContext$ShapeType shapeType, RaycastContext$FluidHandling fluidHandling, double entityY)
public float
getViewYRot(float a)
getViewYRot(float a)
method_5705(float arg0)
getYaw(float arg0)
public float
getAttackAnim(float a)
getAttackAnim(float a)
method_6055(float arg0)
getHandSwingProgress(float tickProgress)
public boolean
isPickable()
isPickable()
method_5863()
canHit()
public boolean
isPushable()
isPushable()
method_5810()
isPushable()
public float
getYHeadRot()
getYHeadRot()
method_5791()
getHeadYaw()
public void
setYHeadRot(float yHeadRot)
setYHeadRot(float yHeadRot)
method_5847(float arg0)
setHeadYaw(float arg0)
public void
setYBodyRot(float yBodyRot)
setYBodyRot(float yBodyRot)
method_5636(float arg0)
setBodyYaw(float arg0)
public Vec3d
getRelativePortalPosition(Direction$Axis axis, BlockUtil$FoundRectangle portalArea)
getRelativePortalPosition(Direction$Axis axis, BlockUtil$FoundRectangle portalArea)
method_30633(class_2350$class_2351 arg0, class_5459$class_5460 arg1)
positionInPortal(Direction$Axis arg0, BlockLocating$Rectangle arg1)
public static Vec3d
resetForwardDirectionOfRelativePortalPosition(Vec3 offsets)
resetForwardDirectionOfRelativePortalPosition(Vec3 offsets)
method_31079(class_243 arg0)
positionInPortal(Vec3d pos)
public float
getAbsorptionAmount()
getAbsorptionAmount()
method_6067()
getAbsorptionAmount()
public final void
setAbsorptionAmount(float absorptionAmount)
setAbsorptionAmount(float absorptionAmount)
method_6073(float arg0)
setAbsorptionAmount(float absorptionAmount)
protected void
internalSetAbsorptionAmount(float absorptionAmount)
internalSetAbsorptionAmount(float absorptionAmount)
method_52544(float arg0)
setAbsorptionAmountUnclamped(float absorptionAmount)
public void
onEnterCombat()
onEnterCombat()
method_6000()
enterCombat()
public void
onLeaveCombat()
onLeaveCombat()
method_6044()
endCombat()
protected void
updateEffectVisibility()
updateEffectVisibility()
method_6008()
markEffectsDirty()
public abstract Arm
getMainArm()
getMainArm()
method_6068()
getMainArm()
public boolean
isUsingItem()
isUsingItem()
method_6115()
isUsingItem()
public Hand
getUsedItemHand()
getUsedItemHand()
method_6058()
getActiveHand()
private void
updatingUsingItem()
updatingUsingItem()
method_6076()
tickActiveItemStack()
private ItemEntity
createItemStackToDrop(ItemStack itemStack, boolean randomly, boolean thrownFromHand)
createItemStackToDrop(ItemStack itemStack, boolean randomly, boolean thrownFromHand)
method_67517(class_1799 arg0, boolean arg1, boolean arg2)
createItemEntity(ItemStack stack, boolean atSelf, boolean retainOwnership)
protected void
updateUsingItem(ItemStack useItem)
updateUsingItem(ItemStack useItem)
method_37119(class_1799 arg0)
tickItemStackUsage(ItemStack stack)
private void
updateSwimAmount()
updateSwimAmount()
method_6072()
updateLeaningPitch()
protected void
setLivingEntityFlag(int flag, boolean value)
setLivingEntityFlag(int flag, boolean value)
method_6085(int arg0, boolean arg1)
setLivingFlag(int mask, boolean value)
public void
startUsingItem(InteractionHand hand)
startUsingItem(InteractionHand hand)
method_6019(class_1268 arg0)
setCurrentHand(Hand hand)
public void
onSyncedDataUpdated(EntityDataAccessor<?> accessor)
onSyncedDataUpdated(EntityDataAccessor<?> accessor)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
public void
lookAt(EntityAnchorArgument$Anchor anchor, Vec3 pos)
lookAt(EntityAnchorArgument$Anchor anchor, Vec3 pos)
method_5702(class_2183$class_2184 arg0, class_243 arg1)
lookAt(EntityAnchorArgumentType$EntityAnchor arg0, Vec3d arg1)
public float
getPreciseBodyRotation(float partial)
getPreciseBodyRotation(float partial)
method_60951(float arg0)
lerpYaw(float arg0)
public void
spawnItemParticles(ItemStack itemStack, int count)
spawnItemParticles(ItemStack itemStack, int count)
method_6037(class_1799 arg0, int arg1)
spawnItemParticles(ItemStack stack, int count)
protected void
completeUsingItem()
completeUsingItem()
method_6040()
consumeItem()
public void
handleExtraItemsCreatedOnUse(ItemStack extraCreatedRemainder)
handleExtraItemsCreatedOnUse(ItemStack extraCreatedRemainder)
method_64399(class_1799 arg0)
giveOrDropStack(ItemStack stack)
public ItemStack
getUseItem()
getUseItem()
method_6030()
getActiveItem()
public int
getUseItemRemainingTicks()
getUseItemRemainingTicks()
method_6014()
getItemUseTimeLeft()
public int
getTicksUsingItem()
getTicksUsingItem()
method_6048()
getItemUseTime()
public float
getTicksUsingItem(float partialTicks)
getTicksUsingItem(float partialTicks)
method_75120(float arg0)
getItemUseTime(float baseTime)
public void
releaseUsingItem()
releaseUsingItem()
method_6075()
stopUsingItem()
public void
stopUsingItem()
stopUsingItem()
method_6021()
clearActiveItem()
public boolean
isBlocking()
isBlocking()
method_6039()
isBlocking()
public ItemStack
getItemBlockingWith()
getItemBlockingWith()
method_62821()
getBlockingItem()
public boolean
isSuppressingSlidingDownLadder()
isSuppressingSlidingDownLadder()
method_21754()
isHoldingOntoLadder()
public boolean
isFallFlying()
isFallFlying()
method_6128()
isGliding()
public boolean
isVisuallySwimming()
isVisuallySwimming()
method_20232()
isInSwimmingPose()
public int
getFallFlyingTicks()
getFallFlyingTicks()
method_6003()
getGlidingTicks()
public boolean
randomTeleport(double xx, double yy, double zz, boolean showParticles)
randomTeleport(double xx, double yy, double zz, boolean showParticles)
method_6082(double arg0, double arg1, double arg2, boolean arg3)
teleport(double x, double y, double z, boolean particleEffects)
public boolean
isAffectedByPotions()
isAffectedByPotions()
method_6086()
isAffectedBySplashPotions()
public boolean
attackable()
attackable()
method_6102()
isMobOrPlayer()
public void
setRecordPlayingNearby(BlockPos jukebox, boolean isPlaying)
setRecordPlayingNearby(BlockPos jukebox, boolean isPlaying)
method_6006(class_2338 arg0, boolean arg1)
setNearbySongPlaying(BlockPos songPosition, boolean playing)
public boolean
canPickUpLoot()
canPickUpLoot()
method_5936()
canPickUpLoot()
public final EntityDimensions
getDimensions(Pose pose)
getDimensions(Pose pose)
method_18377(class_4050 arg0)
getDimensions(EntityPose arg0)
protected EntityDimensions
getDefaultDimensions(Pose pose)
getDefaultDimensions(Pose pose)
method_55694(class_4050 arg0)
getBaseDimensions(EntityPose pose)
public com.google.common.collect.ImmutableList<EntityPose>
getDismountPoses()
getDismountPoses()
method_24831()
getPoses()
public Box
getLocalBoundsForPose(Pose pose)
getLocalBoundsForPose(Pose pose)
method_24833(class_4050 arg0)
getBoundingBox(EntityPose pose)
protected boolean
wouldNotSuffocateAtTargetPose(Pose pose)
wouldNotSuffocateAtTargetPose(Pose pose)
method_52542(class_4050 arg0)
wouldNotSuffocateInPose(EntityPose pose)
public boolean
canUsePortal(boolean ignorePassenger)
canUsePortal(boolean ignorePassenger)
method_5822(boolean arg0)
canUsePortals(boolean arg0)
public Optional<BlockPos>
getSleepingPos()
getSleepingPos()
method_18398()
getSleepingPosition()
public void
setSleepingPos(BlockPos bedPosition)
setSleepingPos(BlockPos bedPosition)
method_18402(class_2338 arg0)
setSleepingPosition(BlockPos pos)
public void
clearSleepingPos()
clearSleepingPos()
method_18399()
clearSleepingPosition()
public boolean
isSleeping()
isSleeping()
method_6113()
isSleeping()
public void
startSleeping(BlockPos bedPosition)
startSleeping(BlockPos bedPosition)
method_18403(class_2338 arg0)
sleep(BlockPos pos)
private void
setPosToBed(BlockPos bedPosition)
setPosToBed(BlockPos bedPosition)
method_18392(class_2338 arg0)
setPositionInBed(BlockPos pos)
private boolean
checkBedExists()
checkBedExists()
method_18406()
isSleepingInBed()
public void
stopSleeping()
stopSleeping()
method_18400()
wakeUp()
public Direction
getBedOrientation()
getBedOrientation()
method_18401()
getSleepingDirection()
public boolean
isInWall()
isInWall()
method_5757()
isInsideWall()
public ItemStack
getProjectile(ItemStack heldWeapon)
getProjectile(ItemStack heldWeapon)
method_18808(class_1799 arg0)
getProjectileType(ItemStack stack)
private static byte
entityEventForEquipmentBreak(EquipmentSlot equipmentSlot)
entityEventForEquipmentBreak(EquipmentSlot equipmentSlot)
method_20237(class_1304 arg0)
getEquipmentBreakStatus(EquipmentSlot slot)
public void
onEquippedItemBroken(Item brokenItem, EquipmentSlot inSlot)
onEquippedItemBroken(Item brokenItem, EquipmentSlot inSlot)
method_20235(class_1792 arg0, class_1304 arg1)
sendEquipmentBreakStatus(Item item, EquipmentSlot slot)
private void
stopLocationBasedEffects(ItemStack previous, EquipmentSlot inSlot, AttributeMap attributes)
stopLocationBasedEffects(ItemStack previous, EquipmentSlot inSlot, AttributeMap attributes)
method_61422(class_1799 arg0, class_1304 arg1, class_5131 arg2)
onEquipmentRemoved(ItemStack removedEquipment, EquipmentSlot slot, AttributeContainer container)
public final boolean
canEquipWithDispenser(ItemStack itemStack)
canEquipWithDispenser(ItemStack itemStack)
method_63625(class_1799 arg0)
canEquipFromDispenser(ItemStack stack)
protected boolean
canDispenserEquipIntoSlot(EquipmentSlot slot)
canDispenserEquipIntoSlot(EquipmentSlot slot)
method_63626(class_1304 arg0)
canDispenserEquipSlot(EquipmentSlot slot)
public final EquipmentSlot
getEquipmentSlotForItem(ItemStack itemStack)
getEquipmentSlotForItem(ItemStack itemStack)
method_32326(class_1799 arg0)
getPreferredEquipmentSlot(ItemStack stack)
public final boolean
isEquippableInSlot(ItemStack itemStack, EquipmentSlot slot)
isEquippableInSlot(ItemStack itemStack, EquipmentSlot slot)
method_63623(class_1799 arg0, class_1304 arg1)
canEquip(ItemStack stack, EquipmentSlot slot)
private static StackReference
createEquipmentSlotAccess(LivingEntity entity, EquipmentSlot equipmentSlot)
createEquipmentSlotAccess(LivingEntity entity, EquipmentSlot equipmentSlot)
method_32321(class_1309 arg0, class_1304 arg1)
getStackReference(LivingEntity entity, EquipmentSlot slot)
private static EquipmentSlot
getEquipmentSlot(int slot)
getEquipmentSlot(int slot)
method_32322(int arg0)
getEquipmentSlot(int slotId)
public StackReference
getSlot(int slot)
getSlot(int slot)
method_32318(int arg0)
getStackReference(int arg0)
public boolean
canFreeze()
canFreeze()
method_32316()
canFreeze()
public boolean
isCurrentlyGlowing()
isCurrentlyGlowing()
method_5851()
isGlowing()
public float
getVisualRotationYInDegrees()
getVisualRotationYInDegrees()
method_73188()
getBodyYaw()
public void
recreateFromPacket(ClientboundAddEntityPacket packet)
recreateFromPacket(ClientboundAddEntityPacket packet)
method_31471(class_2604 arg0)
onSpawnPacket(EntitySpawnS2CPacket arg0)
public float
getSecondsToDisableBlocking()
getSecondsToDisableBlocking()
method_67125()
getWeaponDisableBlockingForSeconds()
public float
maxUpStep()
maxUpStep()
method_49476()
getStepHeight()
public Vec3d
getPassengerRidingPosition(Entity passenger)
getPassengerRidingPosition(Entity passenger)
method_52538(class_1297 arg0)
getPassengerRidingPos(Entity arg0)
protected void
lerpHeadRotationStep(int lerpHeadSteps, double targetYHeadRot)
lerpHeadRotationStep(int lerpHeadSteps, double targetYHeadRot)
method_52539(int arg0, double arg1)
lerpHeadYaw(int headTrackingIncrements, double serverHeadYaw)
public void
igniteForTicks(int numberOfTicks)
igniteForTicks(int numberOfTicks)
method_56073(int arg0)
setOnFireForTicks(int arg0)
public boolean
hasInfiniteMaterials()
hasInfiniteMaterials()
method_56992()
isInCreativeMode()
public boolean
isInvulnerableTo(ServerLevel level, DamageSource source)
isInvulnerableTo(ServerLevel level, DamageSource source)
method_5679(class_3218 arg0, class_1282 arg1)
isInvulnerableTo(ServerWorld world, DamageSource source)
public static boolean
canGlideUsing(ItemStack itemStack, EquipmentSlot slot)
canGlideUsing(ItemStack itemStack, EquipmentSlot slot)
method_63624(class_1799 arg0, class_1304 arg1)
canGlideWith(ItemStack stack, EquipmentSlot slot)
public int
getLastHurtByPlayerMemoryTime()
getLastHurtByPlayerMemoryTime()
method_63627()
getPlayerHitTimer()
public boolean
isTransmittingWaypoint()
isTransmittingWaypoint()
method_70674()
hasWaypoint()
public Optional<ServerWaypoint$WaypointTracker>
makeWaypointConnectionWith(ServerPlayer player)
makeWaypointConnectionWith(ServerPlayer player)
method_70672(class_3222 arg0)
createTracker(ServerPlayerEntity arg0)
public Waypoint$Config
waypointIcon()
waypointIcon()
method_70675()
getWaypointConfig()