public class EntityVillager extends EntityAgeable implements INpc, IMerchant
| Modifier and Type | Class and Description |
|---|---|
static class |
EntityVillager.EmeraldForItems |
static class |
EntityVillager.ItemAndEmeraldToItem |
static interface |
EntityVillager.ITradeList |
static class |
EntityVillager.ListEnchantedBookForEmeralds |
static class |
EntityVillager.ListEnchantedItemForEmeralds |
static class |
EntityVillager.ListItemForEmeralds |
static class |
EntityVillager.PriceInfo |
EntityLiving.SpawnPlacementTypefield_175502_b, field_175503_c, field_175504_afield_110179_h, field_110181_iequipmentDropChances, experienceValue, jumpHelper, livingSoundTime, moveHelper, navigator, targetTasks, tasksarrowHitTimer, attackedAtYaw, attackingPlayer, cameraPitch, dead, deathTime, entityAge, field_110154_aX, field_70741_aB, field_70763_ax, field_70764_aw, field_70768_au, field_70769_ao, field_70770_ap, hurtTime, isJumping, isSwingInProgress, jumpMovementFactor, lastDamage, limbSwing, limbSwingAmount, maxHurtResistantTime, maxHurtTime, moveForward, moveStrafing, newPosRotationIncrements, newPosX, newPosY, newPosZ, newRotationPitch, newRotationYaw, prevCameraPitch, prevLimbSwingAmount, prevRenderYawOffset, prevRotationYawHead, prevSwingProgress, randomYawVelocity, recentlyHit, renderYawOffset, rotationYawHead, scoreValue, swingProgress, swingProgressIntaddedToChunk, capturedDrops, captureDrops, chunkCoordX, chunkCoordY, chunkCoordZ, dataWatcher, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, extendedProperties, fallDistance, fireResistance, firstUpdate, forceSpawn, height, hurtResistantTime, ignoreFrustumCheck, inPortal, inWater, isAirBorne, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, isImmuneToFire, isInWeb, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, noClip, onGround, portalCounter, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, renderDistanceWeight, riddenByEntity, ridingEntity, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, stepHeight, teleportDirection, ticksExisted, timeUntilPortal, velocityChanged, width, worldObj| Constructor and Description |
|---|
EntityVillager(World worldIn) |
EntityVillager(World worldIn,
int professionId) |
addGrowth, func_175501_a, getGrowingAge, isChild, onLivingUpdate, setGrowingAge, setScale, setScaleForAge, setSizedetachHome, func_142017_o, func_175449_a, func_180484_a, func_180485_d, func_180486_cf, getCanSpawnHere, getMaximumHomeDistance, hasHome, hasPath, isWithinHomeDistanceCurrentPosition, updateLeashedStatecanAttackClass, canBeSteered, canPickUpLoot, clearLeashed, despawnEntity, dropEquipment, dropFewItems, eatGrassBonus, enablePersistence, faceEntity, func_110146_f, func_175447_b, func_175448_a, func_180481_a, func_180483_b, getArmorItemForSlot, getArmorPosition, getAttackTarget, getCurrentArmor, getDropItem, getEntitySenses, getEquipmentInSlot, getExperiencePoints, getHeldItem, getInventory, getJumpHelper, getLeashed, getLeashedToEntity, getLookHelper, getMaxFallHeight, getMaxSpawnedInChunk, getMoveHelper, getNavigator, getRenderSizeModifier, getTalkInterval, getVerticalFaceSpeed, handleLavaMovement, interactFirst, isNoDespawnRequired, isServerWorld, onEntityUpdate, onUpdate, playLivingSound, setAIMoveSpeed, setAttackTarget, setCanPickUpLoot, setCurrentItemOrArmor, setEquipmentDropChance, setLeashedToEntity, setMoveForward, setNoAI, spawnExplosionParticle, updateEntityActionStateaddPotionEffect, addRandomArmor, applyArmorCalculations, applyPotionDamageCalculations, attackEntityAsMob, attackEntityFrom, canBeCollidedWith, canBePushed, canBreatheUnderwater, canEntityBeSeen, clearActivePotions, collideWithEntity, collideWithNearbyEntities, curePotionEffects, damageArmor, damageEntity, decreaseAirSupply, dismountEntity, fall, func_146066_aG, func_152111_bt, func_152112_bu, func_175133_bi, func_175134_bD, func_175135_B, func_175136_bO, func_180426_a, func_180433_a, func_180466_bG, func_94060_bK, getAbsorptionAmount, getActivePotionEffect, getActivePotionEffects, getAge, getAIMoveSpeed, getAITarget, getAlwaysRenderNameTagForRender, getArrowCountInEntity, getAttributeMap, getCombatTracker, getCreatureAttribute, getEntityAttribute, getFallSoundString, getHealth, getLastAttacker, getLastAttackerTime, getLook, getLookVec, getMaxHealth, getRevengeTimer, getRNG, getRotationYawHead, getSoundPitch, getSoundVolume, getSwingProgress, getTeam, getTotalArmorValue, heal, isEntityAlive, isEntityUndead, isMovementBlocked, isOnLadder, isOnSameTeam, isOnTeam, isPlayer, isPlayerSleeping, isPotionActive, isPotionActive, isPotionApplicable, jump, kill, knockBack, mountEntity, moveEntityWithHeading, onChangedPotionEffect, onDeathUpdate, onFinishedPotionEffect, onItemPickup, onKillCommand, onNewPotionEffect, performHurtAnimation, removePotionEffect, removePotionEffectClient, renderBrokenItemStack, setAbsorptionAmount, setArrowCountInEntity, setBeenAttacked, setHealth, setJumping, setLastAttacker, setRotationYawHead, setSprinting, shouldRiderFaceForward, swingItem, updateAITick, updateArmSwingProgress, updatePotionEffects, updateRiddenaddChatMessage, addEntityCrashInfo, addToPlayerScore, addVelocity, applyEntityCollision, canAttackWithItem, canRenderOnFire, canRiderInteract, canTriggerWalking, canUseCommand, copyDataFromOld, copyLocationAndAnglesFrom, createRunningParticles, dealFireDamage, doBlockCollisions, doesEntityNotTriggerPressurePlate, dropItem, dropItemWithOffset, entityDropItem, equals, extinguish, func_145781_i, func_174807_aT, func_174815_a, func_174816_a, func_174817_o, func_174819_aU, func_174823_aP, func_174825_a, func_174827_a, func_174834_g, func_180427_aV, getAir, getAlwaysRenderNameTag, getBoundingBox, getBrightness, getBrightnessForRender, getCollisionBorderSize, getCollisionBox, getCommandSenderEntity, getCustomNameTag, getDataWatcher, getDistance, getDistanceSq, getDistanceSq, getDistanceSqToCenter, getDistanceSqToEntity, getDistanceToEntity, getEntityBoundingBox, getEntityData, getEntityId, getEntityString, getEntityWorld, getExplosionResistance, getExtendedProperties, getFlag, getHorizontalFacing, getMaxInPortalTime, getMountedYOffset, getName, getParts, getPersistentID, getPickedResult, getPortalCooldown, getPosition, getPositionEyes, getPositionVector, getSplashSound, getSwimSound, getTeleportDirection, getUniqueID, getVectorForRotation, 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, newDoubleNBTList, newFloatNBTList, onChunkLoad, onCollideWithPlayer, onKillEntity, playSound, playStepSound, preparePlayerToSpawn, pushOutOfBlocks, rayTrace, readFromNBT, registerExtendedProperties, resetEntityId, resetHeight, sendCommandFeedback, setAir, setAlwaysRenderNameTag, setAngles, setCommandStat, setCustomNameTag, setDead, setEating, setEntityBoundingBox, setEntityId, setFire, setFlag, setInPortal, setInvisible, setInWeb, setLocationAndAngles, setOnFireFromLava, setOutsideBorder, setPosition, setPositionAndRotation, setPositionAndUpdate, setRotation, setSilent, setSneaking, setVelocity, setWorld, shouldDismountInWater, shouldRenderInPass, shouldRiderSit, shouldSetPosAfterLoading, spawnRunningParticles, toString, travelToDimension, updateRiderPosition, writeMountToNBT, writeToNBT, writeToNBTOptionalpublic EntityVillager(World worldIn)
public EntityVillager(World worldIn, int professionId)
protected void func_175500_n()
func_175500_n in class EntityAgeableprotected void applyEntityAttributes()
applyEntityAttributes in class EntityLivingprotected void updateAITasks()
updateAITasks in class EntityLivingpublic boolean interact(EntityPlayer player)
interact in class EntityAgeableprotected void entityInit()
entityInit in class EntityAgeablepublic void writeEntityToNBT(NBTTagCompound tagCompound)
writeEntityToNBT in class EntityAgeablepublic void readEntityFromNBT(NBTTagCompound tagCompund)
readEntityFromNBT in class EntityAgeableprotected boolean canDespawn()
canDespawn in class EntityLivingprotected java.lang.String getLivingSound()
getLivingSound in class EntityLivingprotected java.lang.String getHurtSound()
getHurtSound in class EntityLivingBaseprotected java.lang.String getDeathSound()
getDeathSound in class EntityLivingBasepublic void setProfession(int professionId)
public int getProfession()
public boolean isMating()
public void setMating(boolean mating)
public void setPlaying(boolean playing)
public boolean isPlaying()
public void setRevengeTarget(EntityLivingBase livingBase)
setRevengeTarget in class EntityLivingBasepublic void onDeath(DamageSource cause)
onDeath in class EntityLivingBasepublic void setCustomer(EntityPlayer p_70932_1_)
setCustomer in interface IMerchantpublic EntityPlayer getCustomer()
getCustomer in interface IMerchantpublic boolean isTrading()
public boolean func_175550_n(boolean p_175550_1_)
public void func_175549_o(boolean p_175549_1_)
public void useRecipe(MerchantRecipe p_70933_1_)
public void verifySellingItem(ItemStack p_110297_1_)
verifySellingItem in interface IMerchantpublic MerchantRecipeList getRecipes(EntityPlayer p_70934_1_)
getRecipes in interface IMerchantpublic void setRecipes(MerchantRecipeList p_70930_1_)
setRecipes in interface IMerchantpublic IChatComponent getDisplayName()
getDisplayName in interface ICommandSendergetDisplayName in interface IMerchantgetDisplayName in class Entitypublic float getEyeHeight()
getEyeHeight in class Entitypublic void handleHealthUpdate(byte p_70103_1_)
handleHealthUpdate in class EntityLivingpublic IEntityLivingData func_180482_a(DifficultyInstance p_180482_1_, IEntityLivingData p_180482_2_)
func_180482_a in class EntityLivingpublic void setLookingForHome()
public EntityVillager func_180488_b(EntityAgeable p_180488_1_)
public boolean allowLeashing()
allowLeashing in class EntityLivingpublic void onStruckByLightning(EntityLightningBolt lightningBolt)
onStruckByLightning in class Entitypublic InventoryBasic func_175551_co()
protected void func_175445_a(EntityItem p_175445_1_)
func_175445_a in class EntityLivingpublic boolean func_175553_cp()
public boolean func_175555_cq()
public boolean func_175557_cr()
public boolean func_175556_cs()
public boolean replaceItemInInventory(int p_174820_1_,
ItemStack p_174820_2_)
replaceItemInInventory in class EntityLivingpublic EntityAgeable createChild(EntityAgeable ageable)
createChild in class EntityAgeable