net.minecraft.entity.living.mob

public abstract class MobEntity

extends LivingEntity

All mapped superinterfaces:

CommandSource

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

Field summary

Modifier and TypeField
private static final DataAttribute<Byte>
a
field_14555
MOB_FLAGS
AI_FLAGS
public int
a_
field_3291
ambientSoundDelay
livingSoundTime
protected int
b_
field_3305
xpDrop
experienceValue
private final LookControl
b
field_3360
lookControl
lookHelper
protected MovementControl
f
field_3361
movementControl
moveHelper
protected JumpControl
g
field_3362
jumpControl
jumpHelper
private final BodyControl
c
field_3363
bodyControl
bodyHelper
protected PathNavigation
h
field_3354
entityNavigation
navigator
protected final GoalSelector
br
field_3336
goalSelector
tasks
protected final GoalSelector
bs
field_3337
targetSelector
targetTasks
private LivingEntity
bv
field_6802
attackTarget
attackTarget
private final MobVisibilityCache
bw
field_3323
mobVisibilityCache
senses
private final ItemStack[]
bx
field_14560
itemsInHands
inventoryHands
protected float[]
bt
field_5339
handDropChances
inventoryHandsDropChances
private final ItemStack[]
by
field_14561
armor
inventoryArmor
protected float[]
bu
field_14559
armorDropChances
inventoryArmorDropChances
private boolean
bz
field_5342
canPickupLoot
canPickUpLoot
private boolean
bA
field_5337
persistent
persistenceRequired
private final Map<PathBlockingType, Float>
bB
field_14556
pathfindingPenalties
mapPathPriority
private Identifier
bC
field_14557
lootTable
deathLootTable
private long
bD
field_14558
lootTableSeed
deathLootTableSeed
private boolean
bE
field_6803
leashed
isLeashed
private Entity
bF
field_6804
leashHolder
leashedToEntity
private NbtCompound
bG
field_6805
leashNbt
leashNBTTag

Constructor summary

ModifierConstructor
public (World arg0)

Method summary

