net.minecraft.entity.living.mob.passive

public class VillagerEntity

extends PassiveEntity implements Trader, Npc

All mapped superinterfaces:

CommandSource, Trader, Npc, SpawnableEntity

wi
net.minecraft.class_985
net.minecraft.entity.living.mob.passive.VillagerEntity
net.minecraft.entity.passive.EntityVillager

Field summary

Modifier and TypeField
private int
bn
field_3951
profession
randomTickDivider
private boolean
bo
field_3952
mating
isMating
private boolean
bp
field_3953
inCaravan
isPlaying
Village
bm
field_3950
village
villageObj
private PlayerEntity
bq
field_3954
customer
buyingPlayer
private TradeOffers
br
field_3955
traderOffers
buyingList
private int
bs
field_3956
levelUpCountdown
timeUntilReset
private boolean
bt
field_3948
levelUp
needsInitilization
private boolean
bu
field_12109
willing
isWillingToMate
private int
bv
field_3949
riches
wealth
private String
bw
field_5395
lastSuccessfulTradeCustomer
lastBuyingPlayer
private int
bx
field_12110
career
careerId
private int
by
field_12111
careerLevel
careerLevel
private boolean
bz
field_5396
convertedZombie
isLookingForHome
private boolean
bA
field_12106
hasAgeDependentGoals
areAdditionalTasksSet
private SimpleInventory
bB
field_12107
inventory
villagerInventory
private static final VillagerEntity$TradeSource[][][][]
bC
field_12108
TRADE_SOURCES
DEFAULT_TRADE_LIST_MAP

Constructor summary

ModifierConstructor
public (World world)
public (World world, int profession)

Method summary

Modifier and TypeMethod
private void
cv()
method_11225()
registerAgeDependentGoals()
setAdditionalAItasks()
protected void
n()
method_10926()
onGrowUp()
onGrowingAdult()
protected void
aX()
method_6129()
initAttributes()
applyEntityAttributes()
protected void
E()
method_2633()
mobAiTick()
updateAITasks()
public boolean
a(wn arg0)
method_2537(class_988 arg0)
interactMob(PlayerEntity arg0)
interact(EntityPlayer arg0)
protected void
h()
method_2484()
registerSyncedData()
entityInit()
public void
b(dn arg0)
method_2528(class_322 arg0)
writeCustomNbt(NbtCompound arg0)
writeEntityToNBT(NBTTagCompound arg0)
public void
a(dn arg0)
method_2498(class_322 arg0)
readCustomNbt(NbtCompound arg0)
readEntityFromNBT(NBTTagCompound arg0)
protected boolean
C()
method_2631()
canDespawn()
canDespawn()
protected String
z()
method_2603()
getAmbientSound()
getLivingSound()
protected String
bo()
method_2604()
getHurtSound()
getHurtSound()
protected String
bp()
method_2605()
getDeathSound()
getDeathSound()
public void
r(int arg0)
method_3108(int arg0)
setProfession(int profession)
setProfession(int professionId)
public int
cl()
method_3115()
getProfession()
getProfession()
public boolean
cm()
method_3116()
getMating()
isMating()
public void
l(boolean arg0)
method_3113(boolean arg0)
setMating(boolean value)
setMating(boolean mating)
public void
m(boolean arg0)
method_3114(boolean arg0)
setInCaravan(boolean value)
setPlaying(boolean playing)
public boolean
cn()
method_3117()
getInCaravan()
isPlaying()
public void
b(pr arg0)
method_6132(class_1699 arg0)
setAttacker(LivingEntity arg0)
setRevengeTarget(EntityLivingBase arg0)
public void
a(ow arg0)
method_2580(class_856 arg0)
die(DamageSource arg0)
onDeath(DamageSource arg0)
public void
a_(wn arg0)
method_3544(class_988 arg0)
setCustomer(PlayerEntity arg0)
setCustomer(EntityPlayer arg0)
public PlayerEntity
v_()
method_3546()
getCustomer()
getCustomer()
public boolean
co()
method_3118()
hasCustomer()
isTrading()
public boolean
n(boolean arg0)
method_11227(boolean arg0)
consumeAvailableFood(boolean updateFirst)
getIsWillingToMate(boolean updateFirst)
public void
o(boolean arg0)
method_11228(boolean arg0)
setWilling(boolean willing)
setIsWillingToMate(boolean willingToTrade)
public void
a(acz arg0)
method_3542(class_1144 arg0)
trade(TradeOffer arg0)
useRecipe(MerchantRecipe arg0)
public void
a_(zx arg0)
method_5501(class_1071 arg0)
updateOffer(ItemStack arg0)
verifySellingItem(ItemStack arg0)
public TradeOffers
b_(wn arg0)
method_3545(class_988 arg0)
getOffers(PlayerEntity arg0)
getRecipes(EntityPlayer arg0)
private void
cw()
method_11226()
levelUp()
populateBuyingList()
public Text
f_()
method_6344()
getDisplayName()
getDisplayName()
public float
aS()
method_2544()
getEyeHeight()
getEyeHeight()
public EntityData
a(ok arg0, pu arg1)
method_6156(class_2607 arg0, class_1700 arg1)
initialize(LocalDifficulty arg0, EntityData arg1)
onInitialSpawn(DifficultyInstance arg0, IEntityLivingData arg1)
public void
cp()
method_4567()
setConvertedZombie()
setLookingForHome()
public VillagerEntity
b(ph arg0)
method_4565(class_862 arg0)
makeChild(PassiveEntity mate)
createChild(EntityAgeable ageable)
public boolean
cb()
method_6160()
isTameable()
allowLeashing()
public void
a(uv arg0)
method_2502(class_961 arg0)
struckByLightning(LightningBoltEntity arg0)
onStruckByLightning(EntityLightningBolt arg0)
public SimpleInventory
cq()
method_11220()
getVillagerInventory()
getVillagerInventory()
protected void
a(uz arg0)
method_10984(class_964 arg0)
updateInventory(ItemEntity arg0)
updateEquipmentIfNeeded(EntityItem arg0)
private boolean
a(zw arg0)
method_11219(class_1069 arg0)
isFood(Item item)
canVillagerPickupItem(Item itemIn)
public boolean
cr()
method_11221()
hasExcessFood()
func_175553_cp()
public boolean
cs()
method_11222()
wantsMoreFood()
canAbondonItems()
public boolean
ct()
method_11223()
hasRoomForHarvest()
func_175557_cr()
private boolean
s(int arg0)
method_11229(int arg0)
hasFoodPoints(int min)
hasEnoughItems(int multiplier)
public boolean
cu()
method_11224()
hasPlantableItems()
isFarmItemInInventory()
public boolean
d(int arg0, zx arg1)
method_10956(int arg0, class_1071 arg1)
replaceItem(int arg0, ItemStack arg1)
replaceItemInInventory(int arg0, ItemStack arg1)
public void
a(ada arg0)
method_3543(class_1145 arg0)
setOffers(TradeOffers arg0)
setRecipes(MerchantRecipeList arg0)
public void
a(byte arg0)
method_2485(byte arg0)
doEvent(byte arg0)
handleStatusUpdate(byte arg0)
private void
a(cy arg0)
method_11218(class_2562 arg0)
addParticles(ParticleType type)
spawnParticles(EnumParticleTypes particleType)