Class Spider
- java.lang.Object
-
- net.minecraft.world.entity.Entity
-
- net.minecraft.world.entity.LivingEntity
-
- net.minecraft.world.entity.Mob
-
- net.minecraft.world.entity.monster.Monster
-
- net.minecraft.world.entity.monster.Spider
-
- Direct Known Subclasses:
CaveSpider
public class Spider extends Monster
-
-
Field Summary
-
Fields inherited from class net.minecraft.world.entity.monster.Monster
attackStrength
-
Fields inherited from class net.minecraft.world.entity.Mob
entityToAttack, fleeingTick, hasAttacked
-
Fields inherited from class net.minecraft.world.entity.LivingEntity
activePotionsMap, arrowHitTempCounter, arrowHitTimer, attackedAtYaw, attackingPlayer, attackTime, cameraPitch, carryoverDamage, dead, deathTime, defaultPitch, entityAge, entityType, experienceValue, field_703_S, field_704_R, field_705_Q, field_9325_U, field_9326_T, field_9345_F, field_9349_D, field_9353_B, field_9355_A, field_9358_y, field_9359_x, field_9360_w, field_9361_v, field_9362_u, field_9363_r, field_9365_p, health, heartsHalvesLife, hurtTime, isJumping, jumpMovementFactor, landMovementFactor, maxHurtTime, moveForward, moveSpeed, moveStrafing, naturalArmorRating, newPosRotationIncrements, newPosX, newPosY, newPosZ, newRotationPitch, newRotationYaw, numTicksToChaseTarget, prevCameraPitch, prevHealth, prevRenderYawOffset, prevRotationYawHead, prevSwingProgress, randomYawVelocity, recentlyHit, renderYawOffset, rotationYawHead, scoreValue, swingProgress, targetTasks, tasks, texture
-
Fields inherited from class net.minecraft.world.entity.Entity
addedToChunk, boundingBox, chunkCoordX, chunkCoordY, chunkCoordZ, cloakUrl, dataWatcher, distanceWalkedModified, entityCollisionReduction, entityId, fallDistance, field_9293_aM, fireResistance, heartsLife, height, ignoreFrustumCheck, inWater, isAirBorne, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, isImmuneToFire, isInWeb, isJesusColliding, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, noClip, onGround, playerNameForSkin, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, renderDistanceWeight, riddenByEntity, ridingEntity, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, skinUrl, slim, stepHeight, ticksExisted, velocityChanged, width, worldObj, yOffset, ySize
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidattackEntity(Entity var1, float var2)protected booleancanTriggerWalking()protected voiddropFewItems(boolean var1, int var2)protected voidentityInit()protected EntityfindPlayerToAttack()voidfunc_40148_a(boolean var1)booleanfunc_40149_l_()EnumCreatureAttributegetCreatureAttribute()protected java.lang.StringgetDeathSound()protected intgetDropItemId()protected java.lang.StringgetHurtSound()protected java.lang.StringgetLivingSound()intgetMaxHealth()doublegetMountedYOffset()booleanisOnLadder()booleanisPotionApplicable(PotionEffect var1)voidonLivingUpdate()voidonUpdate()voidreadEntityFromNBT(NBTTagCompound var1)voidsetInWeb()@net.minecraft.modding.api.Side.Client floatspiderScaleAmount()voidwriteEntityToNBT(NBTTagCompound var1)-
Methods inherited from class net.minecraft.world.entity.monster.Monster
attackEntityAsMob, attackEntityFrom, getBlockPathWeight, getCanSpawnHere, isValidLightLevel
-
Methods inherited from class net.minecraft.world.entity.Mob
attackBlockedEntity, getEntityToAttack, getSpeedModifier, hasPath, isMovementCeased, setPathToEntity, setTarget, updateEntityActionState, updateWanderPath
-
Methods inherited from class net.minecraft.world.entity.LivingEntity
addPotionEffect, applyArmorCalculations, applyPotionDamageCalculations, canBeCollidedWith, canBePushed, canBreatheUnderwater, canDespawn, canEntityBeSeen, clearActivePotions, damageArmor, damageEntity, decreaseAirSupply, despawnEntity, detachHome, dropRareDrop, eatGrassBonus, faceEntity, fall, func_48079_f, func_48090_aM, func_48098_g, func_48100_a, func_48101_aR, getActivePotionEffect, getActivePotionEffects, getAge, getAITarget, getAttackTarget, getEffectiveHealth, getExperiencePoints, getEyeHeight, getHeadYaw, getHealth, getHeldItem, getHomePosition, getItemIcon, getJumpHelper, getLastAttackingEntity, getLook, getLookHelper, getLookVec, getMaximumHomeDistance, getMaxSpawnedInChunk, getMoveHelper, getNavigator, getPosition, getRenderSizeModifier, getRNG, getSoundVolume, getSwingProgress, getTalkInterval, getTexture, getTotalArmorValue, getVerticalFaceSpeed, handleHealthUpdate, hasHome, heal, isAIEnabled, isBlocking, isChild, isClientWorld, isEntityAlive, isEntityUndead, isMovementBlocked, isPlayer, isPlayerSleeping, isPotionActive, isWithinHomeDistance, isWithinHomeDistanceCurrentPosition, jump, kill, knockBack, moveEntityWithHeading, onChangedPotionEffect, onDeath, onDeathUpdate, onEntityDeath, onEntityUpdate, onFinishedPotionEffect, onNewPotionEffect, performHurtAnimation, playLivingSound, rayTrace, removePotionEffect, renderBrokenItemStack, setAttackTarget, setEntityHealth, setHomeArea, setJumping, setLastAttackingEntity, setMoveForward, setPositionAndRotation2, setPositionAndUpdate, setRevengeTarget, setSize, spawnExplosionParticle, updateAITasks, updateAITick, updatePotionEffects, updateRidden
-
Methods inherited from class net.minecraft.world.entity.Entity
addEntityID, addToPlayerScore, addVelocity, applyEntityCollision, canAttackWithItem, dealFireDamage, dropItem, dropItemWithOffset, entityDropItem, equals, extinguish, getAir, getBoundingBox, getBrightness, getBrightnessForRender, getCollisionBorderSize, getCollisionBox, getCurrentBiomeName, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityString, getFlag, getInventory, getParts, getShadowSize, getUsername, getYOffset, handleLavaMovement, handleWaterMovement, hashCode, interact, isBurning, isEating, isEntityEqual, isEntityInsideOpaqueBlock, isImmuneToFire, isInRangeToRenderDist, isInRangeToRenderVec3D, isInsideOfMaterial, isInsideOfMaterial, isInWater, isOffsetPositionInLiquid, isRiding, isSneaking, isSprinting, isSubmergedInAnyFluid, isWet, mountEntity, moveEntity, moveFlying, newDoubleNBTList, newFloatNBTList, onCollideWithPlayer, onKillEntity, onStruckByLightning, outfitWithItem, playStepSound, preparePlayerToSpawn, pushOutOfBlocks, readFromNBT, setAir, setAngles, setBeenAttacked, setDead, setEating, setFire, setFlag, setInPortal, setLocationAndAngles, setOnFireFromLava, setPosition, setPositionAndRotation, setRotation, setSneaking, setSprinting, setVelocity, setWorld, toString, updateFallState, updateRiderPosition, writeToNBT
-
-
-
-
Constructor Detail
-
Spider
public Spider(World var1)
-
-
Method Detail
-
entityInit
protected void entityInit()
- Overrides:
entityInitin classLivingEntity
-
onLivingUpdate
public void onLivingUpdate()
- Overrides:
onLivingUpdatein classMonster
-
getMaxHealth
public int getMaxHealth()
- Specified by:
getMaxHealthin classLivingEntity
-
getMountedYOffset
public double getMountedYOffset()
- Overrides:
getMountedYOffsetin classEntity
-
canTriggerWalking
protected boolean canTriggerWalking()
- Overrides:
canTriggerWalkingin classEntity
-
findPlayerToAttack
protected Entity findPlayerToAttack()
- Overrides:
findPlayerToAttackin classMonster
-
getLivingSound
protected java.lang.String getLivingSound()
- Overrides:
getLivingSoundin classLivingEntity
-
getHurtSound
protected java.lang.String getHurtSound()
- Overrides:
getHurtSoundin classLivingEntity
-
getDeathSound
protected java.lang.String getDeathSound()
- Overrides:
getDeathSoundin classLivingEntity
-
attackEntity
protected void attackEntity(Entity var1, float var2)
- Overrides:
attackEntityin classMonster
-
writeEntityToNBT
public void writeEntityToNBT(NBTTagCompound var1)
- Overrides:
writeEntityToNBTin classMonster
-
readEntityFromNBT
public void readEntityFromNBT(NBTTagCompound var1)
- Overrides:
readEntityFromNBTin classMonster
-
getDropItemId
protected int getDropItemId()
- Overrides:
getDropItemIdin classLivingEntity
-
dropFewItems
protected void dropFewItems(boolean var1, int var2)- Overrides:
dropFewItemsin classLivingEntity
-
isOnLadder
public boolean isOnLadder()
- Overrides:
isOnLadderin classLivingEntity
-
spiderScaleAmount
@Client public @net.minecraft.modding.api.Side.Client float spiderScaleAmount()
-
getCreatureAttribute
public EnumCreatureAttribute getCreatureAttribute()
- Overrides:
getCreatureAttributein classLivingEntity
-
isPotionApplicable
public boolean isPotionApplicable(PotionEffect var1)
- Overrides:
isPotionApplicablein classLivingEntity
-
func_40149_l_
public boolean func_40149_l_()
-
func_40148_a
public void func_40148_a(boolean var1)
-
-