net.minecraft.entity.living.mob

public abstract class MobEntity

extends LivingEntity

All mapped superinterfaces:

CommandSource

vq
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
private final LookControl
b
field_3360
lookControl
field_70749_g
lookHelper
protected MovementControl
f
field_3361
movementControl
field_70765_h
moveHelper
protected JumpControl
g
field_3362
jumpControl
field_70767_i
jumpHelper
private final BodyControl
c
field_3363
bodyControl
field_70762_j
bodyHelper
protected PathNavigation
h
field_3354
entityNavigation
field_70699_by
navigator
protected final GoalSelector
br
field_3336
goalSelector
field_70714_bg
tasks
protected final GoalSelector
bs
field_3337
targetSelector
field_70715_bh
targetTasks
private LivingEntity
bv
field_6802
attackTarget
field_70696_bz
attackTarget
private final MobVisibilityCache
bw
field_3323
mobVisibilityCache
field_70723_bA
senses
private final DefaultedList<ItemStack>
bx
field_15467
itemsInHands
field_184656_bv
inventoryHands
protected float[]
bt
field_5339
handDropChances
field_82174_bp
inventoryHandsDropChances
private final DefaultedList<ItemStack>
by
field_15468
armor
field_184657_bw
inventoryArmor
protected float[]
bu
field_14559
armorDropChances
field_184655_bs
inventoryArmorDropChances
private boolean
bz
field_5342
canPickupLoot
field_82172_bs
canPickUpLoot
private boolean
bA
field_5337
persistent
field_82179_bU
persistenceRequired
private final Map<PathBlockingType, Float>
bB
field_14556
pathfindingPenalties
field_184658_bz
mapPathPriority
private Identifier
bC
field_14557
lootTable
field_184659_bA
deathLootTable
private long
bD
field_14558
lootTableSeed
field_184653_bB
deathLootTableSeed
private boolean
bE
field_6803
leashed
field_110169_bv
isLeashed
private Entity
bF
field_6804
leashHolder
field_110168_bw
leashHolder
private NbtCompound
bG
field_6805
leashNbt
field_110170_bx
leashNBTTag

Constructor summary

ModifierConstructor
public (World arg0)

Method summary

