public class EntitySkeleton extends EntityMob implements IRangedAttackMob
Entity.EnumEntitySize
entityToAttack, field_110179_h, field_110181_i, fleeingTick, hasAttacked
defaultPitch, equipmentDropChances, experienceValue, livingSoundTime, numTicksToChaseTarget, targetTasks, tasks
arrowHitTimer, attackedAtYaw, attackingPlayer, attackTime, cameraPitch, dead, deathTime, entityAge, field_110154_aX, field_70741_aB, field_70763_ax, field_70764_aw, field_70768_au, field_70769_ao, field_70770_ap, hurtTime, isJumping, isSwingInProgress, jumpMovementFactor, lastDamage, limbSwing, limbSwingAmount, maxHurtResistantTime, maxHurtTime, moveForward, moveStrafing, newPosRotationIncrements, newPosX, newPosY, newPosZ, newRotationPitch, newRotationYaw, prevCameraPitch, prevHealth, prevLimbSwingAmount, prevRenderYawOffset, prevRotationYawHead, prevSwingProgress, randomYawVelocity, recentlyHit, renderYawOffset, rotationYawHead, scoreValue, swingProgress, swingProgressInt
addedToChunk, boundingBox, capturedDrops, captureDrops, chunkCoordX, chunkCoordY, chunkCoordZ, dataWatcher, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, extendedProperties, fallDistance, field_70135_K, fireResistance, forceSpawn, height, hurtResistantTime, ignoreFrustumCheck, inPortal, inWater, isAirBorne, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, isImmuneToFire, isInWeb, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, myEntitySize, noClip, onGround, portalCounter, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, renderDistanceWeight, riddenByEntity, ridingEntity, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, stepHeight, teleportDirection, ticksExisted, timeUntilPortal, velocityChanged, width, worldObj, yOffset, ySize
mobSelector
Constructor and Description |
---|
EntitySkeleton(World par1World) |
Modifier and Type | Method and Description |
---|---|
protected void |
addRandomArmor() |
protected void |
applyEntityAttributes() |
boolean |
attackEntityAsMob(Entity par1Entity) |
void |
attackEntityWithRangedAttack(EntityLivingBase par1EntityLivingBase,
float par2) |
protected void |
dropFewItems(boolean par1,
int par2) |
protected void |
dropRareDrop(int par1) |
protected void |
entityInit() |
protected void |
func_145780_a(int p_145780_1_,
int p_145780_2_,
int p_145780_3_,
Block p_145780_4_) |
EnumCreatureAttribute |
getCreatureAttribute() |
protected java.lang.String |
getDeathSound() |
protected Item |
getDropItem() |
protected java.lang.String |
getHurtSound() |
protected java.lang.String |
getLivingSound() |
int |
getSkeletonType() |
double |
getYOffset() |
boolean |
isAIEnabled() |
void |
onDeath(DamageSource par1DamageSource) |
void |
onLivingUpdate() |
IEntityLivingData |
onSpawnWithEgg(IEntityLivingData par1EntityLivingData) |
void |
readEntityFromNBT(NBTTagCompound par1NBTTagCompound) |
void |
setCombatTask() |
void |
setCurrentItemOrArmor(int par1,
ItemStack par2ItemStack) |
void |
setSkeletonType(int par1) |
void |
updateRidden() |
void |
writeEntityToNBT(NBTTagCompound par1NBTTagCompound) |
attackEntity, attackEntityFrom, findPlayerToAttack, func_146066_aG, func_146067_o, getBlockPathWeight, getCanSpawnHere, getSplashSound, getSwimSound, isValidLightLevel, onUpdate
detachHome, func_110174_bM, func_142017_o, getEntityToAttack, getHomePosition, hasHome, hasPath, isMovementCeased, isWithinHomeDistance, isWithinHomeDistanceCurrentPosition, setHomeArea, setPathToEntity, setTarget, updateEntityActionState, updateLeashedState, updateWanderPath
allowLeashing, canAttackClass, canBeSteered, canDespawn, canPickUpLoot, clearLeashed, despawnEntity, dropEquipment, eatGrassBonus, enchantEquipment, faceEntity, func_110146_f, func_110163_bv, func_130225_q, getAlwaysRenderNameTag, getAlwaysRenderNameTagForRender, getArmorItemForSlot, getArmorPosition, getAttackTarget, getCommandSenderName, getCustomNameTag, getEntitySenses, getEquipmentInSlot, getExperiencePoints, getHeldItem, getJumpHelper, getLastActiveItems, getLeashed, getLeashedToEntity, getLookHelper, getMaxSafePointTries, getMaxSpawnedInChunk, getMoveHelper, getNavigator, getRenderSizeModifier, getTalkInterval, getVerticalFaceSpeed, hasCustomNameTag, interact, interactFirst, isNoDespawnRequired, onEntityUpdate, playLivingSound, setAIMoveSpeed, setAlwaysRenderNameTag, setAttackTarget, setCanPickUpLoot, setCustomNameTag, setEquipmentDropChance, setLeashedToEntity, setMoveForward, spawnExplosionParticle, updateAITasks
addPotionEffect, applyArmorCalculations, applyPotionDamageCalculations, canBeCollidedWith, canBePushed, canBreatheUnderwater, canEntityBeSeen, clearActivePotions, collideWithEntity, collideWithNearbyEntities, curePotionEffects, damageArmor, damageEntity, decreaseAirSupply, dismountEntity, fall, func_110142_aN, func_142015_aE, func_94060_bK, getAbsorptionAmount, getActivePotionEffect, getActivePotionEffects, getAge, getAIMoveSpeed, getAITarget, getArrowCountInEntity, getAttributeMap, getEntityAttribute, getEyeHeight, getHealth, getItemIcon, getLastAttacker, getLastAttackerTime, getLook, getLookVec, getMaxHealth, getPosition, getRNG, getRotationYawHead, getSoundPitch, getSoundVolume, getSwingProgress, getTeam, getTotalArmorValue, handleHealthUpdate, heal, isChild, isClientWorld, isEntityAlive, isEntityUndead, isMovementBlocked, isOnLadder, isOnSameTeam, isOnTeam, isPlayer, isPlayerSleeping, isPotionActive, isPotionActive, isPotionApplicable, jump, kill, knockBack, moveEntityWithHeading, onChangedPotionEffect, onDeathUpdate, onFinishedPotionEffect, onItemPickup, onNewPotionEffect, performHurtAnimation, rayTrace, removePotionEffect, removePotionEffectClient, renderBrokenItemStack, setAbsorptionAmount, setArrowCountInEntity, setBeenAttacked, setHealth, setJumping, setLastAttacker, setPositionAndRotation2, setPositionAndUpdate, setRevengeTarget, setRotationYawHead, setSprinting, shouldRiderFaceForward, swingItem, updateAITick, updateArmSwingProgress, updateFallState, updatePotionEffects
addEntityCrashInfo, addToPlayerScore, addVelocity, applyEntityCollision, canAttackWithItem, canRenderOnFire, canRiderInteract, canTriggerWalking, copyDataFrom, copyLocationAndAnglesFrom, dealFireDamage, doesEntityNotTriggerPressurePlate, dropItem, entityDropItem, equals, extinguish, func_145748_c_, func_145771_j, func_145772_a, func_145774_a, func_145775_I, func_145778_a, func_145781_i, getAir, getBoundingBox, getBrightness, getBrightnessForRender, getCollisionBorderSize, getCollisionBox, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityData, getEntityId, getEntityString, getExtendedProperties, getFlag, getMaxInPortalTime, getMountedYOffset, getParts, getPersistentID, getPickedResult, getPortalCooldown, getShadowSize, getTeleportDirection, getUniqueID, handleLavaMovement, handleWaterMovement, hashCode, hitByEntity, isBurning, isCreatureType, isEating, isEntityEqual, isEntityInsideOpaqueBlock, isEntityInvulnerable, isImmuneToFire, isInRangeToRender3d, isInRangeToRenderDist, isInsideOfMaterial, isInvisible, isInvisibleToPlayer, isInWater, isOffsetPositionInLiquid, isPushedByWater, isRiding, isSneaking, isSprinting, isWet, mountEntity, moveEntity, moveFlying, newDoubleNBTList, newFloatNBTList, onChunkLoad, onCollideWithPlayer, onKillEntity, onStruckByLightning, playSound, preparePlayerToSpawn, readFromNBT, registerExtendedProperties, resetEntityId, setAir, setAngles, setDead, setEating, setEntityId, setFire, setFlag, setInPortal, setInvisible, setInWeb, setLocationAndAngles, setOnFireFromLava, setPosition, setPositionAndRotation, setRotation, setSize, setSneaking, setVelocity, setWorld, shouldDismountInWater, shouldRenderInPass, shouldRiderSit, shouldSetPosAfterLoading, toString, travelToDimension, updateRiderPosition, writeMountToNBT, writeToNBT, writeToNBTOptional
public EntitySkeleton(World par1World)
protected void applyEntityAttributes()
applyEntityAttributes
in class EntityMob
protected void entityInit()
entityInit
in class EntityLiving
public boolean isAIEnabled()
isAIEnabled
in class EntityLiving
protected java.lang.String getLivingSound()
getLivingSound
in class EntityLiving
protected java.lang.String getHurtSound()
getHurtSound
in class EntityMob
protected java.lang.String getDeathSound()
getDeathSound
in class EntityMob
protected void func_145780_a(int p_145780_1_, int p_145780_2_, int p_145780_3_, Block p_145780_4_)
func_145780_a
in class Entity
public boolean attackEntityAsMob(Entity par1Entity)
attackEntityAsMob
in class EntityMob
public EnumCreatureAttribute getCreatureAttribute()
getCreatureAttribute
in class EntityLivingBase
public void onLivingUpdate()
onLivingUpdate
in class EntityMob
public void updateRidden()
updateRidden
in class EntityLivingBase
public void onDeath(DamageSource par1DamageSource)
onDeath
in class EntityLivingBase
protected Item getDropItem()
getDropItem
in class EntityLiving
protected void dropFewItems(boolean par1, int par2)
dropFewItems
in class EntityLiving
protected void dropRareDrop(int par1)
dropRareDrop
in class EntityLivingBase
protected void addRandomArmor()
addRandomArmor
in class EntityLiving
public IEntityLivingData onSpawnWithEgg(IEntityLivingData par1EntityLivingData)
onSpawnWithEgg
in class EntityLiving
public void setCombatTask()
public void attackEntityWithRangedAttack(EntityLivingBase par1EntityLivingBase, float par2)
attackEntityWithRangedAttack
in interface IRangedAttackMob
public int getSkeletonType()
public void setSkeletonType(int par1)
public void readEntityFromNBT(NBTTagCompound par1NBTTagCompound)
readEntityFromNBT
in class EntityLiving
public void writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
writeEntityToNBT
in class EntityLiving
public void setCurrentItemOrArmor(int par1, ItemStack par2ItemStack)
setCurrentItemOrArmor
in class EntityLiving
public double getYOffset()
getYOffset
in class Entity