net.minecraft.world.entity

public abstract class Mob

extends LivingEntity implements EquipmentUser, Leashable, Targeting

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, CommandSource, ScoreHolder, Attackable, EquipmentUser, Leashable, Targeting

btp
net.minecraft.world.entity.Mob
net.minecraft.class_1308
net.minecraft.entity.mob.MobEntity
net.minecraft.src.C_526_
net.minecraft.world.entity.EntityInsentient

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Byte>
b
DATA_MOB_FLAGS_ID
field_6193
MOB_FLAGS
f_21340_
private static final int
c
MOB_FLAG_NO_AI
field_30088
AI_DISABLED_FLAG
f_147266_
private static final int
d
MOB_FLAG_LEFTHANDED
field_30089
LEFT_HANDED_FLAG
f_147267_
private static final int
e
MOB_FLAG_AGGRESSIVE
field_30090
ATTACKING_FLAG
f_147268_
protected static final int
h
PICKUP_REACH
field_30087
MINIMUM_DROPPED_XP_PER_EQUIPMENT
f_147265_
private static final Vec3i
cb
ITEM_PICKUP_REACH
field_38386
ITEM_PICK_UP_RANGE_EXPANDER
f_217048_
public static final float
bH
MAX_WEARING_ARMOR_CHANCE
field_30091
BASE_SPAWN_EQUIPMENT_CHANCE
f_147269_
public static final float
bI
MAX_PICKUP_LOOT_CHANCE
field_30083
DEFAULT_CAN_PICKUP_LOOT_CHANCE
f_147261_
public static final float
bJ
MAX_ENCHANTED_ARMOR_CHANCE
field_30084
BASE_ENCHANTED_ARMOR_CHANCE
f_147262_
public static final float
bK
MAX_ENCHANTED_WEAPON_CHANCE
field_30085
BASE_ENCHANTED_MAIN_HAND_EQUIPMENT_CHANCE
f_147263_
public static final float
bL
DEFAULT_EQUIPMENT_DROP_CHANCE
field_34043
DEFAULT_DROP_CHANCE
f_182333_
public static final float
bM
PRESERVE_ITEM_DROP_CHANCE_THRESHOLD
field_52220
field_52220
f_337144_
public static final int
bN
PRESERVE_ITEM_DROP_CHANCE
field_38932
field_38932
f_217047_
public static final int
bO
UPDATE_GOAL_SELECTOR_EVERY_N_TICKS
field_35039
field_35039
f_186008_
private static final double
cc
DEFAULT_ATTACK_REACH
field_45969
ATTACK_RANGE
f_290867_
protected static final ResourceLocation
bP
RANDOM_SPAWN_BONUS_ID
field_51997
RANDOM_SPAWN_BONUS_MODIFIER_ID
f_337189_
public int
bQ
ambientSoundTime
field_6191
ambientSoundChance
f_21363_
protected int
bR
xpReward
field_6194
experiencePoints
f_21364_
protected LookControl
bS
lookControl
field_6206
lookControl
f_21365_
protected MoveControl
bT
moveControl
field_6207
moveControl
f_21342_
protected JumpControl
bU
jumpControl
field_6204
jumpControl
f_21343_
private final BodyRotationControl
cd
bodyRotationControl
field_6188
bodyControl
f_21361_
protected PathNavigation
bV
navigation
field_6189
navigation
f_21344_
protected final GoalSelector
bW
goalSelector
field_6201
goalSelector
f_21345_
protected final GoalSelector
bX
targetSelector
field_6185
targetSelector
f_21346_
private LivingEntity
ce
target
field_6199
target
f_21362_
private final Sensing
cf
sensing
field_6190
visibilityCache
f_21349_
private final NonNullList<ItemStack>
cg
handItems
field_6195
handItems
f_21350_
protected final float[]
bY
handDropChances
field_6187
handDropChances
f_21347_
private final NonNullList<ItemStack>
ch
armorItems
field_6205
armorItems
f_21351_
protected final float[]
bZ
armorDropChances
field_6186
armorDropChances
f_21348_
private ItemStack
ci
bodyArmorItem
field_48829
bodyArmor
f_314973_
protected float
ca
bodyArmorDropChance
field_48828
bodyArmorDropChance
f_315062_
private boolean
cj
canPickUpLoot
field_6203
canPickUpLoot
f_21352_
private boolean
ck
persistenceRequired
field_6200
persistent
f_21353_
private final Map<PathType, Float>
cl
pathfindingMalus
field_6196
pathfindingPenalties
f_21354_
private ResourceKey<LootTable>
cm
lootTable
field_6198
lootTable
f_21355_
private long
cn
lootTableSeed
field_6184
lootTableSeed
f_21356_
private Leashable$LeashData
co
leashData
field_52221
leashData
f_337544_
private BlockPos
cp
restrictCenter
field_18074
positionTarget
f_21360_
private float
cq
restrictRadius
field_18075
positionTargetRange
f_21341_

