net.minecraft.world.entity.npc

public class WanderingTrader

extends AbstractVillager

All mapped superinterfaces:

Nameable, CommandSource, Npc, Merchant

axz
net.minecraft.world.entity.npc.WanderingTrader
net.minecraft.class_3989
net.minecraft.entity.passive.WanderingTraderEntity
net.minecraft.entity.merchant.villager.WanderingTraderEntity
net.minecraft.server.v1_15_R1.EntityVillagerTrader

Field summary

Modifier and TypeField
private BlockPos
bx
wanderTarget
field_17758
wanderTarget
field_213738_bA
private int
by
despawnDelay
field_17725
despawnDelay
field_213737_bB

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
n()
registerGoals()
method_5959()
initGoals()
func_184651_r()
initPathfinder()
public AgableMob
a(akl arg0)
getBreedOffspring(AgableMob arg0)
method_5613(class_1296 arg0)
createChild(PassiveEntity arg0)
func_90011_a(AgeableEntity arg0)
createChild(EntityAgeable arg0)
public boolean
ev()
showProgressBar()
method_19270()
isLevelledTrader()
func_213705_dZ()
isRegularVillager()
public boolean
a(ayg arg0, ajh arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
func_184645_a(PlayerEntity arg0, Hand arg1)
protected void
eC()
updateTrades()
method_7237()
fillRecipes()
func_213712_ef()
public void
b(jt arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
public void
a(jt arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
public boolean
h(double arg0)
removeWhenFarAway(double arg0)
method_5974(double arg0)
canImmediatelyDespawn(double arg0)
func_213397_c(double arg0)
isTypeNotPersistent(double arg0)
protected void
b(biw arg0)
rewardTradeXp(MerchantOffer arg0)
method_18008(class_1914 arg0)
afterUsing(TradeOffer arg0)
func_213713_b(MerchantOffer arg0)
protected SoundEvent
G()
getAmbientSound()
method_5994()
getAmbientSound()
func_184639_G()
getSoundAmbient()
protected SoundEvent
e(ajw arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
func_184601_bQ(DamageSource arg0)
getSoundHurt(DamageSource arg0)
protected SoundEvent
cX()
getDeathSound()
method_6002()
getDeathSound()
func_184615_bR()
getSoundDeath()
protected SoundEvent
c(bek arg0)
getDrinkingSound(ItemStack arg0)
method_18807(class_1799 arg0)
getDrinkSound(ItemStack arg0)
func_213351_c(ItemStack arg0)
protected SoundEvent
r(boolean arg0)
getTradeUpdatedSound(boolean arg0)
method_18012(boolean arg0)
getTradingSound(boolean arg0)
func_213721_r(boolean arg0)
public SoundEvent
ew()
getNotifyTradeSound()
method_18010()
getYesSound()
func_213714_ea()
getTradeSound()
public void
u(int arg0)
setDespawnDelay(int arg0)
method_18013(int arg0)
setDespawnDelay(int delay)
func_213728_s(int arg0)
public int
eA()
getDespawnDelay()
method_18014()
getDespawnDelay()
func_213735_eg()
public void
k()
aiStep()
method_6007()
tickMovement()
func_70636_d()
movementTick()
private void
eE()
maybeDespawn()
method_20508()
tickDespawnDelay()
func_222821_eh()
public void
g(fk arg0)
setWanderTarget(BlockPos arg0)
method_18069(class_2338 arg0)
setWanderTarget(BlockPos pos)
func_213726_g(BlockPos arg0)
private BlockPos
eF()
getWanderTarget()
method_18065()
getWanderTarget()
func_213727_eh()