net.minecraft.server.v1_14_R1

public class EntityVillager

extends EntityVillagerAbstract implements ReputationHandler, VillagerDataHolder

All mapped superinterfaces:

INamableTileEntity, ICommandListener, NPC, IMerchant, ReputationHandler, VillagerDataHolder

avo
net.minecraft.class_1646
net.minecraft.entity.passive.VillagerEntity
net.minecraft.entity.merchant.villager.VillagerEntity
net.minecraft.server.v1_14_R1.EntityVillager

Field summary

Modifier and TypeField
private static final DataWatcherObject<VillagerData>
bC
field_7445
VILLAGER_DATA
field_213775_bC
public static final Map<Item, Integer>
bA
field_18526
ITEM_FOOD_VALUES
field_213788_bA
private static final Set<Item>
bD
field_18527
GATHERABLE_ITEMS
field_213776_bD
private int
bE
field_18528
levelUpTimer
field_70961_j
private boolean
bF
field_18529
levellingUp
field_213777_bF
private EntityHuman
bG
field_18530
lastCustomer
field_213778_bG
private byte
bI
field_18533
foodLevel
field_213781_bL
private final Reputation
bJ
field_18534
gossip
field_213782_bM
private long
bK
field_18535
gossipStartTime
field_213783_bN
private long
bL
field_19357
lastGossipDecay
field_223362_bL
private int
bM
field_18536
experience
field_213784_bO
private long
bN
field_18537
lastRestock
field_213785_bP
private static final com.google.common.collect.ImmutableList<MemoryModuleType<?>>
bO
field_18538
MEMORY_MODULES
field_213786_bQ
private static final com.google.common.collect.ImmutableList<SensorType<? extends Sensor<? super EntityVillager>>>
bP
field_18539
SENSORS
field_213787_bR
public static final Map<MemoryModuleType<GlobalPos>, BiPredicate<EntityVillager, VillagePlaceType>>
bB
field_18851
POINTS_OF_INTEREST
field_213774_bB

Constructor summary

ModifierConstructor
public (EntityTypes<? extends EntityVillager> arg0, World arg1)
public (EntityTypes<? extends EntityVillager> arg0, World arg1, VillagerType arg2)

Method summary

