Class Wolf
- java.lang.Object
-
- All Implemented Interfaces:
IAnimals
public class Wolf extends TameableAnimal
-
-
Field Summary
-
Fields inherited from class net.minecraft.world.entity.TameableAnimal
aiSit
-
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 boolean
attackEntityAsMob(Entity var1)
boolean
attackEntityFrom(DamageSource var1, int var2)
protected boolean
canDespawn()
protected boolean
canTriggerWalking()
protected void
entityInit()
boolean
func_48135_b(Animal var1)
void
func_48150_h(boolean var1)
protected java.lang.String
getDeathSound()
protected int
getDropItemId()
float
getEyeHeight()
protected java.lang.String
getHurtSound()
@net.minecraft.modding.api.Side.Client float
getInterestedAngle(float var1)
protected java.lang.String
getLivingSound()
int
getMaxHealth()
int
getMaxSpawnedInChunk()
@net.minecraft.modding.api.Side.Client float
getShadingWhileShaking(float var1)
@net.minecraft.modding.api.Side.Client float
getShakeAngle(float var1, float var2)
protected float
getSoundVolume()
@net.minecraft.modding.api.Side.Client float
getTailRotation()
@Client java.lang.String
getTexture()
int
getVerticalFaceSpeed()
@net.minecraft.modding.api.Side.Client boolean
getWolfShaking()
void
handleHealthUpdate(byte var1)
boolean
interact(Player var1)
boolean
isAIEnabled()
boolean
isAngry()
boolean
isWheat(ItemStack var1)
void
onLivingUpdate()
void
onUpdate()
void
readEntityFromNBT(NBTTagCompound var1)
void
setAngry(boolean var1)
void
setAttackTarget(LivingEntity var1)
Animal
spawnBabyAnimal(Animal var1)
protected void
updateAITick()
void
writeEntityToNBT(NBTTagCompound var1)
-
Methods inherited from class net.minecraft.world.entity.TameableAnimal
func_48140_f, func_48142_a, func_50008_ai, getOwner, getOwnerName, isSitting, isTamed, setOwner, setTamed
-
Methods inherited from class net.minecraft.world.entity.animal.Animal
attackBlockedEntity, attackEntity, findPlayerToAttack, getBlockPathWeight, getCanSpawnHere, getExperiencePoints, getTalkInterval, isInLove, resetInLove
-
Methods inherited from class net.minecraft.world.entity.AgeableMob
getGrowingAge, isChild, setGrowingAge
-
Methods inherited from class net.minecraft.world.entity.Mob
getEntityToAttack, getSpeedModifier, hasPath, isMovementCeased, setPathToEntity, setTarget, updateEntityActionState, updateWanderPath
-
Methods inherited from class net.minecraft.world.entity.LivingEntity
addPotionEffect, applyArmorCalculations, applyPotionDamageCalculations, canBeCollidedWith, canBePushed, canBreatheUnderwater, canEntityBeSeen, clearActivePotions, damageArmor, damageEntity, decreaseAirSupply, despawnEntity, detachHome, dropFewItems, dropRareDrop, eatGrassBonus, faceEntity, fall, func_48079_f, func_48090_aM, func_48098_g, func_48100_a, func_48101_aR, getActivePotionEffect, getActivePotionEffects, getAge, getAITarget, getAttackTarget, getCreatureAttribute, getEffectiveHealth, getHeadYaw, getHealth, getHeldItem, getHomePosition, getItemIcon, getJumpHelper, getLastAttackingEntity, getLook, getLookHelper, getLookVec, getMaximumHomeDistance, getMoveHelper, getNavigator, getPosition, getRenderSizeModifier, getRNG, getSwingProgress, getTotalArmorValue, hasHome, heal, isBlocking, isClientWorld, isEntityAlive, isEntityUndead, isMovementBlocked, isOnLadder, isPlayer, isPlayerSleeping, isPotionActive, isPotionApplicable, isWithinHomeDistance, isWithinHomeDistanceCurrentPosition, jump, kill, knockBack, moveEntityWithHeading, onChangedPotionEffect, onDeath, onDeathUpdate, onEntityDeath, onEntityUpdate, onFinishedPotionEffect, onNewPotionEffect, performHurtAnimation, playLivingSound, rayTrace, removePotionEffect, renderBrokenItemStack, setEntityHealth, setHomeArea, setJumping, setLastAttackingEntity, setMoveForward, setPositionAndRotation2, setPositionAndUpdate, setRevengeTarget, setSize, spawnExplosionParticle, updateAITasks, 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, getMountedYOffset, getParts, getShadowSize, getUsername, getYOffset, handleLavaMovement, handleWaterMovement, hashCode, 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, setInWeb, setLocationAndAngles, setOnFireFromLava, setPosition, setPositionAndRotation, setRotation, setSneaking, setSprinting, setVelocity, setWorld, toString, updateFallState, updateRiderPosition, writeToNBT
-
-
-
-
Constructor Detail
-
Wolf
public Wolf(World var1)
-
-
Method Detail
-
isAIEnabled
public boolean isAIEnabled()
- Overrides:
isAIEnabled
in classLivingEntity
-
setAttackTarget
public void setAttackTarget(LivingEntity var1)
- Overrides:
setAttackTarget
in classLivingEntity
-
updateAITick
protected void updateAITick()
- Overrides:
updateAITick
in classAnimal
-
getMaxHealth
public int getMaxHealth()
- Specified by:
getMaxHealth
in classLivingEntity
-
entityInit
protected void entityInit()
- Overrides:
entityInit
in classTameableAnimal
-
canTriggerWalking
protected boolean canTriggerWalking()
- Overrides:
canTriggerWalking
in classEntity
-
getTexture
@Client public @Client java.lang.String getTexture()
- Overrides:
getTexture
in classLivingEntity
-
writeEntityToNBT
public void writeEntityToNBT(NBTTagCompound var1)
- Overrides:
writeEntityToNBT
in classTameableAnimal
-
readEntityFromNBT
public void readEntityFromNBT(NBTTagCompound var1)
- Overrides:
readEntityFromNBT
in classTameableAnimal
-
canDespawn
protected boolean canDespawn()
- Overrides:
canDespawn
in classAnimal
-
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
-
onLivingUpdate
public void onLivingUpdate()
- Overrides:
onLivingUpdate
in classAnimal
-
onUpdate
public void onUpdate()
- Overrides:
onUpdate
in classLivingEntity
-
getWolfShaking
@Client public @net.minecraft.modding.api.Side.Client boolean getWolfShaking()
-
getShadingWhileShaking
@Client public @net.minecraft.modding.api.Side.Client float getShadingWhileShaking(float var1)
-
getShakeAngle
@Client public @net.minecraft.modding.api.Side.Client float getShakeAngle(float var1, float var2)
-
getInterestedAngle
@Client public @net.minecraft.modding.api.Side.Client float getInterestedAngle(float var1)
-
getEyeHeight
public float getEyeHeight()
- Overrides:
getEyeHeight
in classLivingEntity
-
getVerticalFaceSpeed
public int getVerticalFaceSpeed()
- Overrides:
getVerticalFaceSpeed
in classLivingEntity
-
attackEntityFrom
public boolean attackEntityFrom(DamageSource var1, int var2)
- Overrides:
attackEntityFrom
in classAnimal
-
attackEntityAsMob
public boolean attackEntityAsMob(Entity var1)
- Overrides:
attackEntityAsMob
in classLivingEntity
-
handleHealthUpdate
@Client public void handleHealthUpdate(byte var1)
- Overrides:
handleHealthUpdate
in classTameableAnimal
-
getTailRotation
@Client public @net.minecraft.modding.api.Side.Client float getTailRotation()
-
getMaxSpawnedInChunk
public int getMaxSpawnedInChunk()
- Overrides:
getMaxSpawnedInChunk
in classLivingEntity
-
isAngry
public boolean isAngry()
-
setAngry
public void setAngry(boolean var1)
-
spawnBabyAnimal
public Animal spawnBabyAnimal(Animal var1)
- Specified by:
spawnBabyAnimal
in classAnimal
-
func_48150_h
public void func_48150_h(boolean var1)
-
func_48135_b
public boolean func_48135_b(Animal var1)
- Overrides:
func_48135_b
in classAnimal
-
-