net.minecraft.entity.living.mob

public abstract class MobEntity

extends LivingEntity

All mapped superinterfaces:

Nameable, CommandSource

afb
net.minecraft.class_871
net.minecraft.entity.living.mob.MobEntity
net.minecraft.entity.EntityLiving
net.minecraft.entity.EntityLiving

Field summary

Modifier and TypeField
private static final DataAttribute<Byte>
a
field_14555
MOB_FLAGS
field_184654_a
AI_FLAGS
public int
a_
field_3291
ambientSoundDelay
field_70757_a
livingSoundTime
protected int
b_
field_3305
xpDrop
field_70728_aV
experienceValue
protected LookControl
f
field_3360
lookControl
field_70749_g
lookHelper
protected MovementControl
g
field_3361
movementControl
field_70765_h
moveHelper
protected JumpControl
h
field_3362
jumpControl
field_70767_i
jumpHelper
private final BodyControl
b
field_3363
bodyControl
field_70762_j
bodyHelper
protected PathNavigation
bx
field_3354
entityNavigation
field_70699_by
navigator
protected final GoalSelector
by
field_3336
goalSelector
field_70714_bg
tasks
protected final GoalSelector
bz
field_3337
targetSelector
field_70715_bh
targetTasks
private LivingEntity
c
field_6802
attackTarget
field_70696_bz
attackTarget
private final MobVisibilityCache
bC
field_3323
mobVisibilityCache
field_70723_bA
senses
private final DefaultedList<ItemStack>
bD
field_15467
itemsInHands
field_184656_bv
inventoryHands
protected float[]
bA
field_5339
handDropChances
field_82174_bp
inventoryHandsDropChances
private final DefaultedList<ItemStack>
bE
field_15468
armor
field_184657_bw
inventoryArmor
protected float[]
bB
field_14559
armorDropChances
field_184655_bs
inventoryArmorDropChances
private boolean
bF
field_5342
canPickupLoot
field_82172_bs
canPickUpLoot
private boolean
bG
field_5337
persistent
field_82179_bU
persistenceRequired
private final Map<PathBlockingType, Float>
bH
field_14556
pathfindingPenalties
field_184658_bz
mapPathPriority
private Identifier
bI
field_14557
lootTable
field_184659_bA
deathLootTable
private long
bJ
field_14558
lootTableSeed
field_184653_bB
deathLootTableSeed
private boolean
bK
field_6803
leashed
field_110169_bv
isLeashed
private Entity
bL
field_6804
leashHolder
field_110168_bw
leashHolder
private NbtCompound
bM
field_6805
leashNbt
field_110170_bx
leashNBTTag

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
n()
method_13087()
initGoals()
func_184651_r()
initEntityAI()
protected void
bZ()
method_6129()
initAttributes()
func_110147_ax()
registerAttributes()
protected PathNavigation
b(axy arg0)
method_10986(class_1150 arg0)
createNavigation(World world)
func_175447_b(World arg0)
createNavigator(World worldIn)
public float
a(cba arg0)
method_13075(class_2770 arg0)
getPathfindingPenalty(PathBlockingType type)
func_184643_a(PathNodeType arg0)
getPathPriority(PathNodeType nodeType)
public void
a(cba arg0, float arg1)
method_13076(class_2770 arg0, float arg1)
setPathfindingPenalty(PathBlockingType type, float penalty)
func_184644_a(PathNodeType arg0, float arg1)
setPathPriority(PathNodeType nodeType, float priority)
protected BodyControl
o()
method_13088()
createBodyControl()
func_184650_s()
createBodyHelper()
public LookControl
p()
method_2613()
getLookControl()
func_70671_ap()
getLookHelper()
public MovementControl
r()
method_2614()
getMovementControl()
func_70605_aq()
getMoveHelper()
public JumpControl
s()
method_2615()
getJumpControl()
func_70683_ar()
getJumpHelper()
public PathNavigation
t()
method_2616()
getNavigation()
func_70661_as()
getNavigator()
public MobVisibilityCache
u()
method_2617()
getMobVisibilityCache()
func_70635_at()
getEntitySenses()
public LivingEntity
v()
method_2623()
getAttackTarget()
func_70638_az()
getAttackTarget()
public void
e(afa arg0)
method_6165(class_1699 arg0)
setAttackTarget(LivingEntity target)
func_70624_b(EntityLivingBase arg0)
setAttackTarget(EntityLivingBase entitylivingbaseIn)
public boolean
b(Class<? extends afa> arg0)
method_2579(Class<? extends class_1699> arg0)
canAttack(Class<? extends LivingEntity> type)
func_70686_a(Class<? extends EntityLivingBase> arg0)
canAttackClass(Class<? extends EntityLivingBase> cls)
public void
x()
method_2588()
onEatingGrass()
func_70615_aA()
eatGrassBonus()
protected void
x_()
method_2484()
registerSyncedData()
func_70088_a()
registerData()
public int
z()
method_2594()
getAmbientSoundInterval()
func_70627_aG()
getTalkInterval()
public void
A()
method_2595()
playAmbientSound()
func_70642_aH()
playAmbientSound()
public void
W()
method_2564()
baseTick()
func_70030_z()
baseTick()
protected void
c(aea arg0)
method_13051(class_856 arg0)
playHurtSound(DamageSource arg0)
func_184581_c(DamageSource arg0)
playHurtSound(DamageSource arg0)
private void
l()
method_13085()
resetAmbientSoundDelay()
func_175456_n()
applyEntityAI()
protected int
b(aog arg0)
method_2585(class_988 arg0)
getXpDrop(PlayerEntity arg0)
func_70693_a(EntityPlayer arg0)
getExperiencePoints(EntityPlayer arg0)
public void
B()
method_2598()
animateSpawn()
func_70656_aK()
spawnExplosionParticle()
public void
R_()
method_2558()
tick()
func_70071_h_()
tick()
protected float
e(float arg0, float arg1)
method_6140(float arg0, float arg1)
bodyMovement(float arg0, float arg1)
func_110146_f(float arg0, float arg1)
updateDistance(float arg0, float arg1)
protected SoundEvent
D()
method_2603()
getAmbientSound()
func_184639_G()
getAmbientSound()
protected Item
F()
method_8375()
getDropItem()
func_146068_u()
getDropItem()
protected void
b(boolean arg0, int arg1)
method_2587(boolean arg0, int arg1)
dropItems(boolean arg0, int arg1)
func_70628_a(boolean arg0, int arg1)
dropFewItems(boolean arg0, int arg1)
public void
b(gy arg0)
method_2528(class_322 arg0)
writeCustomNbt(NbtCompound arg0)
func_70014_b(NBTTagCompound arg0)
writeAdditional(NBTTagCompound arg0)
public void
a(gy arg0)
method_2498(class_322 arg0)
readCustomNbt(NbtCompound arg0)
func_70037_a(NBTTagCompound arg0)
readAdditional(NBTTagCompound arg0)
protected Identifier
G()
method_13074()
getDefaultLootTable()
func_184647_J()
getLootTable()
protected void
a(boolean arg0, int arg1, aea arg2)
method_13044(boolean arg0, int arg1, class_856 arg2)
dropItemsFromLootTable(boolean arg0, int arg1, DamageSource arg2)
func_184610_a(boolean arg0, int arg1, DamageSource arg2)
dropLoot(boolean arg0, int arg1, DamageSource arg2)
public void
r(float arg0)
method_15061(float arg0)
setForwardsSpeed(float speed)
func_191989_p(float arg0)
setMoveForward(float amount)
public void
s(float arg0)
method_2659(float arg0)
setVerticalSpeed(float speed)
func_70657_f(float arg0)
setMoveVertical(float amount)
public void
t(float arg0)
method_13086(float arg0)
setSidewaysSpeed(float speed)
func_184646_p(float arg0)
setMoveStrafing(float amount)
public void
o(float arg0)
method_2656(float arg0)
setSpeed(float arg0)
func_70659_e(float arg0)
setAIMoveSpeed(float arg0)
public void
k()
method_2651()
mobTick()
func_70636_d()
livingTick()
protected void
a(amm arg0)
method_10984(class_964 arg0)
updateInventory(ItemEntity item)
func_175445_a(EntityItem arg0)
updateEquipmentIfNeeded(EntityItem itemEntity)
protected boolean
a(ate arg0, ate arg1, aew arg2)
method_15651(class_1071 arg0, class_1071 arg1, class_2968 arg2)
prefersNewEquipment(ItemStack newStack, ItemStack oldStack, EquipmentSlot slot)
func_208003_a(ItemStack arg0, ItemStack arg1, EntityEquipmentSlot arg2)
shouldExchangeEquipment(ItemStack candidate, ItemStack existing, EntityEquipmentSlot arg2)
protected boolean
d(ate arg0)
method_10985(class_1071 arg0)
canHoldItem(ItemStack item)
func_175448_a(ItemStack arg0)
canEquipItem(ItemStack stack)
public boolean
H()
method_2631()
canDespawn()
func_70692_ba()
canDespawn()
protected void
I()
method_2632()
checkDespawn()
func_70623_bb()
checkDespawn()
protected final void
cM()
method_2635()
serverTickAi()
func_70626_be()
updateEntityActionState()
protected void
J()
method_2633()
mobAiTick()
func_70619_bc()
updateAITasks()
public int
K()
method_2636()
getLookPitchSpeed()
func_70646_bf()
getVerticalFaceSpeed()
public int
L()
method_13081()
getMaxHeadRotation()
func_184649_cE()
getHorizontalFaceSpeed()
public void
a(aer arg0, float arg1, float arg2)
method_2583(class_864 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
c(float arg0, float arg1, float arg2)
method_2624(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(axz arg0, boolean arg1)
method_15652(class_3598 arg0, boolean arg1)
canSpawn(WorldAccess world, boolean fromSpawner)
func_205020_a(IWorld arg0, boolean arg1)
canSpawn(IWorld worldIn, boolean fromSpawner)
public final boolean
M()
method_2469()
m_90165543()
func_70058_J()
isNotColliding()
public boolean
a(ayc arg0)
method_15653(class_3599 arg0)
isUnobstructed(WorldView world)
func_205019_a(IWorldReaderBase arg0)
isNotColliding(IWorldReaderBase worldIn)
public int
dg()
method_2639()
getLimitPerChunk()
func_70641_bl()
getMaxSpawnedInChunk()
public boolean
c(int arg0)
method_15654(int arg0)
isAboveLimitPerChunk(int packSize)
func_204209_c(int arg0)
func_204209_c(int arg0)
public int
bn()
method_4448()
getSafeFallDistance()
func_82143_as()
getMaxFallHeight()
public Iterable<ItemStack>
aS()
method_12977()
getItemsInHands()
func_184214_aD()
getHeldEquipment()
public Iterable<ItemStack>
aT()
method_12978()
getArmor()
func_184193_aE()
getArmorInventoryList()
public ItemStack
b(aew arg0)
method_13043(class_2968 arg0)
getEquipment(EquipmentSlot arg0)
func_184582_a(EntityEquipmentSlot arg0)
getItemStackFromSlot(EntityEquipmentSlot arg0)
public void
a(aew arg0, ate arg1)
method_2527(class_2968 arg0, class_1071 arg1)
setEquipment(EquipmentSlot arg0, ItemStack arg1)
func_184201_a(EntityEquipmentSlot arg0, ItemStack arg1)
setItemStackToSlot(EntityEquipmentSlot arg0, ItemStack arg1)
protected void
a(boolean arg0, int arg1)
method_4472(boolean arg0, int arg1)
dropEquipment(boolean arg0, int arg1)
func_82160_b(boolean arg0, int arg1)
dropEquipment(boolean arg0, int arg1)
protected float
c(aew arg0)
method_15655(class_2968 arg0)
m_77872251(EquipmentSlot arg0)
func_205712_c(EntityEquipmentSlot arg0)
getDropChance(EntityEquipmentSlot arg0)
protected void
a(adj arg0)
method_10983(class_2607 arg0)
addRandomEquipment(LocalDifficulty difficulty)
func_180481_a(DifficultyInstance arg0)
setEquipmentBasedOnDifficulty(DifficultyInstance difficulty)
public static EquipmentSlot
e(ate arg0)
method_13083(class_1071 arg0)
getEquipmentSlot(ItemStack item)
func_184640_d(ItemStack arg0)
getSlotForItemStack(ItemStack stack)
public static Item
a(aew arg0, int arg1)
method_13078(class_2968 arg0, int arg1)
getEquipmentForSlot(EquipmentSlot slot, int tier)
func_184636_a(EntityEquipmentSlot arg0, int arg1)
getArmorByChance(EntityEquipmentSlot slotIn, int chance)
protected void
b(adj arg0)
method_10987(class_2607 arg0)
enchantEquipment(LocalDifficulty difficulty)
func_180483_b(DifficultyInstance arg0)
setEnchantmentBasedOnDifficulty(DifficultyInstance difficulty)
public EntityData
a(adj arg0, afj arg1, gy arg2)
method_6156(class_2607 arg0, class_1700 arg1, class_322 arg2)
initialize(LocalDifficulty difficulty, EntityData entityData, NbtCompound entityNbt)
func_204210_a(DifficultyInstance arg0, IEntityLivingData arg1, NBTTagCompound arg2)
onInitialSpawn(DifficultyInstance difficulty, IEntityLivingData entityLivingData, NBTTagCompound itemNbt)
public boolean
dh()
method_4476()
canBeControlledByRider()
func_82171_bF()
canBeSteered()
public void
di()
method_6164()
setPersistent()
func_110163_bv()
enablePersistence()
public void
a(aew arg0, float arg1)
method_13077(class_2968 arg0, float arg1)
setInventoryDropChances(EquipmentSlot slot, float chance)
func_184642_a(EntityEquipmentSlot arg0, float arg1)
setDropChance(EntityEquipmentSlot slotIn, float chance)
public boolean
dj()
method_5395()
canPickupLoot()
func_98052_bS()
canPickUpLoot()
public void
p(boolean arg0)
method_5399(boolean arg0)
setCanPickupLoot(boolean blValue)
func_98053_h(boolean arg0)
setCanPickUpLoot(boolean canPickup)
public boolean
dk()
method_5396()
isPersistent()
func_104002_bU()
isNoDespawnRequired()
public final boolean
b(aog arg0, adk arg1)
method_6100(class_988 arg0, class_2961 arg1)
interact(PlayerEntity arg0, InteractionHand arg1)
func_184230_a(EntityPlayer arg0, EnumHand arg1)
processInitialInteract(EntityPlayer arg0, EnumHand arg1)
protected boolean
a(aog arg0, adk arg1)
method_13079(class_988 arg0, class_2961 arg1)
interactMob(PlayerEntity player, InteractionHand hand)
func_184645_a(EntityPlayer arg0, EnumHand arg1)
processInteract(EntityPlayer player, EnumHand hand)
protected void
dl()
method_6159()
updateLeashStatus()
func_110159_bB()
updateLeashedState()
public void
a(boolean arg0, boolean arg1)
method_6157(boolean arg0, boolean arg1)
detachLeash(boolean sync, boolean dropItem)
func_110160_i(boolean arg0, boolean arg1)
clearLeashed(boolean sendPacket, boolean dropLead)
public boolean
a(aog arg0)
method_2537(class_988 arg0)
isTameable(PlayerEntity player)
func_184652_a(EntityPlayer arg0)
canBeLeashedTo(EntityPlayer player)
public boolean
dm()
method_6161()
isLeashed()
func_110167_bD()
getLeashed()
public Entity
dn()
method_6162()
getLeashHolder()
func_110166_bE()
getLeashHolder()
public void
b(aer arg0, boolean arg1)
method_6158(class_864 arg0, boolean arg1)
attachLeash(Entity leashHolder, boolean sync)
func_110162_b(Entity arg0, boolean arg1)
setLeashHolder(Entity entityIn, boolean sendAttachNotification)
public boolean
a(aer arg0, boolean arg1)
method_12975(class_864 arg0, boolean arg1)
startRiding(Entity arg0, boolean arg1)
func_184205_a(Entity arg0, boolean arg1)
startRiding(Entity arg0, boolean arg1)
private void
dr()
method_6163()
readLeashNbt()
func_110165_bF()
recreateLeash()
public boolean
c(int arg0, ate arg1)
method_10956(int arg0, class_1071 arg1)
replaceItem(int arg0, ItemStack arg1)
func_174820_d(int arg0, ItemStack arg1)
replaceItemInInventory(int arg0, ItemStack arg1)
public boolean
bT()
method_13003()
isLogicalSideForUpdatingMovement()
func_184186_bw()
canPassengerSteer()
public static boolean
b(aew arg0, ate arg1)
method_13080(class_2968 arg0, class_1071 arg1)
isValidSlotForItem(EquipmentSlot slot, ItemStack item)
func_184648_b(EntityEquipmentSlot arg0, ItemStack arg1)
isItemStackInSlot(EntityEquipmentSlot slotIn, ItemStack stack)
public boolean
cP()
method_2609()
isLocallyControlled()
func_70613_aW()
isServerWorld()
public void
q(boolean arg0)
method_5398(boolean arg0)
setNoAi(boolean noAi)
func_94061_f(boolean arg0)
setNoAI(boolean disable)
public void
r(boolean arg0)
method_13084(boolean arg0)
setLeftHanded(boolean leftHanded)
func_184641_n(boolean arg0)
setLeftHanded(boolean leftHanded)
public boolean
do()
method_5393()
isNoAi()
func_175446_cd()
isAIDisabled()
public boolean
dp()
method_13082()
isLeftHanded()
func_184638_cS()
isLeftHanded()
public Arm
cS()
method_13060()
getMainArm()
func_184591_cq()
getPrimaryHand()
public boolean
B(aer arg0)
method_2671(class_864 arg0)
tryDamage(Entity arg0)
func_70652_k(Entity arg0)
attackEntityAsMob(Entity arg0)
protected boolean
dq()
method_15656()
isAffectedByDaylight()
func_204609_dp()
isInDaylight()
protected void
c(wz<byv> arg0)
method_15645(class_4482<class_4023> arg0)
m_74407200(Tag<Fluid> arg0)
func_180466_bG(Tag<Fluid> arg0)
handleFluidJump(Tag<Fluid> arg0)
public void
a(byte arg0)
method_2485(byte arg0)
doEvent(byte arg0)
func_70103_a(byte arg0)
handleStatusUpdate(byte arg0)
public float
N()
method_2638()
getShadowScale()
func_70603_bj()
getRenderSizeModifier()