Modifier and TypeMethod
public BehaviorController<EntityVillager>
ck()
method_18868()
getBrain()
func_213375_cj()
getBehaviorController()
protected BehaviorController<?>
a(com.mojang.datafixers.Dynamic<?> arg0)
method_18867(com.mojang.datafixers.Dynamic<?> arg0)
deserializeBrain(com.mojang.datafixers.Dynamic<?> arg0)
func_213364_a(com.mojang.datafixers.Dynamic<?> arg0)
public void
a(vi arg0)
method_19179(class_3218 arg0)
reinitializeBrain(ServerWorld arg0)
func_213770_a(ServerWorld arg0)
private void
a(ajj<avo> arg0)
method_19174(class_4095<class_1646> arg0)
initBrain(Brain<VillagerEntity> arg0)
func_213744_a(Brain<VillagerEntity> arg0)
protected void
l()
method_5619()
onGrowUp()
func_175500_n()
protected void
cl()
method_6001()
initAttributes()
func_110147_ax()
initAttributes()
protected void
L()
method_5958()
mobTick()
func_70619_bc()
mobTick()
public void
h()
method_5773()
tick()
func_70071_h_()
tick()
public boolean
a(awb arg0, ahf arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
func_184645_a(PlayerEntity arg0, Hand arg1)
private void
ev()
method_20264()
sayNo()
func_213756_es()
private void
g(awb arg0)
method_19191(class_1657 arg0)
beginTradeWith(PlayerEntity arg0)
func_213740_f(PlayerEntity arg0)
public void
e(awb arg0)
method_8259(class_1657 arg0)
setCurrentCustomer(PlayerEntity arg0)
func_70932_a_(PlayerEntity arg0)
setTradingPlayer(EntityHuman arg0)
protected void
ee()
method_19181()
resetCustomer()
func_213750_eg()
private void
ew()
method_19187()
clearCurrentBonus()
func_213748_et()
public boolean
ej()
method_20708()
canRefreshTrades()
func_223340_ej()
public void
ek()
method_19182()
restock()
func_213766_ei()
private void
h(awb arg0)
method_19192(class_1657 arg0)
prepareRecipesFor(PlayerEntity arg0)
func_213762_g(PlayerEntity arg0)
protected void
u_()
method_5693()
initDataTracker()
func_70088_a()
initDatawatcher()
public void
b(ic arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
public void
a(ic arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
public boolean
c(double arg0)
method_5974(double arg0)
canImmediatelyDespawn(double arg0)
func_213397_c(double arg0)
isTypeNotPersistent(double arg0)
protected SoundEffect
G()
method_5994()
getAmbientSound()
func_184639_G()
getSoundAmbient()
protected SoundEffect
e(ahu arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
func_184601_bQ(DamageSource arg0)
getSoundHurt(DamageSource arg0)
protected SoundEffect
cH()
method_6002()
getDeathSound()
func_184615_bR()
getSoundDeath()
public void
el()
method_19183()
playWorkSound()
func_213767_ej()
public void
a(avp arg0)
method_7221(class_3850 arg0)
setVillagerData(VillagerData arg0)
func_213753_a(VillagerData arg0)
setVillagerData(VillagerData arg0)
public VillagerData
eh()
method_7231()
getVillagerData()
func_213700_eh()
getVillagerData()
protected void
b(bgp arg0)
method_18008(class_1914 arg0)
afterUsing(TradeOffer arg0)
func_213713_b(MerchantOffer arg0)
public void
a(aiu arg0)
method_6015(class_1309 arg0)
setAttacker(LivingEntity arg0)
func_70604_c(LivingEntity arg0)
setLastDamager(EntityLiving arg0)
public void
a(ahu arg0)
method_6078(class_1282 arg0)
onDeath(DamageSource arg0)
func_70645_a(DamageSource arg0)
die(DamageSource arg0)
private void
a(ail arg0)
method_20690(class_1297 arg0)
notifyDeath(Entity arg0)
func_223361_a(Entity arg0)
public void
a(ape<fc> arg0)
method_19176(class_4140<class_4208> arg0)
releaseTicketFor(MemoryModuleType<GlobalPos> arg0)
func_213742_a(MemoryModuleType<GlobalPos> arg0)
public boolean
en()
method_19184()
isReadyToBreed()
func_213743_em()
canBreed()
private boolean
ex()
method_20698()
lacksFood()
func_223344_ex()
public void
eo()
method_19185()
consumeAvailableFood()
func_213765_en()
public int
f(awb arg0)
method_20594(class_1657 arg0)
getReputation(PlayerEntity arg0)
func_223107_f(PlayerEntity arg0)
private void
u(int arg0)
method_19193(int arg0)
depleteFood(int arg0)
func_213758_s(int arg0)
public void
ep()
method_20697()
eatForBreeding()
func_223346_ep()
public void
b(bgq arg0)
method_16917(class_1916 arg0)
setOffers(TraderOfferList arg0)
func_213768_b(MerchantOffers arg0)
private boolean
ey()
method_19188()
canLevelUp()
func_213741_eu()
private void
ez()
method_16918()
levelUp()
func_175554_cu()
populateTrades()
public IChatBaseComponent
d()
method_5476()
getDisplayName()
func_145748_c_()
getScoreboardDisplayName()
public GroupDataEntity
a(bhn arg0, ahe arg1, aix arg2, ajg arg3, ic arg4)
method_5943(class_1936 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3, class_2487 arg4)
initialize(IWorld arg0, LocalDifficulty arg1, SpawnType arg2, EntityData arg3, CompoundTag arg4)
func_213386_a(IWorld arg0, DifficultyInstance arg1, SpawnReason arg2, ILivingEntityData arg3, CompoundNBT arg4)
prepare(GeneratorAccess arg0, DifficultyDamageScaler arg1, EnumMobSpawn arg2, GroupDataEntity arg3, NBTTagCompound arg4)
public EntityVillager
b(aij arg0)
method_7225(class_1296 arg0)
method_7225(PassiveEntity arg0)
func_90011_a(AgeableEntity arg0)
createChild(EntityAgeable arg0)
public void
a(atp arg0)
method_5800(class_1538 arg0)
onStruckByLightning(LightningEntity arg0)
func_70077_a(LightningBoltEntity arg0)
onLightningStrike(EntityLightning arg0)
protected void
a(ats arg0)
method_5949(class_1542 arg0)
loot(ItemEntity arg0)
func_175445_a(ItemEntity arg0)
public boolean
eq()
method_7234()
wantsToStartBreeding()
func_175555_cq()
public boolean
er()
method_7239()
canBreed()
func_175557_cr()
private int
eA()
method_19189()
getAvailableFood()
func_213751_ew()
private void
eB()
method_20695()
craftBread()
func_223359_eB()
public boolean
es()
method_19623()
hasSeedToPlant()
func_175556_cs()
protected void
ei()
method_7237()
fillRecipes()
func_213712_ef()
public void
a(avo arg0, long arg1)
method_19177(class_1646 arg0, long arg1)
talkWithVillager(VillagerEntity arg0, long arg1)
func_213746_a(VillagerEntity arg0, long arg1)
private void
eC()
method_20696()
decayGossip()
func_223343_eC()
public void
a(long arg0, int arg1)
method_20688(long arg0, int arg1)
summonGolem(long arg0, int arg1)
func_223358_a(long arg0, int arg1)
private void
b(long arg0)
method_20692(long arg0)
setGolemLastSeenTime(long arg0)
func_223347_b(long arg0)
private boolean
c(long arg0)
method_20694(long arg0)
hasSeenGolemRecently(long arg0)
func_223354_c(long arg0)
public boolean
a(long arg0)
method_20687(long arg0)
canSummonGolem(long arg0)
func_223350_a(long arg0)
private EntityIronGolem
eD()
method_19190()
spawnIronGolem()
func_213759_ey()
public void
a(aqh arg0, ail arg1)
method_18870(class_4151 arg0, class_1297 arg1)
onInteractionWith(EntityInteraction arg0, Entity arg1)
func_213739_a(IReputationType arg0, Entity arg1)
public int
dX()
method_19269()
getExperience()
func_213708_dV()
getExperience()
public void
t(int arg0)
method_19625(int arg0)
setExperience(int arg0)
func_213761_t(int arg0)
setExperience(int arg0)
public long
et()
method_19186()
getLastRestock()
func_213763_er()
protected void
K()
method_18409()
sendAiDebugData()
func_213387_K()
public void
e(ev arg0)
method_18403(class_2338 arg0)
sleep(BlockPos arg0)
func_213342_e(BlockPos arg0)
private boolean
d(long arg0)
method_20741(long arg0)
hasRecentlyWorkedAndSlept(long arg0)
func_223352_d(long arg0)
public void
a(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
func_70103_a(byte arg0)