Constructor summary

ModifierConstructor
protected (EntityType<? extends Mob> p_21369_, Level arg1)

Method summary

Modifier and TypeMethod
protected void
B()
registerGoals()
method_5959()
initGoals()
m_8099_()
public static AttributeSupplier$Builder
C()
createMobAttributes()
method_26828()
createMobAttributes()
m_21552_()
protected PathNavigation
b(dcw arg0)
createNavigation(Level arg0)
method_5965(class_1937 arg0)
createNavigation(World world)
m_6037_(C_1596_ arg0)
protected boolean
D()
shouldPassengersInheritMalus()
method_26323()
movesIndependently()
m_8091_()
public float
a(epv arg0)
getPathfindingMalus(PathType arg0)
method_5944(class_7 arg0)
getPathfindingPenalty(PathNodeType nodeType)
m_21439_(C_313716_ arg0)
public void
a(epv arg0, float arg1)
setPathfindingMalus(PathType arg0, float arg1)
method_5941(class_7 arg0, float arg1)
setPathfindingPenalty(PathNodeType nodeType, float penalty)
m_21441_(C_313716_ p_21443_, float arg1)
public void
E()
onPathfindingStart()
method_51504()
onStartPathfinding()
m_284177_()
public void
F()
onPathfindingDone()
method_51503()
onFinishPathfinding()
m_284461_()
protected BodyRotationControl
H()
createBodyControl()
method_5963()
createBodyControl()
m_7560_()
public LookControl
I()
getLookControl()
method_5988()
getLookControl()
m_21563_()
public MoveControl
J()
getMoveControl()
method_5962()
getMoveControl()
m_21566_()
public JumpControl
L()
getJumpControl()
method_5993()
getJumpControl()
m_21569_()
public PathNavigation
N()
getNavigation()
method_5942()
getNavigation()
m_21573_()
public LivingEntity
cQ()
getControllingPassenger()
method_5642()
getControllingPassenger()
m_6688_()
public Sensing
O()
getSensing()
method_5985()
getVisibilityCache()
m_21574_()
public LivingEntity
p()
getTarget()
method_5968()
getTarget()
m_5448_()
protected final LivingEntity
P()
getTargetFromBrain()
method_59664()
getTargetInBrain()
m_319699_()
public void
h(btn arg0)
setTarget(LivingEntity arg0)
method_5980(class_1309 arg0)
setTarget(LivingEntity target)
m_6710_(C_524_ arg0)
public boolean
a(bsx<?> arg0)
canAttackType(EntityType<?> arg0)
method_5973(class_1299<?> arg0)
canTarget(EntityType<?> arg0)
m_6549_(C_513_<?> arg0)
public boolean
a(cvn arg0)
canFireProjectileWeapon(ProjectileWeaponItem arg0)
method_25938(class_1811 arg0)
canUseRangedWeapon(RangedWeaponItem weapon)
m_5886_(C_1406_ arg0)
public void
Q()
ate()
method_5983()
onEatingGrass()
m_8035_()
protected void
a(aka$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
public int
R()
getAmbientSoundInterval()
method_5970()
getMinAmbientSoundDelay()
m_8100_()
public void
S()
playAmbientSound()
method_5966()
playAmbientSound()
m_8032_()
public void
aw()
baseTick()
method_5670()
baseTick()
m_6075_()
protected void
e(brk arg0)
playHurtSound(DamageSource arg0)
method_6013(class_1282 arg0)
playHurtSound(DamageSource arg0)
m_6677_(C_489_ arg0)
private void
s()
resetAmbientSoundTime()
method_5975()
resetSoundDelay()
m_21551_()
protected int
eg()
getBaseExperienceReward()
method_6110()
getXpToDrop()
m_213860_()
public void
T()
spawnAnim()
method_5990()
playSpawnEffects()
m_21373_()
public void
b(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
m_7822_(byte arg0)
public void
l()
tick()
method_5773()
tick()
m_8119_()
protected void
U()
updateControlFlags()
method_20417()
updateGoalControls()
m_8022_()
protected float
f(float arg0, float arg1)
tickHeadTurn(float arg0, float arg1)
method_6031(float arg0, float arg1)
turnHead(float arg0, float arg1)
m_5632_(float p_21539_, float arg1)
protected SoundEvent
v()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
public void
b(ub arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(ub arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
protected void
a(brk arg0, boolean arg1)
dropFromLootTable(DamageSource arg0, boolean arg1)
method_16077(class_1282 arg0, boolean arg1)
dropLoot(DamageSource arg0, boolean arg1)
m_7625_(C_489_ p_21390_, boolean arg1)
public final ResourceKey<LootTable>
eA()
getLootTable()
method_5989()
getLootTable()
m_5743_()
protected ResourceKey<LootTable>
V()
getDefaultLootTable()
method_5991()
getLootTableId()
m_7582_()
public long
eB()
getLootTableSeed()
method_51851()
getLootTableSeed()
m_287233_()
public void
E(float arg0)
setZza(float arg0)
method_5930(float arg0)
setForwardSpeed(float forwardSpeed)
m_21564_(float arg0)
public void
F(float arg0)
setYya(float arg0)
method_5976(float arg0)
setUpwardSpeed(float upwardSpeed)
m_21567_(float arg0)
public void
G(float arg0)
setXxa(float arg0)
method_5938(float arg0)
setSidewaysSpeed(float sidewaysSpeed)
m_21570_(float arg0)
public void
A(float arg0)
setSpeed(float arg0)
method_6125(float arg0)
setMovementSpeed(float arg0)
m_7910_(float arg0)
public void
W()
stopInPlace()
method_55695()
stopMovement()
m_324154_()
public void
m_()
aiStep()
method_6007()
tickMovement()
m_8107_()
protected Vec3i
X()
getPickupReach()
method_42646()
getItemPickUpRangeExpander()
m_213552_()
protected void
b(cjh arg0)
pickUpItem(ItemEntity arg0)
method_5949(class_1542 arg0)
loot(ItemEntity item)
m_7581_(C_976_ arg0)
public ItemStack
i(cuq arg0)
equipItemIfPossible(ItemStack arg0)
method_24523(class_1799 arg0)
tryEquip(ItemStack stack)
m_255207_(C_1391_ arg0)
protected void
b(bsy arg0, cuq arg1)
setItemSlotAndDropWhenKilled(EquipmentSlot arg0, ItemStack arg1)
method_24834(class_1304 arg0, class_1799 arg1)
equipLootStack(EquipmentSlot slot, ItemStack stack)
m_21468_(C_516_ p_21470_, C_1391_ arg1)
public void
e(bsy arg0)
setGuaranteedDrop(EquipmentSlot arg0)
method_25939(class_1304 arg0)
updateDropChances(EquipmentSlot slot)
m_21508_(C_516_ arg0)
protected boolean
b(cuq arg0, cuq arg1)
canReplaceCurrentItem(ItemStack arg0, ItemStack arg1)
method_5955(class_1799 arg0, class_1799 arg1)
prefersNewEquipment(ItemStack newStack, ItemStack oldStack)
m_7808_(C_1391_ p_21429_, C_1391_ arg1)
private double
o(cuq arg0)
getApproximateAttackDamageWithItem(ItemStack arg0)
method_57295(class_1799 arg0)
getAttackDamageWith(ItemStack stack)
m_319522_(C_1391_ arg0)
public boolean
c(cuq arg0, cuq arg1)
canReplaceEqualItem(ItemStack arg0, ItemStack arg1)
method_26320(class_1799 arg0, class_1799 arg1)
prefersNewDamageableItem(ItemStack newStack, ItemStack oldStack)
m_21477_(C_1391_ p_21479_, C_1391_ arg1)
private static boolean
p(cuq arg0)
hasAnyComponentExceptDamage(ItemStack arg0)
method_57296(class_1799 arg0)
hasComponentsOtherThanDamage(ItemStack stack)
m_321483_(C_1391_ p_335247_)
public boolean
j(cuq arg0)
canHoldItem(ItemStack arg0)
method_5939(class_1799 arg0)
canPickupItem(ItemStack stack)
m_7252_(C_1391_ arg0)
public boolean
k(cuq arg0)
wantsToPickUp(ItemStack arg0)
method_20820(class_1799 arg0)
canGather(ItemStack stack)
m_7243_(C_1391_ arg0)
public boolean
h(double arg0)
removeWhenFarAway(double arg0)
method_5974(double arg0)
canImmediatelyDespawn(double distanceSquared)
m_6785_(double arg0)
public boolean
Y()
requiresCustomPersistence()
method_17326()
cannotDespawn()
m_8023_()
protected boolean
Z()
shouldDespawnInPeaceful()
method_23734()
isDisallowedInPeaceful()
m_8028_()
public void
dA()
checkDespawn()
method_5982()
checkDespawn()
m_6043_()
protected final void
fm()
serverAiStep()
method_6023()
tickNewAi()
m_6140_()
protected void
aa()
sendDebugPackets()
method_18409()
sendAiDebugData()
m_8025_()
protected void
ab()
customServerAiStep()
method_5958()
mobTick()
m_8024_()
public int
ac()
getMaxHeadXRot()
method_5978()
getMaxLookPitchChange()
m_8132_()
public int
ae()
getMaxHeadYRot()
method_5986()
getMaxHeadRotation()
m_8085_()
protected void
af()
clampHeadRotationToBody()
method_56080()
clampHeadYaw()
m_322776_()
public int
fM()
getHeadRotSpeed()
method_20240()
getMaxLookYawChange()
m_21529_()
public void
a(bsr arg0, float arg1, float arg2)
lookAt(Entity arg0, float arg1, float arg2)
method_5951(class_1297 arg0, float arg1, float arg2)
lookAtEntity(Entity targetEntity, float maxYawChange, float maxPitchChange)
m_21391_(C_507_ p_21393_, float p_21394_, float arg2)
private float
a(float arg0, float arg1, float arg2)
rotlerp(float arg0, float arg1, float arg2)
method_5960(float arg0, float arg1, float arg2)
changeAngle(float from, float to, float max)
m_21376_(float p_21378_, float p_21379_, float arg2)
public static boolean
a(bsx<? extends btp> arg0, dcx arg1, btr arg2, jd arg3, ayw arg4)
checkMobSpawnRules(EntityType<? extends Mob> arg0, LevelAccessor arg1, MobSpawnType arg2, BlockPos arg3, RandomSource arg4)
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)
m_217057_(C_513_<? extends C_526_> p_217058_, C_1598_ p_217059_, C_529_ p_217060_, C_4675_ p_217061_, C_212974_ p_217062_)
public boolean
a(dcx arg0, btr arg1)
checkSpawnRules(LevelAccessor arg0, MobSpawnType arg1)
method_5979(class_1936 arg0, class_3730 arg1)
canSpawn(WorldAccess world, SpawnReason spawnReason)
m_5545_(C_1598_ p_21432_, C_529_ arg1)
public boolean
a(dcz arg0)
checkSpawnObstruction(LevelReader arg0)
method_5957(class_4538 arg0)
canSpawn(WorldView world)
m_6914_(C_1599_ arg0)
public int
fN()
getMaxSpawnClusterSize()
method_5945()
getLimitPerChunk()
m_5792_()
public boolean
r(int arg0)
isMaxGroupSizeReached(int arg0)
method_5969(int arg0)
spawnsTooManyForEachTry(int count)
m_7296_(int arg0)
public int
cx()
getMaxFallDistance()
method_5850()
getSafeFallDistance()
m_6056_()
public Iterable<ItemStack>
eW()
getHandSlots()
method_5877()
getHandItems()
m_21487_()
public Iterable<ItemStack>
eV()
getArmorSlots()
method_5661()
getArmorItems()
m_21151_()
public ItemStack
fO()
getBodyArmorItem()
method_56676()
getBodyArmor()
m_319275_()
public boolean
d(bsy arg0)
canUseSlot(EquipmentSlot arg0)
method_56991(class_1304 arg0)
canUseSlot(EquipmentSlot arg0)
m_30729_(C_516_ arg0)
public boolean
fP()
isWearingBodyArmor()
method_56677()
isWearingBodyArmor()
m_324340_()
public boolean
l(cuq arg0)
isBodyArmorItem(ItemStack arg0)
method_6773(class_1799 arg0)
isHorseArmor(ItemStack stack)
m_30833_(C_1391_ arg0)
public void
m(cuq arg0)
setBodyArmorItem(ItemStack arg0)
method_56678(class_1799 arg0)
equipBodyArmor(ItemStack stack)
m_323866_(C_1391_ arg0)
public Iterable<ItemStack>
eX()
getArmorAndBodyArmorSlots()
method_56674()
getAllArmorItems()
m_322068_()
public ItemStack
a(bsy arg0)
getItemBySlot(EquipmentSlot arg0)
method_6118(class_1304 arg0)
getEquippedStack(EquipmentSlot arg0)
m_6844_(C_516_ arg0)
public void
a(bsy arg0, cuq arg1)
setItemSlot(EquipmentSlot arg0, ItemStack arg1)
method_5673(class_1304 arg0, class_1799 arg1)
equipStack(EquipmentSlot arg0, ItemStack arg1)
m_21035_(C_516_ p_21417_, C_1391_ arg1)
protected void
a(aqu arg0, brk arg1, boolean arg2)
dropCustomDeathLoot(ServerLevel arg0, DamageSource arg1, boolean arg2)
method_6099(class_3218 arg0, class_1282 arg1, boolean arg2)
dropEquipment(ServerWorld arg0, DamageSource arg1, boolean arg2)
m_7472_(C_12_ p_21385_, C_489_ p_21387_, boolean arg2)
protected float
f(bsy arg0)
getEquipmentDropChance(EquipmentSlot arg0)
method_5929(class_1304 arg0)
getDropChance(EquipmentSlot slot)
m_21519_(C_516_ arg0)
public void
fQ()
dropPreservedEquipment()
method_60973()
dropAllEquipment()
m_339194_()
public Set<EquipmentSlot>
c(Predicate<cuq> arg0)
dropPreservedEquipment(Predicate<ItemStack> arg0)
method_60972(Predicate<class_1799> arg0)
dropEquipment(Predicate<ItemStack> dropPredicate)
m_339901_(Predicate<C_1391_> arg0)
private LootParams
a(aqu arg0)
createEquipmentParams(ServerLevel arg0)
method_58635(class_3218 arg0)
createEquipmentLootParameters(ServerWorld world)
m_320276_(C_12_ arg0)
public void
a(bta arg0)
equip(EquipmentTable arg0)
method_58634(class_9652 arg0)
setEquipmentFromTable(EquipmentTable equipmentTable)
m_319416_(C_313465_ arg0)
public void
a(akq<erw> arg0, Map<bsy, Float> arg1)
equip(ResourceKey<LootTable> arg0, Map<EquipmentSlot, Float> arg1)
method_59665(class_5321<class_52> arg0, Map<class_1304, Float> arg1)
setEquipmentFromTable(RegistryKey<LootTable> lootTable, Map<EquipmentSlot, Float> slotDropChances)
m_322414_(C_5264_<C_2822_> p_335710_, Map<C_516_, Float> arg1)
protected void
a(ayw arg0, bqp arg1)
populateDefaultEquipmentSlots(RandomSource arg0, DifficultyInstance arg1)
method_5964(class_5819 arg0, class_1266 arg1)
initEquipment(Random random, LocalDifficulty localDifficulty)
m_213945_(C_212974_ p_217056_, C_469_ arg1)
public static Item
a(bsy arg0, int arg1)
getEquipmentForSlot(EquipmentSlot arg0, int arg1)
method_5948(class_1304 arg0, int arg1)
getEquipmentForSlot(EquipmentSlot equipmentSlot, int equipmentLevel)
m_21412_(C_516_ p_21413_, int p_21414_)
protected void
a(ddl arg0, ayw arg1, bqp arg2)
populateDefaultEquipmentEnchantments(ServerLevelAccessor arg0, RandomSource arg1, DifficultyInstance arg2)
method_5984(class_5425 arg0, class_5819 arg1, class_1266 arg2)
updateEnchantments(ServerWorldAccess world, Random random, LocalDifficulty localDifficulty)
m_213946_(C_1618_ p_217063_, C_212974_ p_217064_, C_469_ arg2)
protected void
b(ddl arg0, ayw arg1, bqp arg2)
enchantSpawnedWeapon(ServerLevelAccessor arg0, RandomSource arg1, DifficultyInstance arg2)
method_30759(class_5425 arg0, class_5819 arg1, class_1266 arg2)
enchantMainHandItem(ServerWorldAccess world, Random random, LocalDifficulty localDifficulty)
m_214095_(C_1618_ p_217049_, C_212974_ p_344491_, C_469_ arg2)
protected void
a(ddl arg0, ayw arg1, bsy arg2, bqp arg3)
enchantSpawnedArmor(ServerLevelAccessor arg0, RandomSource arg1, EquipmentSlot arg2, DifficultyInstance arg3)
method_30758(class_5425 arg0, class_5819 arg1, class_1304 arg2, class_1266 arg3)
enchantEquipment(ServerWorldAccess world, Random random, EquipmentSlot slot, LocalDifficulty localDifficulty)
m_217051_(C_1618_ p_217052_, C_212974_ p_217054_, C_516_ p_342649_, C_469_ arg3)
private void
a(ddl arg0, bsy arg1, ayw arg2, float arg3, bqp arg4)
enchantSpawnedEquipment(ServerLevelAccessor arg0, EquipmentSlot arg1, RandomSource arg2, float arg3, DifficultyInstance arg4)
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)
m_340386_(C_1618_ p_344135_, C_516_ p_344290_, C_212974_ p_343248_, float p_345046_, C_469_ arg4)
public SpawnGroupData
a(ddl arg0, bqp arg1, btr arg2, buh arg3)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, MobSpawnType arg2, SpawnGroupData arg3)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3)
initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, EntityData entityData)
m_6518_(C_1618_ p_21435_, C_469_ p_21436_, C_529_ p_21437_, C_542_ arg3)
public void
fR()
setPersistenceRequired()
method_5971()
setPersistent()
m_21530_()
public void
a(bsy arg0, float arg1)
setDropChance(EquipmentSlot arg0, float arg1)
method_5946(class_1304 arg0, float arg1)
setEquipmentDropChance(EquipmentSlot arg0, float arg1)
m_21409_(C_516_ p_21411_, float arg1)
public boolean
fS()
canPickUpLoot()
method_5936()
canPickUpLoot()
m_21531_()
public void
a_(boolean arg0)
setCanPickUpLoot(boolean arg0)
method_5952(boolean arg0)
setCanPickUpLoot(boolean canPickUpLoot)
m_21553_(boolean arg0)
public boolean
f(cuq arg0)
canTakeItem(ItemStack arg0)
method_18397(class_1799 arg0)
canEquip(ItemStack arg0)
m_7066_(C_1391_ arg0)
public boolean
fT()
isPersistenceRequired()
method_5947()
isPersistent()
m_21532_()
public final InteractionResult
a(cmx arg0, bqq arg1)
interact(Player arg0, InteractionHand arg1)
method_5688(class_1657 arg0, class_1268 arg1)
interact(PlayerEntity arg0, Hand arg1)
m_6096_(C_1141_ p_21421_, C_470_ arg1)
private InteractionResult
c(cmx arg0, bqq arg1)
checkAndHandleImportantInteractions(Player arg0, InteractionHand arg1)
method_29506(class_1657 arg0, class_1268 arg1)
interactWithItem(PlayerEntity player, Hand hand)
m_21499_(C_1141_ p_21501_, C_470_ arg1)
protected void
a(cmx arg0, btp arg1)
onOffspringSpawnedFromEgg(Player arg0, Mob arg1)
method_18249(class_1657 arg0, class_1308 arg1)
onPlayerSpawnedChild(PlayerEntity player, MobEntity child)
m_5502_(C_1141_ p_21423_, C_526_ arg1)
protected InteractionResult
b(cmx arg0, bqq arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity player, Hand hand)
m_6071_(C_1141_ p_21473_, C_470_ arg1)
public boolean
fU()
isWithinRestriction()
method_18411()
isInWalkTargetRange()
m_21533_()
public boolean
a(jd arg0)
isWithinRestriction(BlockPos arg0)
method_18407(class_2338 arg0)
isInWalkTargetRange(BlockPos pos)
m_21444_(C_4675_ arg0)
public void
a(jd arg0, int arg1)
restrictTo(BlockPos arg0, int arg1)
method_18408(class_2338 arg0, int arg1)
setPositionTarget(BlockPos target, int range)
m_21446_(C_4675_ p_21448_, int arg1)
public BlockPos
fV()
getRestrictCenter()
method_18412()
getPositionTarget()
m_21534_()
public float
fW()
getRestrictRadius()
method_18413()
getPositionTargetRange()
m_21535_()
public void
fX()
clearRestriction()
method_35055()
clearPositionTarget()
m_147271_()
public boolean
fY()
hasRestriction()
method_18410()
hasPositionTarget()
m_21536_()
public <T extends Mob> T
a(bsx<T> arg0, boolean arg1)
convertTo(EntityType<T> arg0, boolean arg1)
method_29243(class_1299<T> arg0, boolean arg1)
convertTo(EntityType<T> entityType, boolean keepEquipment)
m_21406_(C_513_<T> p_21408_, boolean arg1)
public Leashable$LeashData
X_()
getLeashData()
method_60955()
getLeashData()
m_338492_()
public void
a(btk$a arg0)
setLeashData(Leashable$LeashData arg0)
method_60960(class_9817$class_9818 arg0)
setLeashData(Leashable$LeashData arg0)
m_338401_(C_336597_$C_336538_ arg0)
public void
a(boolean arg0, boolean arg1)
dropLeash(boolean arg0, boolean arg1)
method_5932(boolean arg0, boolean arg1)
detachLeash(boolean arg0, boolean arg1)
m_21455_(boolean p_21457_, boolean arg1)
public void
z()
leashTooFarBehaviour()
method_60970()
detachLeash()
m_339671_()
public boolean
y()
canBeLeashed()
method_5931()
canBeLeashed()
m_6573_()
public boolean
a(bsr arg0, boolean arg1)
startRiding(Entity arg0, boolean arg1)
method_5873(class_1297 arg0, boolean arg1)
startRiding(Entity arg0, boolean arg1)
m_7998_(C_507_ p_21397_, boolean arg1)
public boolean
db()
isEffectiveAi()
method_6034()
canMoveVoluntarily()
m_21515_()
public void
u(boolean arg0)
setNoAi(boolean arg0)
method_5977(boolean arg0)
setAiDisabled(boolean aiDisabled)
m_21557_(boolean arg0)
public void
v(boolean arg0)
setLeftHanded(boolean arg0)
method_5937(boolean arg0)
setLeftHanded(boolean leftHanded)
m_21559_(boolean arg0)
public void
w(boolean arg0)
setAggressive(boolean arg0)
method_19540(boolean arg0)
setAttacking(boolean attacking)
m_21561_(boolean arg0)
public boolean
fZ()
isNoAi()
method_5987()
isAiDisabled()
m_21525_()
public boolean
ga()
isLeftHanded()
method_5961()
isLeftHanded()
m_21526_()
public boolean
gb()
isAggressive()
method_6510()
isAttacking()
m_5912_()
public void
a(boolean arg0)
setBaby(boolean arg0)
method_7217(boolean arg0)
setBaby(boolean baby)
m_6863_(boolean arg0)
public HumanoidArm
fq()
getMainArm()
method_6068()
getMainArm()
m_5737_()
public boolean
i(btn arg0)
isWithinMeleeAttackRange(LivingEntity arg0)
method_42150(class_1309 arg0)
isInAttackRange(LivingEntity entity)
m_217066_(C_524_ arg0)
protected AABB
gc()
getAttackBoundingBox()
method_53511()
getAttackBox()
m_292684_()
public boolean
D(bsr arg0)
doHurtTarget(Entity arg0)
method_6121(class_1297 arg0)
tryAttack(Entity arg0)
m_7327_(C_507_ arg0)
protected void
gd()
playAttackSound()
method_59928()
playAttackSound()
m_339982_()
protected boolean
ge()
isSunBurnTick()
method_5972()
isAffectedByDaylight()
m_21527_()
protected void
c(awu<epd> arg0)
jumpInLiquid(TagKey<Fluid> arg0)
method_6010(class_6862<class_3611> arg0)
swimUpward(TagKey<Fluid> arg0)
m_203347_(C_203208_<C_2690_> arg0)
public void
gf()
removeFreeWill()
method_35056()
clearGoalsAndTasks()
m_147272_()
public void
d(Predicate<cam> arg0)
removeAllGoals(Predicate<Goal> arg0)
method_47825(Predicate<class_1352> arg0)
clearGoals(Predicate<Goal> predicate)
m_262441_(Predicate<C_688_> arg0)
protected void
cw()
removeAfterChangingDimensions()
method_30076()
removeFromDimension()
m_6089_()
public ItemStack
dB()
getPickResult()
method_31480()
getPickBlockStack()
m_142340_()