Class Squid
- java.lang.Object
-
- net.minecraft.world.entity.Entity
-
- net.minecraft.world.entity.LivingEntity
-
- net.minecraft.world.entity.Mob
-
- net.minecraft.world.entity.animal.WaterAnimal
-
- net.minecraft.world.entity.animal.Squid
-
- All Implemented Interfaces:
IAnimals
public class Squid extends WaterAnimal
-
-
Field Summary
Fields Modifier and Type Field Description float
field_21084_h
float
field_21085_g
float
field_21086_f
float
field_21087_c
float
field_21088_b
float
field_21089_a
float
lastTentacleAngle
float
tentacleAngle
-
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 void
dropFewItems(boolean var1, int var2)
boolean
getCanSpawnHere()
protected java.lang.String
getDeathSound()
protected int
getDropItemId()
protected java.lang.String
getHurtSound()
protected java.lang.String
getLivingSound()
int
getMaxHealth()
protected float
getSoundVolume()
boolean
interact(Player var1)
boolean
isInWater()
void
moveEntityWithHeading(float var1, float var2)
void
onLivingUpdate()
void
readEntityFromNBT(NBTTagCompound var1)
protected void
updateEntityActionState()
void
writeEntityToNBT(NBTTagCompound var1)
-
Methods inherited from class net.minecraft.world.entity.animal.WaterAnimal
canBreatheUnderwater, canDespawn, getExperiencePoints, getTalkInterval
-
Methods inherited from class net.minecraft.world.entity.Mob
attackBlockedEntity, attackEntity, findPlayerToAttack, getBlockPathWeight, getEntityToAttack, getSpeedModifier, hasPath, isMovementCeased, setPathToEntity, setTarget, updateWanderPath
-
Methods inherited from class net.minecraft.world.entity.LivingEntity
addPotionEffect, applyArmorCalculations, applyPotionDamageCalculations, attackEntityAsMob, attackEntityFrom, canBeCollidedWith, canBePushed, canEntityBeSeen, clearActivePotions, damageArmor, damageEntity, decreaseAirSupply, despawnEntity, detachHome, dropRareDrop, eatGrassBonus, entityInit, faceEntity, fall, func_48079_f, func_48090_aM, func_48098_g, func_48100_a, func_48101_aR, getActivePotionEffect, getActivePotionEffects, getAge, getAITarget, getAttackTarget, getCreatureAttribute, getEffectiveHealth, getEyeHeight, getHeadYaw, getHealth, getHeldItem, getHomePosition, getItemIcon, getJumpHelper, getLastAttackingEntity, getLook, getLookHelper, getLookVec, getMaximumHomeDistance, getMaxSpawnedInChunk, getMoveHelper, getNavigator, getPosition, getRenderSizeModifier, getRNG, getSwingProgress, getTexture, getTotalArmorValue, getVerticalFaceSpeed, handleHealthUpdate, hasHome, heal, isAIEnabled, isBlocking, isChild, isClientWorld, isEntityAlive, isEntityUndead, isMovementBlocked, isOnLadder, isPlayer, isPlayerSleeping, isPotionActive, isPotionApplicable, isWithinHomeDistance, isWithinHomeDistanceCurrentPosition, jump, kill, knockBack, onChangedPotionEffect, onDeath, onDeathUpdate, onEntityDeath, onEntityUpdate, onFinishedPotionEffect, onNewPotionEffect, onUpdate, 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, canTriggerWalking, dealFireDamage, dropItem, dropItemWithOffset, entityDropItem, equals, extinguish, getAir, getBoundingBox, getBrightness, getBrightnessForRender, getCollisionBorderSize, getCollisionBox, getCurrentBiomeName, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityString, getFlag, getInventory, getMountedYOffset, getParts, getShadowSize, getUsername, getYOffset, handleLavaMovement, handleWaterMovement, hashCode, isBurning, isEating, isEntityEqual, isEntityInsideOpaqueBlock, isImmuneToFire, isInRangeToRenderDist, isInRangeToRenderVec3D, isInsideOfMaterial, isInsideOfMaterial, 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, setInWeb, setLocationAndAngles, setOnFireFromLava, setPosition, setPositionAndRotation, setRotation, setSneaking, setSprinting, setVelocity, setWorld, toString, updateFallState, updateRiderPosition, writeToNBT
-
-
-
-
Field Detail
-
field_21089_a
public float field_21089_a
-
field_21088_b
public float field_21088_b
-
field_21087_c
public float field_21087_c
-
field_21086_f
public float field_21086_f
-
field_21085_g
public float field_21085_g
-
field_21084_h
public float field_21084_h
-
tentacleAngle
public float tentacleAngle
-
lastTentacleAngle
public float lastTentacleAngle
-
-
Constructor Detail
-
Squid
public Squid(World var1)
-
-
Method Detail
-
getMaxHealth
public int getMaxHealth()
- Specified by:
getMaxHealth
in classLivingEntity
-
writeEntityToNBT
public void writeEntityToNBT(NBTTagCompound var1)
- Overrides:
writeEntityToNBT
in classWaterAnimal
-
readEntityFromNBT
public void readEntityFromNBT(NBTTagCompound var1)
- Overrides:
readEntityFromNBT
in classWaterAnimal
-
getLivingSound
protected java.lang.String getLivingSound()
- Overrides:
getLivingSound
in classLivingEntity
-
getHurtSound
protected java.lang.String getHurtSound()
- Overrides:
getHurtSound
in classLivingEntity
-
getDeathSound
protected java.lang.String getDeathSound()
- Overrides:
getDeathSound
in classLivingEntity
-
getSoundVolume
protected float getSoundVolume()
- Overrides:
getSoundVolume
in classLivingEntity
-
getDropItemId
protected int getDropItemId()
- Overrides:
getDropItemId
in classLivingEntity
-
dropFewItems
protected void dropFewItems(boolean var1, int var2)
- Overrides:
dropFewItems
in classLivingEntity
-
onLivingUpdate
public void onLivingUpdate()
- Overrides:
onLivingUpdate
in classLivingEntity
-
moveEntityWithHeading
public void moveEntityWithHeading(float var1, float var2)
- Overrides:
moveEntityWithHeading
in classLivingEntity
-
updateEntityActionState
protected void updateEntityActionState()
- Overrides:
updateEntityActionState
in classMob
-
getCanSpawnHere
public boolean getCanSpawnHere()
- Overrides:
getCanSpawnHere
in classWaterAnimal
-
-