Modifier and TypeMethod
protected void
r()
method_13087()
initGoals()
func_184651_r()
initEntityAI()
protected void
bM()
method_6129()
initAttributes()
func_110147_ax()
applyEntityAttributes()
protected PathNavigation
b(amu arg0)
method_10986(class_1150 arg0)
createNavigation(World world)
func_175447_b(World arg0)
createNavigator(World worldIn)
public float
a(beh arg0)
method_13075(class_2770 arg0)
getPathfindingPenalty(PathBlockingType type)
func_184643_a(PathNodeType arg0)
getPathPriority(PathNodeType nodeType)
public void
a(beh 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
s()
method_13088()
createBodyControl()
func_184650_s()
createBodyHelper()
public LookControl
t()
method_2613()
getLookControl()
func_70671_ap()
getLookHelper()
public MovementControl
u()
method_2614()
getMovementControl()
func_70605_aq()
getMoveHelper()
public JumpControl
w()
method_2615()
getJumpControl()
func_70683_ar()
getJumpHelper()
public PathNavigation
x()
method_2616()
getNavigation()
func_70661_as()
getNavigator()
public MobVisibilityCache
y()
method_2617()
getMobVisibilityCache()
func_70635_at()
getEntitySenses()
public LivingEntity
z()
method_2623()
getAttackTarget()
func_70638_az()
getAttackTarget()
public void
d(vp arg0)
method_6165(class_1699 arg0)
setAttackTarget(LivingEntity target)
func_70624_b(EntityLivingBase arg0)
setAttackTarget(EntityLivingBase entitylivingbaseIn)
public boolean
d(Class<? extends vp> 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
A()
method_2588()
onEatingGrass()
func_70615_aA()
eatGrassBonus()
protected void
i()
method_2484()
registerSyncedData()
func_70088_a()
entityInit()
public int
C()
method_2594()
getAmbientSoundInterval()
func_70627_aG()
getTalkInterval()
public void
D()
method_2595()
playAmbientSound()
func_70642_aH()
playLivingSound()
public void
Y()
method_2564()
baseTick()
func_70030_z()
onEntityUpdate()
protected void
c(ur arg0)
method_13051(class_856 arg0)
playHurtSound(DamageSource arg0)
func_184581_c(DamageSource arg0)
playHurtSound(DamageSource arg0)
private void
p()
method_13085()
resetAmbientSoundDelay()
func_175456_n()
applyEntityAI()
protected int
b(aed arg0)
method_2585(class_988 arg0)
getXpDrop(PlayerEntity arg0)
func_70693_a(EntityPlayer arg0)
getExperiencePoints(EntityPlayer arg0)
public void
E()
method_2598()
animateSpawn()
func_70656_aK()
spawnExplosionParticle()
public void
B_()
method_2558()
tick()
func_70071_h_()
onUpdate()
protected float
g(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
F()
method_2603()
getAmbientSound()
func_184639_G()
getAmbientSound()
protected Item
H()
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 static void
a(ry arg0, Class<?> arg1)
method_13950(class_2934 arg0, Class<?> arg1)
registerSchema(DataFixerUpper dfu, Class<?> type)
func_189752_a(DataFixer arg0, Class<?> arg1)
registerFixesMob(DataFixer fixer, Class<?> name)
public void
b(fy arg0)
method_2528(class_322 arg0)
writeCustomNbt(NbtCompound arg0)
func_70014_b(NBTTagCompound arg0)
writeEntityToNBT(NBTTagCompound arg0)
public void
a(fy arg0)
method_2498(class_322 arg0)
readCustomNbt(NbtCompound arg0)
func_70037_a(NBTTagCompound arg0)
readEntityFromNBT(NBTTagCompound arg0)
protected Identifier
J()
method_13074()
getDefaultLootTable()
func_184647_J()
getLootTable()
protected void
a(boolean arg0, int arg1, ur 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
n(float arg0)
method_15061(float arg0)
setForwardsSpeed(float speed)
func_191989_p(float arg0)
setMoveForward(float amount)
public void
o(float arg0)
method_2659(float arg0)
setVerticalSpeed(float speed)
func_70657_f(float arg0)
setMoveVertical(float amount)
public void
p(float arg0)
method_13086(float arg0)
setSidewaysSpeed(float speed)
func_184646_p(float arg0)
setMoveStrafing(float amount)
public void
k(float arg0)
method_2656(float arg0)
setSpeed(float arg0)
func_70659_e(float arg0)
setAIMoveSpeed(float arg0)
public void
n()
method_2651()
mobTick()
func_70636_d()
onLivingUpdate()
protected void
a(acl arg0)
method_10984(class_964 arg0)
updateInventory(ItemEntity item)
func_175445_a(EntityItem arg0)
updateEquipmentIfNeeded(EntityItem itemEntity)
protected boolean
c(aip arg0)
method_10985(class_1071 arg0)
canHoldItem(ItemStack item)
func_175448_a(ItemStack arg0)
canEquipItem(ItemStack stack)
protected boolean
K()
method_2631()
canDespawn()
func_70692_ba()
canDespawn()
protected void
L()
method_2632()
checkDespawn()
func_70623_bb()
despawnEntity()
protected final void
cA()
method_2635()
serverTickAi()
func_70626_be()
updateEntityActionState()
protected void
M()
method_2633()
mobAiTick()
func_70619_bc()
updateAITasks()
public int
N()
method_2636()
getLookPitchSpeed()
func_70646_bf()
getVerticalFaceSpeed()
public int
O()
method_13081()
getMaxHeadRotation()
func_184649_cE()
getHorizontalFaceSpeed()
public void
a(vg 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
b(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
P()
method_2637()
canSpawn()
func_70601_bi()
getCanSpawnHere()
public boolean
Q()
method_2469()
isUnobstructed()
func_70058_J()
isNotColliding()
public int
cU()
method_2639()
getLimitPerChunk()
func_70641_bl()
getMaxSpawnedInChunk()
public int
bg()
method_4448()
getSafeFallDistance()
func_82143_as()
getMaxFallHeight()
public Iterable<ItemStack>
aO()
method_12977()
getItemsInHands()
func_184214_aD()
getHeldEquipment()
public Iterable<ItemStack>
aP()
method_12978()
getArmor()
func_184193_aE()
getArmorInventoryList()
public ItemStack
b(vl arg0)
method_13043(class_2968 arg0)
getEquipment(EquipmentSlot arg0)
func_184582_a(EntityEquipmentSlot arg0)
getItemStackFromSlot(EntityEquipmentSlot arg0)
public void
a(vl arg0, aip 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 void
a(ua arg0)
method_10983(class_2607 arg0)
addRandomEquipment(LocalDifficulty difficulty)
func_180481_a(DifficultyInstance arg0)
setEquipmentBasedOnDifficulty(DifficultyInstance difficulty)
public static EquipmentSlot
d(aip arg0)
method_13083(class_1071 arg0)
getEquipmentSlot(ItemStack item)
func_184640_d(ItemStack arg0)
getSlotForItemStack(ItemStack stack)
public static Item
a(vl 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(ua arg0)
method_10987(class_2607 arg0)
enchantEquipment(LocalDifficulty difficulty)
func_180483_b(DifficultyInstance arg0)
setEnchantmentBasedOnDifficulty(DifficultyInstance difficulty)
public EntityData
a(ua arg0, vs arg1)
method_6156(class_2607 arg0, class_1700 arg1)
initialize(LocalDifficulty localDifficulty, EntityData data)
func_180482_a(DifficultyInstance arg0, IEntityLivingData arg1)
onInitialSpawn(DifficultyInstance difficulty, IEntityLivingData livingdata)
public boolean
cV()
method_4476()
canBeControlledByRider()
func_82171_bF()
canBeSteered()
public void
cW()
method_6164()
setPersistent()
func_110163_bv()
enablePersistence()
public void
a(vl 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
cX()
method_5395()
canPickupLoot()
func_98052_bS()
canPickUpLoot()
public void
m(boolean arg0)
method_5399(boolean arg0)
setCanPickupLoot(boolean blValue)
func_98053_h(boolean arg0)
setCanPickUpLoot(boolean canPickup)
public boolean
cY()
method_5396()
isPersistent()
func_104002_bU()
isNoDespawnRequired()
public final boolean
b(aed arg0, ub 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(aed arg0, ub 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
cZ()
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(aed arg0)
method_2537(class_988 arg0)
isTameable(PlayerEntity player)
func_184652_a(EntityPlayer arg0)
canBeLeashedTo(EntityPlayer player)
public boolean
da()
method_6161()
isLeashed()
func_110167_bD()
getLeashed()
public Entity
db()
method_6162()
getLeashHolder()
func_110166_bE()
getLeashHolder()
public void
b(vg 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(vg 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
de()
method_6163()
readLeashNbt()
func_110165_bF()
recreateLeash()
public boolean
c(int arg0, aip 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
bI()
method_13003()
isLogicalSideForUpdatingMovement()
func_184186_bw()
canPassengerSteer()
public static boolean
b(vl arg0, aip 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
cC()
method_2609()
isLocallyControlled()
func_70613_aW()
isServerWorld()
public void
n(boolean arg0)
method_5398(boolean arg0)
setNoAi(boolean noAi)
func_94061_f(boolean arg0)
setNoAI(boolean disable)
public void
o(boolean arg0)
method_13084(boolean arg0)
setLeftHanded(boolean leftHanded)
func_184641_n(boolean arg0)
setLeftHanded(boolean leftHanded)
public boolean
dc()
method_5393()
isNoAi()
func_175446_cd()
isAIDisabled()
public boolean
dd()
method_13082()
isLeftHanded()
func_184638_cS()
isLeftHanded()
public Arm
cF()
method_13060()
getMainArm()
func_184591_cq()
getPrimaryHand()
public void
a(byte arg0)
method_2485(byte arg0)
doEvent(byte arg0)
func_70103_a(byte arg0)
handleStatusUpdate(byte arg0)
public float
R()
method_2638()
getShadowScale()
func_70603_bj()
getRenderSizeModifier()