net.minecraft.world.entity.npc

public abstract class AbstractVillager

extends AgableMob implements Npc, Merchant

All mapped superinterfaces:

Nameable, CommandSource, Npc, Merchant

axs
net.minecraft.world.entity.npc.AbstractVillager
net.minecraft.class_3988
net.minecraft.unmapped.C_vyfsmbcg
net.minecraft.entity.passive.AbstractTraderEntity
net.minecraft.entity.merchant.villager.AbstractVillagerEntity
net.minecraft.server.v1_15_R1.EntityVillagerAbstract

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Integer>
bx
DATA_UNHAPPY_COUNTER
field_19295
f_nrhczjrn
HEAD_ROLLING_TIME_LEFT
field_222820_bA
private Player
by
tradingPlayer
field_17722
f_nkqvrufu
customer
field_213725_bA
tradingPlayer
protected MerchantOffers
bw
offers
field_17721
f_gdmdznyu
offers
field_213724_bz
trades
private final SimpleContainer
bz
inventory
field_17723
f_pgrtuuwy
inventory
field_213722_bB
inventory

Constructor summary

ModifierConstructor
public (EntityType<? extends AbstractVillager> arg0, Level arg1)

Method summary

Modifier and TypeMethod
public SpawnGroupData
a(bjx arg0, ajj arg1, alc arg2, alm arg3, jt arg4)
finalizeSpawn(LevelAccessor arg0, DifficultyInstance arg1, MobSpawnType arg2, SpawnGroupData arg3, CompoundTag arg4)
method_5943(class_1936 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3, class_2487 arg4)
m_oxrxxqyz(C_vdvbsyle arg0, C_jiailwzt arg1, C_uzzvxofv arg2, C_lsmqixfx arg3, C_hhlwcnih 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 int
eq()
getUnhappyCounter()
method_20506()
m_hpchuibb()
getHeadRollingTimeLeft()
func_213719_ec()
public void
s(int arg0)
setUnhappyCounter(int arg0)
method_20507(int arg0)
m_bvwcwlvm(int arg0)
setHeadRollingTimeLeft(int ticks)
func_213720_r(int arg0)
public int
er()
getVillagerXp()
method_19269()
m_lowowysu()
getExperience()
func_213708_dV()
getExperience()
protected float
b(alj arg0, akr arg1)
getStandingEyeHeight(Pose arg0, EntityDimensions arg1)
method_18394(class_4050 arg0, class_4048 arg1)
m_heqvdbfg(C_ufdjspmk arg0, C_sszpscpo arg1)
getActiveEyeHeight(EntityPose arg0, EntityDimensions arg1)
func_213348_b(Pose arg0, EntitySize arg1)
protected void
w_()
defineSynchedData()
method_5693()
m_lwugwlsw()
initDataTracker()
func_70088_a()
initDatawatcher()
public void
e(ayj arg0)
setTradingPlayer(Player arg0)
method_8259(class_1657 arg0)
m_hlreeqnr(C_jzrpycqo arg0)
setCurrentCustomer(PlayerEntity arg0)
func_70932_a_(PlayerEntity arg0)
setTradingPlayer(EntityHuman arg0)
public Player
es()
getTradingPlayer()
method_8257()
m_uvemccqu()
getCurrentCustomer()
func_70931_l_()
getTrader()
public boolean
et()
isTrading()
method_18009()
m_wrzdkfai()
hasCustomer()
func_213716_dX()
public MerchantOffers
eu()
getOffers()
method_8264()
m_ozqmoqlt()
getOffers()
func_213706_dY()
getOffers()
public void
t(int arg0)
overrideXp(int arg0)
method_19271(int arg0)
m_yhtyjelx(int arg0)
setExperienceFromServer(int arg0)
func_213702_q(int arg0)
setExperience(int arg0)
public void
a(biz arg0)
notifyTrade(MerchantOffer arg0)
method_8262(class_1914 arg0)
m_ckqsunlu(C_argwryfu arg0)
trade(TradeOffer arg0)
func_213704_a(MerchantOffer arg0)
protected abstract void
b(biz arg0)
rewardTradeXp(MerchantOffer arg0)
method_18008(class_1914 arg0)
m_iabllljm(C_argwryfu arg0)
afterUsing(TradeOffer offer)
func_213713_b(MerchantOffer arg0)
public boolean
ev()
showProgressBar()
method_19270()
m_inimrlal()
isLevelledTrader()
func_213705_dZ()
isRegularVillager()
public void
i(ben arg0)
notifyTradeUpdated(ItemStack arg0)
method_8258(class_1799 arg0)
m_hwbtflhk(C_sddaxwyk arg0)
onSellingItem(ItemStack arg0)
func_110297_a_(ItemStack arg0)
public SoundEvent
ew()
getNotifyTradeSound()
method_18010()
m_trezqnuu()
getYesSound()
func_213714_ea()
getTradeSound()
protected SoundEvent
r(boolean arg0)
getTradeUpdatedSound(boolean arg0)
method_18012(boolean arg0)
m_kwfamrvh(boolean arg0)
getTradingSound(boolean sold)
func_213721_r(boolean arg0)
public void
ex()
playCelebrateSound()
method_20010()
m_numxqsja()
playCelebrateSound()
func_213711_eb()
public void
b(jt arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
public void
a(jt arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
public Entity
a(cbi arg0)
changeDimension(DimensionType arg0)
method_5731(class_2874 arg0)
m_uwdepeht(C_oxijnccf arg0)
changeDimension(DimensionType arg0)
func_212321_a(DimensionType arg0)
protected void
ey()
stopTrading()
method_19181()
m_hpfqnnmn()
resetCustomer()
func_213750_eg()
public void
a(ajz arg0)
die(DamageSource arg0)
method_6078(class_1282 arg0)
m_tflzijcx(C_sbxfkpyv arg0)
onDeath(DamageSource arg0)
func_70645_a(DamageSource arg0)
die(DamageSource arg0)
public boolean
a(ayj arg0)
canBeLeashed(Player arg0)
method_5931(class_1657 arg0)
m_fgmsyatf(C_jzrpycqo arg0)
canBeLeashedBy(PlayerEntity arg0)
func_184652_a(PlayerEntity arg0)
public SimpleContainer
ez()
getInventory()
method_18011()
m_swkaxdno()
getInventory()
func_213715_ed()
getInventory()
public boolean
a_(int arg0, ben arg1)
setSlot(int arg0, ItemStack arg1)
method_5758(int arg0, class_1799 arg1)
m_muglpjhg(int arg0, C_sddaxwyk arg1)
equip(int arg0, ItemStack arg1)
func_174820_d(int arg0, ItemStack arg1)
public Level
eB()
getLevel()
method_8260()
m_cwmdovlp()
getTraderWorld()
func_190670_t_()
getWorld()
protected abstract void
eC()
updateTrades()
method_7237()
m_dnvdzaow()
fillRecipes()
func_213712_ef()
protected void
a(bja arg0, aya$f[] arg1, int arg2)
addOffersFromItemListings(MerchantOffers arg0, VillagerTrades$ItemListing[] arg1, int arg2)
method_19170(class_1916 arg0, class_3853$class_1652[] arg1, int arg2)
m_beqdpjwh(C_eygsjfgm arg0, C_hqrlptsj$C_bcdfyrkn[] arg1, int arg2)
fillRecipesFromPool(TraderOfferList recipeList, TradeOffers$Factory[] pool, int count)
func_213717_a(MerchantOffers arg0, VillagerTrades$ITrade[] arg1, int arg2)
public void
a(bja arg0)
overrideOffers(MerchantOffers arg0)
method_8261(class_1916 arg0)
m_shynqtcn(C_eygsjfgm arg0)
setOffersFromServer(TraderOfferList arg0)
func_213703_a(MerchantOffers arg0)
protected void
a(gt arg0)
addParticlesAroundSelf(ParticleOptions arg0)
method_18007(class_2394 arg0)
m_tqxxjvks(C_nqucohct arg0)
produceParticles(ParticleEffect parameters)
func_213718_a(IParticleData arg0)