Modifier and TypeMethod
protected void
r()
method_13087()
initGoals()
initEntityAI()
protected void
bD()
method_6129()
initAttributes()
applyEntityAttributes()
protected PathNavigation
b(aid arg0)
method_10986(class_1150 arg0)
createNavigation(World world)
createNavigator(World worldIn)
public float
a(azf arg0)
method_13075(class_2770 arg0)
getPathfindingPenalty(PathBlockingType type)
getPathPriority(PathNodeType nodeType)
public void
a(azf arg0, float arg1)
method_13076(class_2770 arg0, float arg1)
setPathfindingPenalty(PathBlockingType type, float penalty)
setPathPriority(PathNodeType nodeType, float priority)
protected BodyControl
s()
method_13088()
createBodyControl()
createBodyHelper()
public LookControl
t()
method_2613()
getLookControl()
getLookHelper()
public MovementControl
u()
method_2614()
getMovementControl()
getMoveHelper()
public JumpControl
w()
method_2615()
getJumpControl()
getJumpHelper()
public PathNavigation
x()
method_2616()
getNavigation()
getNavigator()
public MobVisibilityCache
y()
method_2617()
getMobVisibilityCache()
getEntitySenses()
public LivingEntity
z()
method_2623()
getAttackTarget()
getAttackTarget()
public void
c(sf arg0)
method_6165(class_1699 arg0)
setAttackTarget(LivingEntity target)
setAttackTarget(EntityLivingBase entitylivingbaseIn)
public boolean
d(Class<? extends sf> arg0)
method_2579(Class<? extends class_1699> arg0)
canAttack(Class<? extends LivingEntity> type)
canAttackClass(Class<? extends EntityLivingBase> cls)
public void
A()
method_2588()
onEatingGrass()
eatGrassBonus()
protected void
i()
method_2484()
registerSyncedData()
entityInit()
public int
C()
method_2594()
getAmbientSoundInterval()
getTalkInterval()
public void
D()
method_2595()
playAmbientSound()
playLivingSound()
public void
U()
method_2564()
baseTick()
onEntityUpdate()
protected void
c(rh arg0)
method_13051(class_856 arg0)
playHurtSound(DamageSource arg0)
playHurtSound(DamageSource arg0)
private void
o()
method_13085()
resetAmbientSoundDelay()
applyEntityAI()
protected int
b(zs arg0)
method_2585(class_988 arg0)
getXpDrop(PlayerEntity arg0)
getExperiencePoints(EntityPlayer arg0)
public void
E()
method_2598()
animateSpawn()
spawnExplosionParticle()
public void
m()
method_2558()
tick()
onUpdate()
protected float
h(float arg0, float arg1)
method_6140(float arg0, float arg1)
bodyMovement(float arg0, float arg1)
updateDistance(float arg0, float arg1)
protected SoundEvent
G()
method_2603()
getAmbientSound()
getAmbientSound()
protected Item
I()
method_8375()
getDropItem()
getDropItem()
protected void
b(boolean arg0, int arg1)
method_2587(boolean arg0, int arg1)
dropItems(boolean arg0, int arg1)
dropFewItems(boolean arg0, int arg1)
public static void
a(pd arg0, String arg1)
method_13496(class_2934 arg0, String arg1)
registerSchema(DataFixerUpper dfu, String key)
registerFixesMob(DataFixer fixer, String name)
public static void
a(pd arg0)
method_13495(class_2934 arg0)
registerSchema(DataFixerUpper dfu)
registerFixesMob(DataFixer fixer)
public void
b(dr arg0)
method_2528(class_322 arg0)
writeCustomNbt(NbtCompound arg0)
writeEntityToNBT(NBTTagCompound arg0)
public void
a(dr arg0)
method_2498(class_322 arg0)
readCustomNbt(NbtCompound arg0)
readEntityFromNBT(NBTTagCompound arg0)
protected Identifier
J()
method_13074()
getDefaultLootTable()
getLootTable()
protected void
a(boolean arg0, int arg1, rh arg2)
method_13044(boolean arg0, int arg1, class_856 arg2)
dropItemsFromLootTable(boolean arg0, int arg1, DamageSource arg2)
dropLoot(boolean arg0, int arg1, DamageSource arg2)
public void
o(float arg0)
method_2659(float arg0)
setForwardsSpeed(float speed)
setMoveForward(float amount)
public void
p(float arg0)
method_13086(float arg0)
setSidewaysSpeed(float speed)
setMoveStrafing(float amount)
public void
l(float arg0)
method_2656(float arg0)
setSpeed(float arg0)
setAIMoveSpeed(float arg0)
public void
n()
method_2651()
mobTick()
onLivingUpdate()
protected void
a(yk arg0)
method_10984(class_964 arg0)
updateInventory(ItemEntity item)
updateEquipmentIfNeeded(EntityItem itemEntity)
protected boolean
c(adz arg0)
method_10985(class_1071 arg0)
canHoldItem(ItemStack item)
canEquipItem(ItemStack stack)
protected boolean
K()
method_2631()
canDespawn()
canDespawn()
protected void
L()
method_2632()
checkDespawn()
despawnEntity()
protected final void
cr()
method_2635()
serverTickAi()
updateEntityActionState()
protected void
M()
method_2633()
mobAiTick()
updateAITasks()
public int
N()
method_2636()
getLookPitchSpeed()
getVerticalFaceSpeed()
public int
cJ()
method_13081()
getMaxHeadRotation()
getHorizontalFaceSpeed()
public void
a(rw arg0, float arg1, float arg2)
method_2583(class_864 arg0, float arg1, float arg2)
lookAt(Entity target, float maxYawChange, float maxPitchChange)
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)
updateRotation(float angle, float targetAngle, float maxIncrease)
public boolean
cK()
method_2637()
canSpawn()
getCanSpawnHere()
public boolean
cL()
method_2469()
isUnobstructed()
isNotColliding()
public int
cO()
method_2639()
getLimitPerChunk()
getMaxSpawnedInChunk()
public int
aY()
method_4448()
getSafeFallDistance()
getMaxFallHeight()
public Iterable<ItemStack>
aG()
method_12977()
getItemsInHands()
getHeldEquipment()
public Iterable<ItemStack>
aH()
method_12978()
getArmor()
getArmorInventoryList()
public ItemStack
a(sb arg0)
method_13043(class_2968 arg0)
getEquipment(EquipmentSlot arg0)
getItemStackFromSlot(EntityEquipmentSlot arg0)
public void
a(sb arg0, adz arg1)
method_2527(class_2968 arg0, class_1071 arg1)
setEquipment(EquipmentSlot 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)
dropEquipment(boolean arg0, int arg1)
protected void
a(qq arg0)
method_10983(class_2607 arg0)
addRandomEquipment(LocalDifficulty difficulty)
setEquipmentBasedOnDifficulty(DifficultyInstance difficulty)
public static EquipmentSlot
d(adz arg0)
method_13083(class_1071 arg0)
getEquipmentSlot(ItemStack item)
getSlotForItemStack(ItemStack stack)
public static Item
a(sb arg0, int arg1)
method_13078(class_2968 arg0, int arg1)
getEquipmentForSlot(EquipmentSlot slot, int tier)
getArmorByChance(EntityEquipmentSlot slotIn, int chance)
protected void
b(qq arg0)
method_10987(class_2607 arg0)
enchantEquipment(LocalDifficulty difficulty)
setEnchantmentBasedOnDifficulty(DifficultyInstance difficulty)
public EntityData
a(qq arg0, si arg1)
method_6156(class_2607 arg0, class_1700 arg1)
initialize(LocalDifficulty localDifficulty, EntityData data)
onInitialSpawn(DifficultyInstance difficulty, IEntityLivingData livingdata)
public boolean
cP()
method_4476()
canBeControlledByRider()
canBeSteered()
public void
cQ()
method_6164()
setPersistent()
enablePersistence()
public void
a(sb arg0, float arg1)
method_13077(class_2968 arg0, float arg1)
setInventoryDropChances(EquipmentSlot slot, float chance)
setDropChance(EntityEquipmentSlot slotIn, float chance)
public boolean
cR()
method_5395()
canPickupLoot()
canPickUpLoot()
public void
m(boolean arg0)
method_5399(boolean arg0)
setCanPickupLoot(boolean blValue)
setCanPickUpLoot(boolean canPickup)
public boolean
cS()
method_5396()
isPersistent()
isNoDespawnRequired()
public final boolean
a(zs arg0, adz arg1, qr arg2)
method_6100(class_988 arg0, class_1071 arg1, class_2961 arg2)
interact(PlayerEntity arg0, ItemStack arg1, InteractionHand arg2)
processInitialInteract(EntityPlayer arg0, ItemStack arg1, EnumHand arg2)
protected boolean
a(zs arg0, qr arg1, adz arg2)
method_13079(class_988 arg0, class_2961 arg1, class_1071 arg2)
interactMob(PlayerEntity player, InteractionHand hand, ItemStack itemInHand)
processInteract(EntityPlayer player, EnumHand hand, ItemStack stack)
protected void
cT()
method_6159()
updateLeashStatus()
updateLeashedState()
public void
a(boolean arg0, boolean arg1)
method_6157(boolean arg0, boolean arg1)
detachLeash(boolean sync, boolean dropItem)
clearLeashed(boolean sendPacket, boolean dropLead)
public boolean
a(zs arg0)
method_2537(class_988 arg0)
isTameable(PlayerEntity player)
canBeLeashedTo(EntityPlayer player)
public boolean
cU()
method_6161()
isLeashed()
getLeashed()
public Entity
cV()
method_6162()
getLeashHolder()
getLeashedToEntity()
public void
b(rw arg0, boolean arg1)
method_6158(class_864 arg0, boolean arg1)
attachLeash(Entity leashHolder, boolean sync)
setLeashedToEntity(Entity entityIn, boolean sendAttachNotification)
public boolean
a(rw arg0, boolean arg1)
method_12975(class_864 arg0, boolean arg1)
startRiding(Entity arg0, boolean arg1)
startRiding(Entity arg0, boolean arg1)
private void
cY()
method_6163()
readLeashNbt()
recreateLeash()
public boolean
c(int arg0, adz arg1)
method_10956(int arg0, class_1071 arg1)
replaceItem(int arg0, ItemStack arg1)
replaceItemInInventory(int arg0, ItemStack arg1)
public static boolean
b(sb arg0, adz arg1)
method_13080(class_2968 arg0, class_1071 arg1)
isValidSlotForItem(EquipmentSlot slot, ItemStack item)
isItemStackInSlot(EntityEquipmentSlot slotIn, ItemStack stack)
public boolean
ct()
method_2609()
isLocallyControlled()
isServerWorld()
public void
n(boolean arg0)
method_5398(boolean arg0)
setNoAi(boolean noAi)
setNoAI(boolean disable)
public void
o(boolean arg0)
method_13084(boolean arg0)
setLeftHanded(boolean leftHanded)
setLeftHanded(boolean disable)
public boolean
cW()
method_5393()
isNoAi()
isAIDisabled()
public boolean
cX()
method_13082()
isLeftHanded()
isLeftHanded()
public Arm
cw()
method_13060()
getMainArm()
getPrimaryHand()
public void
a(byte arg0)
method_2485(byte arg0)
doEvent(byte arg0)
handleStatusUpdate(byte arg0)
public float
cM()
method_2638()
getShadowScale()
getRenderSizeModifier()