net.minecraft.entity.living.mob

public abstract class MobEntity

extends LivingEntity

All mapped superinterfaces:

Nameable, CommandSource

ais
net.minecraft.class_1308
net.minecraft.entity.living.mob.MobEntity
net.minecraft.entity.MobEntity
net.minecraft.entity.MobEntity

Field summary

Modifier and TypeField
private static final DataAttribute<Byte>
b
field_6193
MOB_FLAGS
field_184654_a
field_184654_a
public int
e
field_6191
ambientSoundDelay
field_70757_a
field_70757_a
protected int
f
field_6194
xpDrop
field_70728_aV
field_70728_aV
protected LookControl
g
field_6206
lookControl
field_70749_g
field_70749_g
protected MovementControl
bs
field_6207
movementControl
field_70765_h
field_70765_h
protected JumpControl
bt
field_6204
jumpControl
field_70767_i
field_70767_i
private final BodyControl
c
field_6188
bodyControl
field_70762_j
field_70762_j
protected PathNavigation
bu
field_6189
entityNavigation
field_70699_by
field_70699_by
protected final GoalSelector
bv
field_6201
goalSelector
field_70714_bg
field_70714_bg
protected final GoalSelector
bw
field_6185
targetSelector
field_70715_bh
field_70715_bh
private LivingEntity
d
field_6199
attackTarget
field_70696_bz
field_70696_bz
private final MobVisibilityCache
bz
field_6190
mobVisibilityCache
field_70723_bA
field_70723_bA
private final DefaultedList<ItemStack>
bA
field_6195
itemsInHands
field_184656_bv
field_184656_bv
protected final float[]
bx
field_6187
handDropChances
field_82174_bp
field_82174_bp
private final DefaultedList<ItemStack>
bB
field_6205
armor
field_184657_bw
field_184657_bw
protected final float[]
by
field_6186
armorDropChances
field_184655_bs
field_184655_bs
private boolean
bC
field_6203
canPickupLoot
field_82172_bs
field_82172_bs
private boolean
bD
field_6200
persistent
field_82179_bU
field_82179_bU
private final Map<PathBlockingType, Float>
bE
field_6196
pathfindingPenalties
field_184658_bz
field_184658_bz
private Identifier
bF
field_6198
lootTable
field_184659_bA
field_184659_bA
private long
bG
field_6184
lootTableSeed
field_184653_bB
field_184653_bB
private Entity
bH
field_6202
leashHolder
field_110168_bw
field_110168_bw
private int
bI
field_18279
f_09682632
field_213400_bI
field_213400_bI
private NbtCompound
bJ
field_6192
leashNbt
field_110170_bx
field_110170_bx
private BlockPos
bK
field_18074
f_70469123
field_213401_bK
field_213401_bK
private float
bL
field_18075
f_76508779
field_213402_bL
field_213402_bL

Constructor summary

ModifierConstructor
protected (EntityType<? extends MobEntity> arg0, World arg1)

Method summary

