public abstract class ZAWABaseLand
extends net.minecraft.entity.passive.EntityAnimal
| Modifier and Type | Class and Description |
|---|---|
class |
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, swingProgressIntaddedToChunk, 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 |
|---|
ZAWABaseLand(net.minecraft.world.World worldIn,
double speed,
boolean held) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBeHeld()
Used by the handling glove to see if the entity can be picked up
|
int |
getAgeTForDays(int days) |
int |
getAnimalType() |
static ZAWABaseLand |
getEntity()
Used to get the entity which is being looked at
|
boolean |
getIsZooAnimal() |
java.lang.String |
getOwnerId() |
static net.minecraft.item.ItemStack |
getStatItem() |
boolean |
interact(net.minecraft.entity.player.EntityPlayer player)
Called to handle taming, breeding, and info book
|
static boolean |
isBeingViewed()
True when a ZAWA entity is being looked at
|
boolean |
isSleeping()
Deprecated.
|
void |
onLivingUpdate() |
void |
onTame()
Called when the entity is tamed with its tame item
|
void |
onTame(net.minecraft.entity.player.EntityPlayer p)
Called when the entity is tamed with its tame item
|
void |
playTameEffect()
Shows note effect when the entity is tamed
|
void |
readEntityFromNBT(net.minecraft.nbt.NBTTagCompound tagCompund) |
void |
setAnimalType(int animalType) |
abstract AnimalData.EnumNature |
setNature()
Used for achievements
|
abstract net.minecraft.item.ItemStack |
setTameItem()
setTameItem
|
abstract int |
setVarients()
setVarients
|
abstract net.minecraft.item.ItemStack |
setVial()
set the vial of the entity usually the tame item vial equivalent
|
void |
setZooAnimal(boolean f) |
void |
writeEntityToNBT(net.minecraft.nbt.NBTTagCompound tagCompound) |
attackEntityFrom, canMateWith, func_146083_cb, func_180484_a, getCanSpawnHere, getTalkInterval, handleHealthUpdate, isBreedingItem, isInLove, resetInLove, setInLoveaddGrowth, createChild, func_175501_a, getGrowingAge, isChild, setGrowingAge, setScaleForAgedetachHome, func_175449_a, func_180485_d, func_180486_cf, getMaximumHomeDistance, hasHome, hasPath, isWithinHomeDistanceCurrentPositionallowLeashing, 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, onUpdate, playLivingSound, replaceItemInInventory, setAIMoveSpeed, setAttackTarget, setCanPickUpLoot, setCurrentItemOrArmor, setEquipmentDropChance, setLeashedToEntity, setMoveForward, spawnExplosionParticleaddPotionEffect, attackEntityAsMob, 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, moveEntityWithHeading, onDeath, onItemPickup, onKillCommand, performHurtAnimation, removePotionEffect, removePotionEffectClient, renderBrokenItemStack, setAbsorptionAmount, setArrowCountInEntity, setHealth, setJumping, setLastAttacker, setRevengeTarget, setRotationYawHead, setSprinting, shouldRiderFaceForward, swingItem, updateRiddenaddChatMessage, 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, getPickedResult, 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, updateRiderPosition, writeMountToNBT, writeToNBT, writeToNBTOptionalpublic ZAWABaseLand(net.minecraft.world.World worldIn,
double speed,
boolean held)
public static net.minecraft.item.ItemStack getStatItem()
public int getAgeTForDays(int days)
days - Day amountpublic abstract net.minecraft.item.ItemStack setVial()
public abstract net.minecraft.item.ItemStack setTameItem()
public abstract int setVarients()
public void onTame()
public void onTame(net.minecraft.entity.player.EntityPlayer p)
p - A player incase neededpublic boolean canBeHeld()
public int getAnimalType()
public void setAnimalType(int animalType)
public abstract AnimalData.EnumNature setNature()
public java.lang.String getOwnerId()
public void writeEntityToNBT(net.minecraft.nbt.NBTTagCompound tagCompound)
writeEntityToNBT in class net.minecraft.entity.passive.EntityAnimalpublic void readEntityFromNBT(net.minecraft.nbt.NBTTagCompound tagCompund)
readEntityFromNBT in class net.minecraft.entity.passive.EntityAnimalpublic boolean getIsZooAnimal()
public void setZooAnimal(boolean f)
public boolean interact(net.minecraft.entity.player.EntityPlayer player)
interact in class net.minecraft.entity.passive.EntityAnimalpublic void playTameEffect()
public void onLivingUpdate()
onLivingUpdate in class net.minecraft.entity.passive.EntityAnimalpublic static boolean isBeingViewed()
public static ZAWABaseLand getEntity()
@Deprecated public boolean isSleeping()