public class EntityWither extends EntityMob implements IRangedAttackMob
EntityLiving.SpawnPlacementType
FLEEING_SPEED_MODIFIER, FLEEING_SPEED_MODIFIER_UUID
experienceValue, inventoryArmorDropChances, inventoryHandsDropChances, jumpHelper, livingSoundTime, moveHelper, navigator, targetTasks, tasks
activeItemStack, activeItemStackUseCount, arrowHitTimer, attackedAtYaw, attackingPlayer, cameraPitch, dead, deathTime, entityAge, HAND_STATES, hurtTime, interpTargetPitch, interpTargetX, interpTargetY, interpTargetYaw, interpTargetZ, isJumping, isSwingInProgress, jumpMovementFactor, lastDamage, limbSwing, limbSwingAmount, maxHurtResistantTime, maxHurtTime, movedDistance, moveForward, moveStrafing, newPosRotationIncrements, onGroundSpeedFactor, prevCameraPitch, prevLimbSwingAmount, prevMovedDistance, prevOnGroundSpeedFactor, prevRenderYawOffset, prevRotationYawHead, prevSwingProgress, randomUnused1, randomUnused2, randomYawVelocity, recentlyHit, renderYawOffset, rotationYawHead, scoreValue, swingingHand, swingProgress, swingProgressInt, ticksElytraFlying, ticksSinceLastSwing, unused180
addedToChunk, cachedUniqueIdString, capturedDrops, captureDrops, chunkCoordX, chunkCoordY, chunkCoordZ, dataManager, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, fallDistance, fireResistance, firstUpdate, forceSpawn, glowing, height, hurtResistantTime, ignoreFrustumCheck, inPortal, inWater, isAirBorne, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, isImmuneToFire, isInWeb, lastPortalPos, lastPortalVec, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, noClip, onGround, portalCounter, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, rideCooldown, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, stepHeight, teleportDirection, ticksExisted, timeUntilPortal, velocityChanged, width, worldObj
MOB_SELECTOR, VISIBLE_MOB_SELECTOR
Constructor and Description |
---|
EntityWither(World worldIn) |
Modifier and Type | Method and Description |
---|---|
void |
addPotionEffect(PotionEffect potioneffectIn) |
void |
addTrackingPlayer(EntityPlayerMP player) |
protected void |
applyEntityAttributes() |
boolean |
attackEntityFrom(DamageSource source,
float amount) |
void |
attackEntityWithRangedAttack(EntityLivingBase target,
float p_82196_2_) |
protected boolean |
canBeRidden(Entity entityIn) |
static boolean |
canDestroyBlock(Block blockIn) |
protected void |
despawnEntity() |
protected void |
dropFewItems(boolean wasRecentlyHit,
int lootingModifier) |
protected void |
entityInit() |
void |
fall(float distance,
float damageMultiplier) |
protected SoundEvent |
getAmbientSound() |
int |
getBrightnessForRender(float partialTicks) |
EnumCreatureAttribute |
getCreatureAttribute() |
protected SoundEvent |
getDeathSound() |
float |
getHeadXRotation(int p_82210_1_) |
float |
getHeadYRotation(int p_82207_1_) |
protected SoundEvent |
getHurtSound() |
int |
getInvulTime() |
int |
getWatchedTargetId(int head) |
void |
ignite() |
protected void |
initEntityAI() |
boolean |
isArmored() |
boolean |
isNonBoss() |
void |
onLivingUpdate() |
void |
readEntityFromNBT(NBTTagCompound compound) |
void |
removeTrackingPlayer(EntityPlayerMP player) |
void |
setInvulTime(int time) |
void |
setInWeb() |
protected void |
updateAITasks() |
void |
updateWatchedTargetId(int targetOffset,
int newId) |
void |
writeEntityToNBT(NBTTagCompound compound) |
attackEntityAsMob, canDropLoot, getBlockPathWeight, getCanSpawnHere, getFallSound, getSoundCategory, getSplashSound, getSwimSound, isValidLightLevel, onUpdate
detachHome, getHomePosition, getMaximumHomeDistance, hasHome, hasPath, isWithinHomeDistanceCurrentPosition, isWithinHomeDistanceFromPosition, onLeashDistance, setHomePosAndDistance, updateLeashedState
canAttackClass, canBeLeashedTo, canBeSteered, canDespawn, canEquipItem, canPickUpLoot, clearLeashed, createBodyHelper, dropEquipment, dropLoot, eatGrassBonus, enablePersistence, faceEntity, getArmorByChance, getArmorInventoryList, getAttackTarget, getDropItem, getEntitySenses, getExperiencePoints, getHeldEquipment, getHorizontalFaceSpeed, getItemStackFromSlot, getJumpHelper, getLeashed, getLeashedToEntity, getLookHelper, getLootTable, getMaxFallHeight, getMaxSpawnedInChunk, getMoveHelper, getNavigator, getNewNavigator, getPathPriority, getPrimaryHand, getRenderSizeModifier, getSlotForItemStack, getTalkInterval, getVerticalFaceSpeed, handleStatusUpdate, isAIDisabled, isItemStackInSlot, isLeftHanded, isNoDespawnRequired, isNotColliding, isServerWorld, onEntityUpdate, onInitialSpawn, playHurtSound, playLivingSound, processInitialInteract, processInteract, replaceItemInInventory, setAIMoveSpeed, setAttackTarget, setCanPickUpLoot, setDropChance, setEnchantmentBasedOnDifficulty, setEquipmentBasedOnDifficulty, setItemStackToSlot, setLeashedToEntity, setLeftHanded, setMoveForward, setMoveStrafing, setNoAI, setPathPriority, spawnExplosionParticle, startRiding, updateDistance, updateEntityActionState, updateEquipmentIfNeeded
applyArmorCalculations, applyPotionDamageCalculations, areAllPotionsAmbient, attemptTeleport, canBeCollidedWith, canBeHitWithPotion, canBePushed, canBreatheUnderwater, canEntityBeSeen, clearActivePotions, collideWithEntity, collideWithNearbyEntities, curePotionEffects, damageArmor, damageEntity, damageShield, decreaseAirSupply, dismountEntity, dismountRidingEntity, frostWalk, getAbsorptionAmount, getActiveHand, getActiveItemStack, getActivePotionEffect, getActivePotionEffects, getAge, getAIMoveSpeed, getAITarget, getAlwaysRenderNameTagForRender, getArrowCountInEntity, getAttackingEntity, getAttributeMap, getCapability, getCombatTracker, getEntityAttribute, getHealth, getHeldItem, getHeldItemMainhand, getHeldItemOffhand, getItemInUseCount, getItemInUseMaxCount, getJumpUpwardsMotion, getLastAttacker, getLastAttackerTime, getLook, getLookVec, getMaxHealth, getRevengeTimer, getRNG, getRotationYawHead, getSoundPitch, getSoundVolume, getSwingProgress, getTicksElytraFlying, getTotalArmorValue, handleJumpLava, handleJumpWater, hasCapability, heal, isActiveItemStackBlocking, isChild, isElytraFlying, isEntityAlive, isEntityUndead, isHandActive, isMovementBlocked, isOnLadder, isPlayer, isPlayerSleeping, isPotionActive, isPotionApplicable, jump, kill, knockBack, markPotionsDirty, moveEntityWithHeading, notifyDataManagerChange, onChangedPotionEffect, onDeath, onDeathUpdate, onFinishedPotionEffect, onItemPickup, onItemUseFinish, onKillCommand, onNewPotionEffect, performHurtAnimation, playEquipSound, removeActivePotionEffect, removePotionEffect, renderBrokenItemStack, resetActiveHand, resetPotionEffectMetadata, sendEndCombat, sendEnterCombat, setAbsorptionAmount, setActiveHand, setArrowCountInEntity, setBeenAttacked, setHealth, setHeldItem, setJumping, setLastAttacker, setPositionAndRotationDirect, setRenderYawOffset, setRevengeTarget, setRotationYawHead, setSprinting, shouldRiderFaceForward, stopActiveHand, swingArm, updateActiveHand, updateArmSwingProgress, updateFallState, updateItemUse, updatePotionEffects, updatePotionMetadata, updateRidden
addChatMessage, addEntityCrashInfo, addPassenger, addTag, addToPlayerScore, addVelocity, applyEnchantments, applyEntityCollision, applyOrientationToEntity, applyPlayerInteraction, canBeAttackedWithItem, canCommandSenderUseCommand, canFitPassenger, canPassengerSteer, canRenderOnFire, canRiderInteract, canTriggerWalking, changeDimension, copyLocationAndAnglesFrom, createRunningParticles, dealFireDamage, decrementTimeUntilPortal, deserializeNBT, doBlockCollisions, doesEntityNotTriggerPressurePlate, dropItem, dropItemWithOffset, entityDropItem, equals, extinguish, getAdjustedHorizontalFacing, getAir, getAlwaysRenderNameTag, getBrightness, getCachedUniqueIdString, getCollisionBorderSize, getCollisionBoundingBox, getCollisionBox, getCommandSenderEntity, getCommandStats, getControllingPassenger, getCustomNameTag, getDataManager, getDisplayName, getDistance, getDistanceSq, getDistanceSq, getDistanceSqToCenter, getDistanceSqToEntity, getDistanceToEntity, getEntityBoundingBox, getEntityData, getEntityId, getEntityString, getEntityWorld, getEquipmentAndArmor, getExplosionResistance, getEyeHeight, getFlag, getHorizontalFacing, getHoverEvent, getLastPortalVec, getLowestRidingEntity, getMaxInPortalTime, getMirroredYaw, getMountedYOffset, getName, getParts, getPassengers, getPersistentID, getPickedResult, getPortalCooldown, getPosition, getPositionEyes, getPositionVector, getPushReaction, getRecursivePassengers, getRecursivePassengersByType, getRenderBoundingBox, getRenderDistanceWeight, getRidingEntity, getRotatedYaw, getServer, getTags, getTeam, getTeleportDirection, getUniqueID, getVectorForRotation, getYOffset, handleWaterMovement, hasCustomName, hashCode, hitByEntity, ignoreItemEntityData, isBeingRidden, isBurning, isCreatureType, isEntityEqual, isEntityInsideOpaqueBlock, isEntityInvulnerable, isGlowing, isImmuneToExplosions, isImmuneToFire, isInLava, isInRangeToRender3d, isInRangeToRenderDist, isInsideOfMaterial, isInvisible, isInvisibleToPlayer, isInWater, isOffsetPositionInLiquid, isOnSameTeam, isOnScoreboardTeam, isOutsideBorder, isPassenger, isPushedByWater, isRiding, isRidingOrBeingRiddenBy, isRidingSameEntity, isSilent, isSneaking, isSpectatedByPlayer, isSprinting, isWet, moveEntity, moveRelative, moveToBlockPosAndAngles, newDoubleNBTList, newFloatNBTList, onChunkLoad, onCollideWithPlayer, onKillEntity, onStruckByLightning, playSound, playStepSound, preparePlayerToSpawn, pushOutOfBlocks, rayTrace, readFromNBT, removePassenger, removePassengers, removeTag, resetEntityId, resetHeight, resetPositionToBB, sendCommandFeedback, serializeNBT, setAir, setAlwaysRenderNameTag, setAngles, setCommandStat, setCommandStats, setCustomNameTag, setDead, setDropItemsWhenDead, setEntityBoundingBox, setEntityId, setEntityInvulnerable, setFire, setFlag, setGlowing, setInvisible, setLocationAndAngles, setOnFireFromLava, setOutsideBorder, setPortal, setPosition, setPositionAndRotation, setPositionAndUpdate, setPositionNonDirty, setRenderDistanceWeight, setRotation, setSilent, setSize, setSneaking, setUniqueId, setVelocity, setWorld, shouldDismountInWater, shouldRenderInPass, shouldRiderSit, shouldSetPosAfterLoading, spawnRunningParticles, startRiding, toString, updatePassenger, verifyExplosion, writeToNBT, writeToNBTAtomically, writeToNBTOptional
public EntityWither(World worldIn)
protected void initEntityAI()
initEntityAI
in class EntityLiving
protected void entityInit()
entityInit
in class EntityLiving
public void writeEntityToNBT(NBTTagCompound compound)
writeEntityToNBT
in class EntityLiving
public void readEntityFromNBT(NBTTagCompound compound)
readEntityFromNBT
in class EntityLiving
protected SoundEvent getAmbientSound()
getAmbientSound
in class EntityLiving
protected SoundEvent getHurtSound()
getHurtSound
in class EntityMob
protected SoundEvent getDeathSound()
getDeathSound
in class EntityMob
public void onLivingUpdate()
onLivingUpdate
in class EntityMob
protected void updateAITasks()
updateAITasks
in class EntityLiving
public static boolean canDestroyBlock(Block blockIn)
public void ignite()
public void addTrackingPlayer(EntityPlayerMP player)
addTrackingPlayer
in class Entity
public void removeTrackingPlayer(EntityPlayerMP player)
removeTrackingPlayer
in class Entity
public void attackEntityWithRangedAttack(EntityLivingBase target, float p_82196_2_)
attackEntityWithRangedAttack
in interface IRangedAttackMob
public boolean attackEntityFrom(DamageSource source, float amount)
attackEntityFrom
in class EntityMob
protected void dropFewItems(boolean wasRecentlyHit, int lootingModifier)
dropFewItems
in class EntityLiving
protected void despawnEntity()
despawnEntity
in class EntityLiving
public int getBrightnessForRender(float partialTicks)
getBrightnessForRender
in class Entity
public void fall(float distance, float damageMultiplier)
fall
in class EntityLivingBase
public void addPotionEffect(PotionEffect potioneffectIn)
addPotionEffect
in class EntityLivingBase
protected void applyEntityAttributes()
applyEntityAttributes
in class EntityMob
public float getHeadYRotation(int p_82207_1_)
public float getHeadXRotation(int p_82210_1_)
public int getInvulTime()
public void setInvulTime(int time)
public int getWatchedTargetId(int head)
public void updateWatchedTargetId(int targetOffset, int newId)
public boolean isArmored()
public EnumCreatureAttribute getCreatureAttribute()
getCreatureAttribute
in class EntityLivingBase
protected boolean canBeRidden(Entity entityIn)
canBeRidden
in class Entity