public class EntityAsianElephant extends ZAWABaseLand
ZAWABaseLand.AIFight
arrowHitTimer, attackedAtYaw, cameraPitch, deathTime, field_70769_ao, field_70770_ap, hurtTime, isSwingInProgress, jumpMovementFactor, limbSwing, limbSwingAmount, maxHurtResistantTime, maxHurtTime, moveForward, moveStrafing, prevCameraPitch, prevLimbSwingAmount, prevRenderYawOffset, prevRotationYawHead, prevSwingProgress, renderYawOffset, rotationYawHead, swingProgress, swingProgressInt
addedToChunk, capturedDrops, captureDrops, chunkCoordX, chunkCoordY, chunkCoordZ, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, fallDistance, fireResistance, forceSpawn, height, hurtResistantTime, ignoreFrustumCheck, isAirBorne, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, noClip, onGround, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, renderDistanceWeight, riddenByEntity, ridingEntity, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, stepHeight, ticksExisted, timeUntilPortal, velocityChanged, width, worldObj
Constructor and Description |
---|
EntityAsianElephant(net.minecraft.world.World worldIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
attackEntityAsMob(net.minecraft.entity.Entity p_70652_1_) |
boolean |
attackEntityFrom(net.minecraft.util.DamageSource source,
float amount) |
net.minecraft.entity.EntityAgeable |
createChild(net.minecraft.entity.EntityAgeable ageable) |
boolean |
getHasCart() |
boolean |
getIsFriendly() |
net.minecraft.item.ItemStack |
getPickedResult(net.minecraft.util.MovingObjectPosition target) |
boolean |
interact(net.minecraft.entity.player.EntityPlayer player)
Called to handle taming, breeding, and info book
|
void |
moveEntityWithHeading(float stafe,
float forward) |
void |
onTame(net.minecraft.entity.player.EntityPlayer p)
Called when the entity is tamed with its tame item
|
void |
onUpdate() |
void |
readEntityFromNBT(net.minecraft.nbt.NBTTagCompound tagCompund) |
void |
setHasCart(boolean f) |
void |
setIsFriendly(boolean f) |
AnimalData.EnumNature |
setNature()
Used for achievements
|
net.minecraft.item.ItemStack |
setTameItem()
setTameItem
|
int |
setVarients()
setVarients
|
net.minecraft.item.ItemStack |
setVial()
set the vial of the entity usually the tame item vial equivalent
|
void |
updateRiderPosition() |
void |
writeEntityToNBT(net.minecraft.nbt.NBTTagCompound tagCompound) |
canBeHeld, getAgeTForDays, getAnimalType, getEntity, getIsZooAnimal, getOwnerId, getStatItem, isBeingViewed, isSleeping, onLivingUpdate, onTame, playTameEffect, setAnimalType, setZooAnimal
canMateWith, func_146083_cb, func_180484_a, getCanSpawnHere, getTalkInterval, handleHealthUpdate, isBreedingItem, isInLove, resetInLove, setInLove
addGrowth, func_175501_a, getGrowingAge, isChild, setGrowingAge, setScaleForAge
detachHome, func_175449_a, func_180485_d, func_180486_cf, getMaximumHomeDistance, hasHome, hasPath, isWithinHomeDistanceCurrentPosition
allowLeashing, canAttackClass, canBeSteered, canPickUpLoot, clearLeashed, eatGrassBonus, enablePersistence, faceEntity, func_180482_a, getArmorItemForSlot, getArmorPosition, getAttackTarget, getCurrentArmor, getEntitySenses, getEquipmentInSlot, getHeldItem, getInventory, getJumpHelper, getLeashed, getLeashedToEntity, getLookHelper, getMaxFallHeight, getMaxSpawnedInChunk, getMoveHelper, getNavigator, getRenderSizeModifier, getVerticalFaceSpeed, handleLavaMovement, interactFirst, isNoDespawnRequired, isServerWorld, onEntityUpdate, playLivingSound, replaceItemInInventory, setAIMoveSpeed, setAttackTarget, setCanPickUpLoot, setCurrentItemOrArmor, setEquipmentDropChance, setLeashedToEntity, setMoveForward, spawnExplosionParticle
addPotionEffect, canBeCollidedWith, canBePushed, canBreatheUnderwater, canEntityBeSeen, clearActivePotions, curePotionEffects, dismountEntity, fall, func_152111_bt, func_152112_bu, func_180426_a, func_94060_bK, getAbsorptionAmount, getActivePotionEffect, getActivePotionEffects, getAge, getAIMoveSpeed, getAITarget, getAlwaysRenderNameTagForRender, getArrowCountInEntity, getAttributeMap, getCombatTracker, getCreatureAttribute, getEntityAttribute, getHealth, getLastAttacker, getLastAttackerTime, getLook, getLookVec, getMaxHealth, getRevengeTimer, getRNG, getRotationYawHead, getSwingProgress, getTeam, getTotalArmorValue, heal, isEntityAlive, isEntityUndead, isOnLadder, isOnSameTeam, isOnTeam, isPlayerSleeping, isPotionActive, isPotionActive, isPotionApplicable, knockBack, mountEntity, onDeath, onItemPickup, onKillCommand, performHurtAnimation, removePotionEffect, removePotionEffectClient, renderBrokenItemStack, setAbsorptionAmount, setArrowCountInEntity, setHealth, setJumping, setLastAttacker, setRevengeTarget, setRotationYawHead, setSprinting, shouldRiderFaceForward, swingItem, updateRidden
addChatMessage, addEntityCrashInfo, addToPlayerScore, addVelocity, applyEntityCollision, canAttackWithItem, canRenderOnFire, canRiderInteract, canUseCommand, copyDataFromOld, copyLocationAndAnglesFrom, doesEntityNotTriggerPressurePlate, dropItem, dropItemWithOffset, entityDropItem, equals, extinguish, func_145781_i, func_174807_aT, func_174816_a, func_174817_o, func_174819_aU, func_174825_a, func_174827_a, func_174834_g, func_180427_aV, getAir, getAlwaysRenderNameTag, getBoundingBox, getBrightness, getBrightnessForRender, getCollisionBorderSize, getCollisionBox, getCommandSenderEntity, getCustomNameTag, getDataWatcher, getDisplayName, getDistance, getDistanceSq, getDistanceSq, getDistanceSqToCenter, getDistanceSqToEntity, getDistanceToEntity, getEntityBoundingBox, getEntityData, getEntityId, getEntityWorld, getExplosionResistance, getExtendedProperties, getEyeHeight, getHorizontalFacing, getMaxInPortalTime, getMountedYOffset, getName, getParts, getPersistentID, getPortalCooldown, getPosition, getPositionEyes, getPositionVector, getTeleportDirection, getUniqueID, getYOffset, handleWaterMovement, hasCustomName, hashCode, hitByEntity, isBurning, isCreatureType, isEating, isEntityEqual, isEntityInsideOpaqueBlock, isEntityInvulnerable, isImmuneToFire, isInLava, isInRangeToRender3d, isInRangeToRenderDist, isInsideOfMaterial, isInvisible, isInvisibleToPlayer, isInWater, isOffsetPositionInLiquid, isOutsideBorder, isPushedByWater, isRiding, isSilent, isSneaking, isSprinting, isWet, moveEntity, moveFlying, moveToBlockPosAndAngles, onChunkLoad, onCollideWithPlayer, onKillEntity, onStruckByLightning, playSound, rayTrace, readFromNBT, registerExtendedProperties, resetEntityId, sendCommandFeedback, setAir, setAlwaysRenderNameTag, setAngles, setCommandStat, setCustomNameTag, setDead, setEating, setEntityBoundingBox, setEntityId, setFire, setInPortal, setInvisible, setInWeb, setLocationAndAngles, setOutsideBorder, setPosition, setPositionAndRotation, setPositionAndUpdate, setSilent, setSneaking, setVelocity, setWorld, shouldDismountInWater, shouldRenderInPass, shouldRiderSit, spawnRunningParticles, toString, travelToDimension, writeMountToNBT, writeToNBT, writeToNBTOptional
public EntityAsianElephant(net.minecraft.world.World worldIn)
public net.minecraft.item.ItemStack getPickedResult(net.minecraft.util.MovingObjectPosition target)
getPickedResult
in class net.minecraft.entity.Entity
public net.minecraft.item.ItemStack setVial()
ZAWABaseLand
setVial
in class ZAWABaseLand
public int setVarients()
ZAWABaseLand
setVarients
in class ZAWABaseLand
public net.minecraft.item.ItemStack setTameItem()
ZAWABaseLand
setTameItem
in class ZAWABaseLand
public void onTame(net.minecraft.entity.player.EntityPlayer p)
ZAWABaseLand
onTame
in class ZAWABaseLand
p
- A player incase neededpublic boolean interact(net.minecraft.entity.player.EntityPlayer player)
ZAWABaseLand
interact
in class ZAWABaseLand
public void moveEntityWithHeading(float stafe, float forward)
moveEntityWithHeading
in class net.minecraft.entity.EntityLivingBase
public void updateRiderPosition()
updateRiderPosition
in class net.minecraft.entity.Entity
public boolean attackEntityFrom(net.minecraft.util.DamageSource source, float amount)
attackEntityFrom
in class net.minecraft.entity.passive.EntityAnimal
public void onUpdate()
onUpdate
in class net.minecraft.entity.EntityLiving
public boolean attackEntityAsMob(net.minecraft.entity.Entity p_70652_1_)
attackEntityAsMob
in class net.minecraft.entity.EntityLivingBase
public net.minecraft.entity.EntityAgeable createChild(net.minecraft.entity.EntityAgeable ageable)
createChild
in class net.minecraft.entity.EntityAgeable
public void writeEntityToNBT(net.minecraft.nbt.NBTTagCompound tagCompound)
writeEntityToNBT
in class ZAWABaseLand
public void readEntityFromNBT(net.minecraft.nbt.NBTTagCompound tagCompund)
readEntityFromNBT
in class ZAWABaseLand
public boolean getHasCart()
public void setHasCart(boolean f)
public boolean getIsFriendly()
public void setIsFriendly(boolean f)
public AnimalData.EnumNature setNature()
ZAWABaseLand
setNature
in class ZAWABaseLand