Modifier and TypeMethod
protected void
n()
method_5959()
initGoals()
func_184651_r()
initEntityAI()
protected void
ck()
method_6001()
initAttributes()
func_110147_ax()
registerAttributes()
protected PathNavigation
b(bhi arg0)
method_5965(class_1937 arg0)
createNavigation(World world)
func_175447_b(World arg0)
createNavigator(World worldIn)
public float
a(cne arg0)
method_5944(class_7 arg0)
getPathfindingPenalty(PathBlockingType type)
func_184643_a(PathNodeType arg0)
getPathPriority(PathNodeType nodeType)
public void
a(cne arg0, float arg1)
method_5941(class_7 arg0, float arg1)
setPathfindingPenalty(PathBlockingType type, float penalty)
func_184644_a(PathNodeType arg0, float arg1)
setPathPriority(PathNodeType nodeType, float priority)
protected BodyControl
o()
method_5963()
createBodyControl()
func_184650_s()
createBodyHelper()
public LookControl
p()
method_5988()
getLookControl()
func_70671_ap()
getLookHelper()
public MovementControl
r()
method_5962()
getMovementControl()
func_70605_aq()
getMoveHelper()
public JumpControl
s()
method_5993()
getJumpControl()
func_70683_ar()
getJumpHelper()
public PathNavigation
u()
method_5942()
getNavigation()
func_70661_as()
getNavigator()
public MobVisibilityCache
v()
method_5985()
getMobVisibilityCache()
func_70635_at()
getEntitySenses()
public LivingEntity
w()
method_5968()
getAttackTarget()
func_70638_az()
getAttackTarget()
public void
g(air arg0)
method_5980(class_1309 arg0)
setAttackTarget(LivingEntity target)
func_70624_b(LivingEntity arg0)
setAttackTarget(LivingEntity entitylivingbaseIn)
public boolean
a(aim<?> arg0)
method_5973(class_1299<?> arg0)
m_33497769(EntityType<?> arg0)
func_213358_a(EntityType<?> arg0)
func_213358_a(EntityType<?> arg0)
public void
z()
method_5983()
onEatingGrass()
func_70615_aA()
eatGrassBonus()
protected void
u_()
method_5693()
registerSyncedData()
func_70088_a()
registerData()
public int
A()
method_5970()
getAmbientSoundInterval()
func_70627_aG()
getTalkInterval()
public void
B()
method_5966()
playAmbientSound()
func_70642_aH()
playAmbientSound()
public void
aa()
method_5670()
baseTick()
func_70030_z()
baseTick()
protected void
c(ahr arg0)
method_6013(class_1282 arg0)
playHurtSound(DamageSource arg0)
func_184581_c(DamageSource arg0)
playHurtSound(DamageSource arg0)
private void
l()
method_5975()
resetAmbientSoundDelay()
func_175456_n()
applyEntityAI()
protected int
d(avy arg0)
method_6110(class_1657 arg0)
getXpDrop(PlayerEntity arg0)
func_70693_a(PlayerEntity arg0)
getExperiencePoints(PlayerEntity arg0)
public void
D()
method_5990()
animateSpawn()
func_70656_aK()
spawnExplosionParticle()
public void
h()
method_5773()
tick()
func_70071_h_()
tick()
protected void
F()
method_20417()
m_95935556()
func_213385_F()
func_213385_F()
protected float
e(float arg0, float arg1)
method_6031(float arg0, float arg1)
bodyMovement(float arg0, float arg1)
func_110146_f(float arg0, float arg1)
updateDistance(float arg0, float arg1)
protected SoundEvent
G()
method_5994()
getAmbientSound()
func_184639_G()
getAmbientSound()
public void
b(ib arg0)
method_5652(class_2487 arg0)
writeCustomNbt(NbtCompound arg0)
func_213281_b(CompoundNBT arg0)
func_213281_b(CompoundNBT arg0)
public void
a(ib arg0)
method_5749(class_2487 arg0)
readCustomNbt(NbtCompound arg0)
func_70037_a(CompoundNBT arg0)
readAdditional(CompoundNBT arg0)
protected void
a(ahr arg0, boolean arg1)
method_16077(class_1282 arg0, boolean arg1)
m_59025459(DamageSource arg0, boolean arg1)
func_213354_a(DamageSource arg0, boolean arg1)
func_213354_a(DamageSource arg0, boolean arg1)
protected LootContext$Builder
a(boolean arg0, ahr arg1)
method_16079(boolean arg0, class_1282 arg1)
m_92133372(boolean arg0, DamageSource arg1)
func_213363_a(boolean arg0, DamageSource arg1)
func_213363_a(boolean arg0, DamageSource arg1)
public final Identifier
cF()
method_5989()
m_74652536()
func_213346_cF()
func_213346_cF()
protected Identifier
H()
method_5991()
getDefaultLootTable()
func_184647_J()
getLootTable()
public void
r(float arg0)
method_5930(float arg0)
setForwardsSpeed(float speed)
func_191989_p(float arg0)
setMoveForward(float amount)
public void
s(float arg0)
method_5976(float arg0)
setVerticalSpeed(float speed)
func_70657_f(float arg0)
setMoveVertical(float amount)
public void
t(float arg0)
method_5938(float arg0)
setSidewaysSpeed(float speed)
func_184646_p(float arg0)
setMoveStrafing(float amount)
public void
o(float arg0)
method_6125(float arg0)
setSpeed(float arg0)
func_70659_e(float arg0)
setAIMoveSpeed(float arg0)
public void
k()
method_6007()
mobTick()
func_70636_d()
livingTick()
protected void
a(atp arg0)
method_5949(class_1542 arg0)
updateInventory(ItemEntity item)
func_175445_a(ItemEntity arg0)
updateEquipmentIfNeeded(ItemEntity itemEntity)
protected boolean
a(bcb arg0, bcb arg1, ain arg2)
method_5955(class_1799 arg0, class_1799 arg1, class_1304 arg2)
prefersNewEquipment(ItemStack newStack, ItemStack oldStack, EquipmentSlot slot)
func_208003_a(ItemStack arg0, ItemStack arg1, EquipmentSlotType arg2)
shouldExchangeEquipment(ItemStack candidate, ItemStack existing, EquipmentSlotType arg2)
protected boolean
g(bcb arg0)
method_5939(class_1799 arg0)
canHoldItem(ItemStack item)
func_175448_a(ItemStack arg0)
canEquipItem(ItemStack stack)
public boolean
c(double arg0)
method_5974(double arg0)
canDespawn(double arg0)
func_213397_c(double arg0)
func_213397_c(double arg0)
protected boolean
I()
method_17326()
hasRaid()
func_213392_I()
func_213392_I()
protected void
J()
method_5982()
checkDespawn()
func_70623_bb()
checkDespawn()
protected final void
db()
method_6023()
serverTickAi()
func_70626_be()
updateEntityActionState()
protected void
K()
method_18409()
m_31807008()
func_213387_K()
func_213387_K()
protected void
L()
method_5958()
mobAiTick()
func_70619_bc()
updateAITasks()
public int
M()
method_5978()
getLookPitchSpeed()
func_70646_bf()
getVerticalFaceSpeed()
public int
dA()
method_5986()
getMaxHeadRotation()
func_184649_cE()
getHorizontalFaceSpeed()
public int
dB()
method_20240()
m_57072788()
func_213396_dB()
func_213396_dB()
public void
a(aii arg0, float arg1, float arg2)
method_5951(class_1297 arg0, float arg1, float arg2)
lookAt(Entity target, float maxYawChange, float maxPitchChange)
func_70625_a(Entity arg0, float arg1, float arg2)
faceEntity(Entity entityIn, float maxYawIncrease, float maxPitchIncrease)
private float
a(float arg0, float arg1, float arg2)
method_5960(float arg0, float arg1, float arg2)
changeAngle(float oldAngle, float newAngle, float maxChangeInAngle)
func_70663_b(float arg0, float arg1, float arg2)
updateRotation(float angle, float targetAngle, float maxIncrease)
public boolean
a(bhj arg0, aiu arg1)
method_5979(class_1936 arg0, class_3730 arg1)
canSpawn(WorldAccess world, SpawnReason reason)
func_213380_a(IWorld arg0, SpawnReason arg1)
func_213380_a(IWorld arg0, SpawnReason arg1)
protected boolean
a(bhj arg0, aiu arg1, ev arg2)
method_20344(class_1936 arg0, class_3730 arg1, class_2338 arg2)
m_43670345(WorldAccess arg0, SpawnReason arg1, BlockPos arg2)
func_213393_a(IWorld arg0, SpawnReason arg1, BlockPos arg2)
func_213393_a(IWorld arg0, SpawnReason arg1, BlockPos arg2)
public boolean
a(bhl arg0)
method_5957(class_1941 arg0)
isUnobstructed(WorldView world)
func_205019_a(IWorldReader arg0)
isNotColliding(IWorldReader worldIn)
public int
dC()
method_5945()
getLimitPerChunk()
func_70641_bl()
getMaxSpawnedInChunk()
public boolean
c(int arg0)
method_5969(int arg0)
isAboveLimitPerChunk(int packSize)
func_204209_c(int arg0)
func_204209_c(int arg0)
public int
bu()
method_5850()
getSafeFallDistance()
func_82143_as()
getMaxFallHeight()
public Iterable<ItemStack>
aY()
method_5877()
getItemsInHands()
func_184214_aD()
getHeldEquipment()
public Iterable<ItemStack>
aZ()
method_5661()
getArmor()
func_184193_aE()
getArmorInventoryList()
public ItemStack
b(ain arg0)
method_6118(class_1304 arg0)
getEquipment(EquipmentSlot arg0)
func_184582_a(EquipmentSlotType arg0)
getItemStackFromSlot(EquipmentSlotType arg0)
public void
a(ain arg0, bcb arg1)
method_5673(class_1304 arg0, class_1799 arg1)
setEquipment(EquipmentSlot arg0, ItemStack arg1)
func_184201_a(EquipmentSlotType arg0, ItemStack arg1)
setItemStackToSlot(EquipmentSlotType arg0, ItemStack arg1)
protected void
a(ahr arg0, int arg1, boolean arg2)
method_6099(class_1282 arg0, int arg1, boolean arg2)
dropEquipment(DamageSource arg0, int arg1, boolean arg2)
func_213333_a(DamageSource arg0, int arg1, boolean arg2)
func_213333_a(DamageSource arg0, int arg1, boolean arg2)
protected float
d(ain arg0)
method_5929(class_1304 arg0)
m_77872251(EquipmentSlot arg0)
func_205712_c(EquipmentSlotType arg0)
getDropChance(EquipmentSlotType arg0)
protected void
a(ahb arg0)
method_5964(class_1266 arg0)
addRandomEquipment(LocalDifficulty difficulty)
func_180481_a(DifficultyInstance arg0)
setEquipmentBasedOnDifficulty(DifficultyInstance difficulty)
public static EquipmentSlot
h(bcb arg0)
method_5953(class_1799 arg0)
getEquipmentSlot(ItemStack item)
func_184640_d(ItemStack arg0)
getSlotForItemStack(ItemStack stack)
public static Item
a(ain arg0, int arg1)
method_5948(class_1304 arg0, int arg1)
getEquipmentForSlot(EquipmentSlot slot, int tier)
func_184636_a(EquipmentSlotType arg0, int arg1)
getArmorByChance(EquipmentSlotType slotIn, int chance)
protected void
b(ahb arg0)
method_5984(class_1266 arg0)
enchantEquipment(LocalDifficulty difficulty)
func_180483_b(DifficultyInstance arg0)
setEnchantmentBasedOnDifficulty(DifficultyInstance difficulty)
public EntityData
a(bhj arg0, ahb arg1, aiu arg2, ajd arg3, ib arg4)
method_5943(class_1936 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3, class_2487 arg4)
initialize(WorldAccess world, LocalDifficulty difficulty, SpawnReason reason, EntityData data, NbtCompound nbt)
func_213386_a(IWorld arg0, DifficultyInstance arg1, SpawnReason arg2, ILivingEntityData arg3, CompoundNBT arg4)
func_213386_a(IWorld arg0, DifficultyInstance arg1, SpawnReason arg2, ILivingEntityData arg3, CompoundNBT arg4)
public boolean
dD()
method_5956()
canBeControlledByRider()
func_82171_bF()
canBeSteered()
public void
dE()
method_5971()
setPersistent()
func_110163_bv()
enablePersistence()
public void
a(ain arg0, float arg1)
method_5946(class_1304 arg0, float arg1)
setInventoryDropChances(EquipmentSlot slot, float chance)
func_184642_a(EquipmentSlotType arg0, float arg1)
setDropChance(EquipmentSlotType slotIn, float chance)
public boolean
dF()
method_5936()
canPickupLoot()
func_98052_bS()
canPickUpLoot()
public void
n(boolean arg0)
method_5952(boolean arg0)
setCanPickupLoot(boolean blValue)
func_98053_h(boolean arg0)
setCanPickUpLoot(boolean canPickup)
public boolean
e(bcb arg0)
method_18397(class_1799 arg0)
m_98611243(ItemStack arg0)
func_213365_e(ItemStack arg0)
func_213365_e(ItemStack arg0)
public boolean
dG()
method_5947()
isPersistent()
func_104002_bU()
isNoDespawnRequired()
public final boolean
b(avy arg0, ahc arg1)
method_5688(class_1657 arg0, class_1268 arg1)
interact(PlayerEntity arg0, InteractionHand arg1)
func_184230_a(PlayerEntity arg0, Hand arg1)
processInitialInteract(PlayerEntity arg0, Hand arg1)
protected boolean
a(avy arg0, ahc arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity player, InteractionHand hand)
func_184645_a(PlayerEntity arg0, Hand arg1)
processInteract(PlayerEntity player, Hand hand)
public boolean
dH()
method_18411()
m_42514799()
func_213383_dH()
func_213383_dH()
public boolean
a(ev arg0)
method_18407(class_2338 arg0)
m_73145172(BlockPos arg0)
func_213389_a(BlockPos arg0)
func_213389_a(BlockPos arg0)
public void
a(ev arg0, int arg1)
method_18408(class_2338 arg0, int arg1)
m_31609154(BlockPos arg0, int arg1)
func_213390_a(BlockPos arg0, int arg1)
func_213390_a(BlockPos arg0, int arg1)
public BlockPos
dI()
method_18412()
m_46941397()
func_213384_dI()
func_213384_dI()
public float
dJ()
method_18413()
m_11384622()
func_213391_dJ()
func_213391_dJ()
public boolean
dL()
method_18410()
m_75982436()
func_213394_dL()
func_213394_dL()
protected void
dM()
method_5995()
updateLeashStatus()
func_110159_bB()
updateLeashedState()
public void
a(boolean arg0, boolean arg1)
method_5932(boolean arg0, boolean arg1)
detachLeash(boolean sync, boolean dropItem)
func_110160_i(boolean arg0, boolean arg1)
clearLeashed(boolean sendPacket, boolean dropLead)
public boolean
a(avy arg0)
method_5931(class_1657 arg0)
isTameable(PlayerEntity player)
func_184652_a(PlayerEntity arg0)
canBeLeashedTo(PlayerEntity player)
public boolean
dN()
method_5934()
isLeashed()
func_110167_bD()
getLeashed()
public Entity
dO()
method_5933()
getLeashHolder()
func_110166_bE()
getLeashHolder()
public void
b(aii arg0, boolean arg1)
method_5954(class_1297 arg0, boolean arg1)
attachLeash(Entity leashHolder, boolean sync)
func_110162_b(Entity arg0, boolean arg1)
setLeashHolder(Entity entityIn, boolean sendAttachNotification)
public boolean
a(aii arg0, boolean arg1)
method_5873(class_1297 arg0, boolean arg1)
startRiding(Entity arg0, boolean arg1)
func_184205_a(Entity arg0, boolean arg1)
startRiding(Entity arg0, boolean arg1)
private void
dT()
method_5940()
readLeashNbt()
func_110165_bF()
recreateLeash()
public boolean
a_(int arg0, bcb arg1)
method_5758(int arg0, class_1799 arg1)
replaceItem(int arg0, ItemStack arg1)
func_174820_d(int arg0, ItemStack arg1)
replaceItemInInventory(int arg0, ItemStack arg1)
public boolean
bZ()
method_5787()
isLogicalSideForUpdatingMovement()
func_184186_bw()
canPassengerSteer()
public static boolean
b(ain arg0, bcb arg1)
method_5935(class_1304 arg0, class_1799 arg1)
isValidSlotForItem(EquipmentSlot slot, ItemStack item)
func_184648_b(EquipmentSlotType arg0, ItemStack arg1)
isItemStackInSlot(EquipmentSlotType slotIn, ItemStack stack)
public boolean
de()
method_6034()
isLocallyControlled()
func_70613_aW()
isServerWorld()
public void
o(boolean arg0)
method_5977(boolean arg0)
setNoAi(boolean noAi)
func_94061_f(boolean arg0)
setNoAI(boolean disable)
public void
p(boolean arg0)
method_5937(boolean arg0)
setLeftHanded(boolean leftHanded)
func_184641_n(boolean arg0)
setLeftHanded(boolean leftHanded)
public void
q(boolean arg0)
method_19540(boolean arg0)
m_00959684(boolean arg0)
func_213395_q(boolean arg0)
func_213395_q(boolean arg0)
public boolean
dP()
method_5987()
isNoAi()
func_175446_cd()
isAIDisabled()
public boolean
dQ()
method_5961()
isLeftHanded()
func_184638_cS()
isLeftHanded()
public boolean
dR()
method_6510()
m_65250980()
func_213398_dR()
func_213398_dR()
public Arm
dh()
method_6068()
getMainArm()
func_184591_cq()
getPrimaryHand()
public boolean
c(air arg0)
method_18395(class_1309 arg0)
m_86340949(LivingEntity arg0)
func_213336_c(LivingEntity arg0)
func_213336_c(LivingEntity arg0)
public boolean
C(aii arg0)
method_6121(class_1297 arg0)
tryDamage(Entity arg0)
func_70652_k(Entity arg0)
attackEntityAsMob(Entity arg0)
protected boolean
dS()
method_5972()
isAffectedByDaylight()
func_204609_dp()
isInDaylight()
protected void
c(zb<cla> arg0)
method_6010(class_3494<class_3611> arg0)
m_74407200(Tag<Fluid> arg0)
func_180466_bG(Tag<Fluid> arg0)
handleFluidJump(Tag<Fluid> arg0)
public boolean
a(bbw arg0)
method_18809(class_1792 arg0)
m_43128918(Item arg0)
func_213382_a(Item arg0)
func_213382_a(Item arg0)
public void
a(byte arg0)
method_5711(byte arg0)
doEvent(byte arg0)
func_70103_a(byte arg0)
handleStatusUpdate(byte arg0)
public void
d(int arg0)
method_18810(int arg0)
m_22963756(int arg0)
func_213381_d(int arg0)
func_213381_d(int arg0)