net.minecraft.entity.mob

public abstract class MobEntity

extends LivingEntity implements Targeter, EquipmentHolder, Leashable

All mapped superinterfaces:

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

net.minecraft.world.entity.Mob
net.minecraft.class_1308
net.minecraft.entity.mob.MobEntity

Field summary

Modifier and TypeField
private static final TrackedData<Byte>
DATA_MOB_FLAGS_ID
field_6193
MOB_FLAGS
private static final int
MOB_FLAG_NO_AI
field_30088
AI_DISABLED_FLAG
private static final int
MOB_FLAG_LEFTHANDED
field_30089
LEFT_HANDED_FLAG
private static final int
MOB_FLAG_AGGRESSIVE
field_30090
ATTACKING_FLAG
protected static final int
PICKUP_REACH
field_30087
MINIMUM_DROPPED_EXPERIENCE_PER_EQUIPMENT
private static final Vec3i
ITEM_PICKUP_REACH
field_38386
ITEM_PICK_UP_RANGE_EXPANDER
private static final List<EquipmentSlot>
EQUIPMENT_POPULATION_ORDER
field_52448
EQUIPMENT_INIT_ORDER
public static final float
MAX_WEARING_ARMOR_CHANCE
field_30091
BASE_SPAWN_EQUIPMENT_CHANCE
public static final float
WEARING_ARMOR_UPGRADE_MATERIAL_CHANCE
field_62909
ARMOR_UPGRADE_CHANCE
public static final float
WEARING_ARMOR_UPGRADE_MATERIAL_ATTEMPTS
field_62910
ARMOR_UPGRADE_ROLLS
public static final float
MAX_PICKUP_LOOT_CHANCE
field_30083
DEFAULT_CAN_PICKUP_LOOT_CHANCE
public static final float
MAX_ENCHANTED_ARMOR_CHANCE
field_30084
BASE_ENCHANTED_ARMOR_CHANCE
public static final float
MAX_ENCHANTED_WEAPON_CHANCE
field_30085
BASE_ENCHANTED_MAIN_HAND_EQUIPMENT_CHANCE
public static final int
UPDATE_GOAL_SELECTOR_EVERY_N_TICKS
field_35039
field_35039
private static final double
DEFAULT_ATTACK_REACH
field_45969
ATTACK_RANGE
private static final boolean
DEFAULT_CAN_PICK_UP_LOOT
field_57591
DEFAULT_CAN_PICK_UP_LOOT
private static final boolean
DEFAULT_PERSISTENCE_REQUIRED
field_57592
DEFAULT_PERSISTENCE_REQUIRED
private static final boolean
DEFAULT_LEFT_HANDED
field_57593
DEFAULT_LEFT_HANDED
private static final boolean
DEFAULT_NO_AI
field_57594
DEFAULT_NO_AI
protected static final Identifier
RANDOM_SPAWN_BONUS_ID
field_51997
RANDOM_SPAWN_BONUS_MODIFIER_ID
public static final String
TAG_DROP_CHANCES
field_60545
DROP_CHANCES_KEY
public static final String
TAG_LEFT_HANDED
field_60546
LEFT_HANDED_KEY
public static final String
TAG_CAN_PICK_UP_LOOT
field_60547
CAN_PICK_UP_LOOT_KEY
public static final String
TAG_NO_AI
field_60548
NO_AI_KEY
public static final String
TAG_PERSISTENCE_REQUIRED
field_1_6260
PERSISTENCE_REQUIRED_KEY
public int
ambientSoundTime
field_6191
ambientSoundChance
protected int
xpReward
field_6194
experiencePoints
protected LookControl
lookControl
field_6206
lookControl
protected MoveControl
moveControl
field_6207
moveControl
protected JumpControl
jumpControl
field_6204
jumpControl
private final BodyControl
bodyRotationControl
field_6188
bodyControl
protected EntityNavigation
navigation
field_6189
navigation
protected final GoalSelector
goalSelector
field_6201
goalSelector
protected final GoalSelector
targetSelector
field_6185
targetSelector
private LivingEntity
target
field_6199
target
private final MobVisibilityCache
sensing
field_6190
visibilityCache
private EquipmentDropChances
dropChances
field_55677
equipmentDropChances
private boolean
canPickUpLoot
field_6203
canPickUpLoot
private boolean
persistenceRequired
field_6200
persistent
private final Map<PathNodeType, Float>
pathfindingMalus
field_6196
pathfindingPenalties
private Optional<RegistryKey<LootTable>>
lootTable
field_6198
lootTable
private long
lootTableSeed
field_6184
lootTableSeed
private Leashable$LeashData
leashData
field_52221
leashData
private BlockPos
homePosition
field_18074
positionTarget
private int
homeRadius
field_18075
positionTargetRange

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
registerGoals()
method_5959()
initGoals()
public static DefaultAttributeContainer$Builder
createMobAttributes()
method_26828()
createMobAttributes()
protected EntityNavigation
createNavigation(Level level)
method_5965(class_1937 arg0)
createNavigation(World world)
protected boolean
shouldPassengersInheritMalus()
method_26323()
movesIndependently()
public float
getPathfindingMalus(PathType pathType)
method_5944(class_7 arg0)
getPathfindingPenalty(PathNodeType nodeType)
public void
setPathfindingMalus(PathType pathType, float cost)
method_5941(class_7 arg0, float arg1)
setPathfindingPenalty(PathNodeType nodeType, float penalty)
public void
onPathfindingStart()
method_51504()
onStartPathfinding()
public void
onPathfindingDone()
method_51503()
onFinishPathfinding()
protected BodyControl
createBodyControl()
method_5963()
createBodyControl()
public LookControl
getLookControl()
method_5988()
getLookControl()
public MoveControl
getMoveControl()
method_5962()
getMoveControl()
public JumpControl
getJumpControl()
method_5993()
getJumpControl()
public EntityNavigation
getNavigation()
method_5942()
getNavigation()
public LivingEntity
getControllingPassenger()
method_5642()
getControllingPassenger()
public MobVisibilityCache
getSensing()
method_5985()
getVisibilityCache()
public LivingEntity
getTarget()
method_5968()
getTarget()
public LivingEntity
getTargetUnchecked()
method_1_837()
getRawTarget()
protected LivingEntity
asValidTarget(LivingEntity target)
method_1_370(class_1309 arg0)
filterTarget(LivingEntity target)
protected final LivingEntity
getTargetFromBrain()
method_59664()
getTargetInBrain()
public void
setTarget(LivingEntity target)
method_5980(class_1309 arg0)
setTarget(LivingEntity target)
public boolean
canAttack(LivingEntity target)
method_18395(class_1309 arg0)
canTarget(LivingEntity arg0)
public boolean
canUseNonMeleeWeapon(ItemStack item)
method_76695(class_1799 arg0)
canUseRangedWeapon(ItemStack stack)
public void
ate()
method_5983()
onEatingGrass()
protected void
defineSynchedData(SynchedEntityData$Builder entityData)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public int
getAmbientSoundInterval()
method_5970()
getMinAmbientSoundDelay()
public void
playAmbientSound()
method_5966()
playAmbientSound()
public void
baseTick()
method_5670()
baseTick()
protected void
playHurtSound(DamageSource source)
method_6013(class_1282 arg0)
playHurtSound(DamageSource arg0)
private void
resetAmbientSoundTime()
method_5975()
resetSoundDelay()
protected int
getBaseExperienceReward(ServerLevel level)
method_6110(class_3218 arg0)
getExperienceToDrop(ServerWorld arg0)
public void
spawnAnim()
method_5990()
playSpawnEffects()
public void
handleEntityEvent(byte id)
method_5711(byte arg0)
handleStatus(byte arg0)
public void
tick()
method_5773()
tick()
protected void
updateControlFlags()
method_20417()
updateGoalControls()
protected void
tickHeadTurn(float yBodyRotT)
method_6031(float arg0)
turnHead(float arg0)
protected SoundEvent
getAmbientSound()
method_5994()
getAmbientSound()
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)
protected void
dropFromLootTable(ServerLevel level, DamageSource source, boolean playerKilled)
method_16077(class_3218 arg0, class_1282 arg1, boolean arg2)
dropLoot(ServerWorld arg0, DamageSource arg1, boolean arg2)
public final Optional<RegistryKey<LootTable>>
getLootTable()
method_5991()
getLootTableKey()
public long
getLootTableSeed()
method_51851()
getLootTableSeed()
public void
setZza(float zza)
method_5930(float arg0)
setForwardSpeed(float forwardSpeed)
public void
setYya(float yya)
method_5976(float arg0)
setUpwardSpeed(float upwardSpeed)
public void
setXxa(float xxa)
method_5938(float arg0)
setSidewaysSpeed(float sidewaysSpeed)
public void
setSpeed(float speed)
method_6125(float arg0)
setMovementSpeed(float arg0)
public void
stopInPlace()
method_55695()
stopMovement()
public void
aiStep()
method_6007()
tickMovement()
protected EquipmentSlot
sunProtectionSlot()
method_75127()
getDaylightProtectionSlot()
private void
burnUndead()
method_75128()
tickBurnInDaylight()
private boolean
isSunBurnTick()
method_5972()
isAffectedByDaylight()
protected Vec3i
getPickupReach()
method_42646()
getItemPickUpRangeExpander()
protected void
pickUpItem(ServerLevel level, ItemEntity entity)
method_5949(class_3218 arg0, class_1542 arg1)
loot(ServerWorld world, ItemEntity itemEntity)
public ItemStack
equipItemIfPossible(ServerLevel level, ItemStack itemStack)
method_24523(class_3218 arg0, class_1799 arg1)
tryEquip(ServerWorld world, ItemStack stack)
protected void
setItemSlotAndDropWhenKilled(EquipmentSlot slot, ItemStack itemStack)
method_24834(class_1304 arg0, class_1799 arg1)
equipLootStack(EquipmentSlot slot, ItemStack stack)
protected boolean
canShearEquipment(Player player)
method_71768(class_1657 arg0)
canRemoveSaddle(PlayerEntity player)
protected boolean
attemptToShearEquipment(Player player, InteractionHand hand, ItemStack heldItem)
method_1_3953(class_1657 arg0, class_1268 arg1, class_1799 arg2)
tryRemoveEquipmentByShearing(PlayerEntity player, Hand hand, ItemStack shears)
protected void
shearItem(Player player, InteractionHand hand, ItemStack heldItem, EquipmentSlot slot, ItemStack itemStackToShear)
method_1_3955(class_1657 arg0, class_1268 arg1, class_1799 arg2, class_1304 arg3, class_1799 arg4)
removeEquipmentByShearing(PlayerEntity player, Hand hand, ItemStack shears, EquipmentSlot slot, ItemStack equipment)
public void
setGuaranteedDrop(EquipmentSlot slot)
method_25939(class_1304 arg0)
setDropGuaranteed(EquipmentSlot slot)
protected boolean
canReplaceCurrentItem(ItemStack newItemStack, ItemStack currentItemStack, EquipmentSlot slot)
method_5955(class_1799 arg0, class_1799 arg1, class_1304 arg2)
prefersNewEquipment(ItemStack newStack, ItemStack currentStack, EquipmentSlot slot)
private boolean
compareArmor(ItemStack newItemStack, ItemStack currentItemStack, EquipmentSlot slot)
method_65346(class_1799 arg0, class_1799 arg1, class_1304 arg2)
prefersNewArmor(ItemStack newStack, ItemStack currentStack, EquipmentSlot slot)
private boolean
compareWeapons(ItemStack newItemStack, ItemStack currentItemStack, EquipmentSlot slot)
method_65347(class_1799 arg0, class_1799 arg1, class_1304 arg2)
prefersNewWeapon(ItemStack newStack, ItemStack currentStack, EquipmentSlot slot)
private double
getApproximateAttributeWith(ItemStack itemStack, Holder<Attribute> attribute, EquipmentSlot slot)
method_63632(class_1799 arg0, class_6880<class_1320> arg1, class_1304 arg2)
getAttributeValueWithStack(ItemStack stack, RegistryEntry<EntityAttribute> attribute, EquipmentSlot slot)
public boolean
canReplaceEqualItem(ItemStack newItemStack, ItemStack currentItemStack)
method_26320(class_1799 arg0, class_1799 arg1)
prefersNewDamageableItem(ItemStack newStack, ItemStack oldStack)
public boolean
canHoldItem(ItemStack itemStack)
method_5939(class_1799 arg0)
canPickupItem(ItemStack stack)
public boolean
wantsToPickUp(ServerLevel level, ItemStack itemStack)
method_20820(class_3218 arg0, class_1799 arg1)
canGather(ServerWorld world, ItemStack stack)
public TagKey<Item>
getPreferredWeaponType()
method_65345()
getPreferredWeapons()
public boolean
removeWhenFarAway(double distSqr)
method_5974(double arg0)
canImmediatelyDespawn(double distanceSquared)
public boolean
requiresCustomPersistence()
method_17326()
cannotDespawn()
public void
checkDespawn()
method_5982()
checkDespawn()
protected final void
serverAiStep()
method_6023()
tickNewAi()
protected void
customServerAiStep(ServerLevel level)
method_5958(class_3218 arg0)
mobTick(ServerWorld world)
public int
getMaxHeadXRot()
method_5978()
getMaxLookPitchChange()
public int
getMaxHeadYRot()
method_5986()
getMaxHeadRotation()
public void
clampHeadRotationToBody()
method_56080()
clampHeadYaw()
public int
getHeadRotSpeed()
method_20240()
getMaxLookYawChange()
public void
lookAt(Entity entity, float yMax, float xMax)
method_5951(class_1297 arg0, float arg1, float arg2)
lookAtEntity(Entity targetEntity, float maxYawChange, float maxPitchChange)
private float
rotlerp(float a, float b, float max)
method_5960(float arg0, float arg1, float arg2)
changeAngle(float from, float to, float max)
public static boolean
checkMobSpawnRules(EntityType<? extends Mob> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random)
method_20636(class_1299<? extends class_1308> arg0, class_1936 arg1, class_3730 arg2, class_2338 arg3, class_5819 arg4)
canMobSpawn(EntityType<? extends MobEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
public boolean
checkSpawnRules(LevelAccessor level, EntitySpawnReason spawnReason)
method_5979(class_1936 arg0, class_3730 arg1)
canSpawn(WorldAccess world, SpawnReason spawnReason)
public boolean
checkSpawnObstruction(LevelReader level)
method_5957(class_4538 arg0)
canSpawn(WorldView world)
public int
getMaxSpawnClusterSize()
method_5945()
getLimitPerChunk()
public boolean
isMaxGroupSizeReached(int groupSize)
method_5969(int arg0)
spawnsTooManyForEachTry(int count)
public int
getMaxFallDistance()
method_5850()
getSafeFallDistance()
public ItemStack
getBodyArmorItem()
method_56676()
getBodyArmor()
public boolean
isSaddled()
method_66672()
hasSaddleEquipped()
public boolean
isWearingBodyArmor()
method_56677()
isWearingBodyArmor()
private boolean
hasValidEquippableItemForSlot(EquipmentSlot slot)
method_71148(class_1304 arg0)
isWearing(EquipmentSlot slot)
public Inventory
createEquipmentSlotContainer(EquipmentSlot slot)
method_66674(class_1304 arg0)
createEquipmentInventory(EquipmentSlot slot)
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 EquipmentDropChances
getDropChances()
method_66286()
getEquipmentDropChances()
public void
dropPreservedEquipment(ServerLevel level)
method_60973(class_3218 arg0)
dropAllForeignEquipment(ServerWorld world)
public Set<EquipmentSlot>
dropPreservedEquipment(ServerLevel level, Predicate<ItemStack> shouldDrop)
method_60972(class_3218 arg0, Predicate<class_1799> arg1)
dropForeignEquipment(ServerWorld world, Predicate<ItemStack> dropPredicate)
private LootWorldContext
createEquipmentParams(ServerLevel serverLevel)
method_58635(class_3218 arg0)
createEquipmentLootParameters(ServerWorld world)
public void
equip(EquipmentTable equipment)
method_58634(class_9652 arg0)
setEquipmentFromTable(EquipmentTable equipmentTable)
public void
equip(ResourceKey<LootTable> lootTable, Map<EquipmentSlot, Float> dropChances)
method_59665(class_5321<class_52> arg0, Map<class_1304, Float> arg1)
setEquipmentFromTable(RegistryKey<LootTable> lootTable, Map<EquipmentSlot, Float> slotDropChances)
protected void
populateDefaultEquipmentSlots(RandomSource random, DifficultyInstance difficulty)
method_5964(class_5819 arg0, class_1266 arg1)
initEquipment(Random random, LocalDifficulty localDifficulty)
public static Item
getEquipmentForSlot(EquipmentSlot slot, int type)
method_5948(class_1304 arg0, int arg1)
getEquipmentForSlot(EquipmentSlot equipmentSlot, int equipmentLevel)
protected void
populateDefaultEquipmentEnchantments(ServerLevelAccessor level, RandomSource random, DifficultyInstance localDifficulty)
method_5984(class_5425 arg0, class_5819 arg1, class_1266 arg2)
updateEnchantments(ServerWorldAccess world, Random random, LocalDifficulty localDifficulty)
protected void
enchantSpawnedWeapon(ServerLevelAccessor level, RandomSource random, DifficultyInstance difficulty)
method_30759(class_5425 arg0, class_5819 arg1, class_1266 arg2)
enchantMainHandItem(ServerWorldAccess world, Random random, LocalDifficulty localDifficulty)
protected void
enchantSpawnedArmor(ServerLevelAccessor level, RandomSource random, EquipmentSlot slot, DifficultyInstance difficulty)
method_30758(class_5425 arg0, class_5819 arg1, class_1304 arg2, class_1266 arg3)
enchantEquipment(ServerWorldAccess world, Random random, EquipmentSlot slot, LocalDifficulty localDifficulty)
private void
enchantSpawnedEquipment(ServerLevelAccessor level, EquipmentSlot slot, RandomSource random, float chance, DifficultyInstance difficulty)
method_59927(class_5425 arg0, class_1304 arg1, class_5819 arg2, float arg3, class_1266 arg4)
enchantEquipment(ServerWorldAccess world, EquipmentSlot slot, Random random, float power, LocalDifficulty localDifficulty)
public EntityData
finalizeSpawn(ServerLevelAccessor level, DifficultyInstance difficulty, EntitySpawnReason spawnReason, SpawnGroupData groupData)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3)
initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, EntityData entityData)
public void
setPersistenceRequired()
method_5971()
setPersistent()
public void
setDropChance(EquipmentSlot slot, float percent)
method_5946(class_1304 arg0, float arg1)
setEquipmentDropChance(EquipmentSlot arg0, float arg1)
public boolean
canPickUpLoot()
method_5936()
canPickUpLoot()
public void
setCanPickUpLoot(boolean canPickUpLoot)
method_5952(boolean arg0)
setCanPickUpLoot(boolean canPickUpLoot)
protected boolean
canDispenserEquipIntoSlot(EquipmentSlot slot)
method_63626(class_1304 arg0)
canDispenserEquipSlot(EquipmentSlot arg0)
public boolean
isPersistenceRequired()
method_5947()
isPersistent()
public ActionResult
interact(Player player, InteractionHand hand, Vec3 location)
method_5688(class_1657 arg0, class_1268 arg1, class_243 arg2)
interact(PlayerEntity arg0, Hand arg1, Vec3d arg2)
private ActionResult
checkAndHandleImportantInteractions(Player player, InteractionHand hand)
method_29506(class_1657 arg0, class_1268 arg1)
interactWithItem(PlayerEntity player, Hand hand)
protected void
onOffspringSpawnedFromEgg(Player spawner, Mob offspring)
method_18249(class_1657 arg0, class_1308 arg1)
onPlayerSpawnedChild(PlayerEntity player, MobEntity child)
protected ActionResult
mobInteract(Player player, InteractionHand hand)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity player, Hand hand)
protected void
usePlayerItem(Player player, InteractionHand hand, ItemStack itemStack)
method_6475(class_1657 arg0, class_1268 arg1, class_1799 arg2)
eat(PlayerEntity player, Hand hand, ItemStack stack)
public boolean
isWithinHome()
method_18411()
isInPositionTargetRange()
public boolean
isWithinHome(BlockPos pos)
method_18407(class_2338 arg0)
isInPositionTargetRange(BlockPos pos)
public boolean
isWithinHome(Vec3 pos)
method_70676(class_243 arg0)
isInPositionTargetRange(Vec3d pos)
public void
setHomeTo(BlockPos newCenter, int radius)
method_18408(class_2338 arg0, int arg1)
setPositionTarget(BlockPos target, int range)
public BlockPos
getHomePosition()
method_18412()
getPositionTarget()
public int
getHomeRadius()
method_18413()
getPositionTargetRange()
public void
clearHome()
method_35055()
clearPositionTarget()
public boolean
hasHome()
method_18410()
hasPositionTarget()
public <T extends MobEntity> T
convertTo(EntityType<T> entityType, ConversionParams params, EntitySpawnReason spawnReason, ConversionParams$AfterConversion<T> afterConversion)
method_63631(class_1299<T> arg0, class_10179 arg1, class_3730 arg2, class_10179$class_10180<T> arg3)
convertTo(EntityType<T> entityType, EntityConversionContext context, SpawnReason reason, EntityConversionContext$Finalizer<T> finalizer)
public <T extends MobEntity> T
convertTo(EntityType<T> entityType, ConversionParams params, ConversionParams$AfterConversion<T> afterConversion)
method_29243(class_1299<T> arg0, class_10179 arg1, class_10179$class_10180<T> arg2)
convertTo(EntityType<T> entityType, EntityConversionContext context, EntityConversionContext$Finalizer<T> finalizer)
public Leashable$LeashData
getLeashData()
method_60955()
getLeashData()
private void
resetAngularLeashMomentum()
method_71614()
resetLeashMomentum()
public void
setLeashData(Leashable$LeashData leashData)
method_60960(class_9817$class_9818 arg0)
setLeashData(Leashable$LeashData arg0)
public void
onLeashRemoved()
method_65895()
onLeashRemoved()
public void
leashTooFarBehaviour()
method_60970()
snapLongLeash()
public boolean
canBeLeashed()
method_5931()
canBeLeashed()
public boolean
startRiding(Entity entity, boolean force, boolean sendEventAndTriggers)
method_5873(class_1297 arg0, boolean arg1, boolean arg2)
startRiding(Entity arg0, boolean arg1, boolean arg2)
public boolean
isEffectiveAi()
method_6034()
canActVoluntarily()
public void
setNoAi(boolean flag)
method_5977(boolean arg0)
setAiDisabled(boolean aiDisabled)
public void
setLeftHanded(boolean flag)
method_5937(boolean arg0)
setLeftHanded(boolean leftHanded)
public void
setAggressive(boolean flag)
method_19540(boolean arg0)
setAttacking(boolean attacking)
public boolean
isNoAi()
method_5987()
isAiDisabled()
public boolean
isLeftHanded()
method_5961()
isLeftHanded()
public boolean
isAggressive()
method_6510()
isAttacking()
public void
setBaby(boolean baby)
method_7217(boolean arg0)
setBaby(boolean baby)
public Arm
getMainArm()
method_6068()
getMainArm()
public boolean
isWithinMeleeAttackRange(LivingEntity target)
method_42150(class_1309 arg0)
isInAttackRange(LivingEntity entity)
protected Box
getAttackBoundingBox(double horizontalExpansion)
method_53511(double arg0)
getAttackBox(double attackRange)
public boolean
doHurtTarget(ServerLevel level, Entity target)
method_6121(class_3218 arg0, class_1297 arg1)
tryAttack(ServerWorld arg0, Entity arg1)
protected void
jumpInLiquid(TagKey<Fluid> type)
method_6010(class_6862<class_3611> arg0)
swimUpward(TagKey<Fluid> arg0)
public void
removeFreeWill()
method_35056()
clearGoalsAndTasks()
public GoalSelector
getGoalSelector()
method_1_3954()
getGoalSelector()
public void
removeAllGoals(Predicate<Goal> predicate)
method_47825(Predicate<class_1352> arg0)
clearGoals(Predicate<Goal> predicate)
protected void
removeAfterChangingDimensions()
method_30076()
removeFromDimension()
public ItemStack
getPickResult()
method_31480()
getPickBlockStack()
protected void
onAttributeUpdated(Holder<Attribute> attribute)
method_52540(class_6880<class_1320> arg0)
updateAttribute(RegistryEntry<EntityAttribute> arg0)
public void
registerDebugValues(ServerLevel level, DebugValueSource$Registration registration)
method_74589(class_3218 arg0, class_12023$class_12024 arg1)
registerTracking(ServerWorld arg0, DebugTrackable$Tracker arg1)
public float
chargeSpeedModifier()
method_76091()
getRiderChargingSpeedMultiplier()
private BrainDebugData
lambda$registerDebugValues$3(ServerLevel arg0)
method_74661(class_3218 arg0)
method_74661(ServerWorld arg0)
private GoalSelectorDebugData
lambda$registerDebugValues$1()
method_74659()
method_74659()
private static void
lambda$registerDebugValues$2(List arg0, WrappedGoal arg1)
method_74658(List arg0, class_4135 arg1)
method_74658(List arg0, PrioritizedGoal goal)
private EntityPathDebugData
lambda$registerDebugValues$0()
method_74660()
method_74660()
private static boolean
lambda$removeFreeWill$0(Goal arg0)
method_47824(class_1352 arg0)
method_47824(Goal goal)
private void
lambda$checkAndHandleImportantInteractions$0(Player arg0, Mob arg1)
method_24522(class_1657 arg0, class_1308 arg1)
method_24522(PlayerEntity arg0, MobEntity entity)
private static boolean
lambda$dropPreservedEquipment$0(ItemStack arg0)
method_60974(class_1799 arg0)
method_60974(ItemStack stack)
private static void
lambda$addAdditionalSaveData$0(ValueOutput arg0, ResourceKey arg1)
method_67651(class_11372 arg0, class_5321 arg1)
method_67651(WriteView arg0, RegistryKey lootTableKey)