net.minecraft.world.entity.npc

public class WanderingTrader

extends AbstractVillager

All mapped superinterfaces:

Nameable, CommandSource, Npc, Merchant

bdv
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_16_R1.EntityVillagerTrader

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
o()
registerGoals()
method_5959()
initGoals()
func_184651_r()
initPathfinder()
public AgableMob
a(aok arg0)
getBreedOffspring(AgableMob arg0)
method_5613(class_1296 arg0)
createChild(PassiveEntity arg0)
func_90011_a(AgeableEntity arg0)
createChild(EntityAgeable arg0)
public boolean
eQ()
showProgressBar()
method_19270()
isLeveledTrader()
func_213705_dZ()
isRegularVillager()
public InteractionResult
b(bec arg0, anf arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
func_230254_b_(PlayerEntity arg0, Hand arg1)
protected void
eW()
updateTrades()
method_7237()
fillRecipes()
func_213712_ef()
public void
b(le arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
saveData(NBTTagCompound arg0)
public void
a(le arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
loadData(NBTTagCompound 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(boz arg0)
rewardTradeXp(MerchantOffer arg0)
method_18008(class_1914 arg0)
afterUsing(TradeOffer arg0)
func_213713_b(MerchantOffer arg0)
protected SoundEvent
I()
getAmbientSound()
method_5994()
getAmbientSound()
func_184639_G()
getSoundAmbient()
protected SoundEvent
e(anw arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
func_184601_bQ(DamageSource arg0)
getSoundHurt(DamageSource arg0)
protected SoundEvent
dp()
getDeathSound()
method_6002()
getDeathSound()
func_184615_bR()
getSoundDeath()
protected SoundEvent
c(bki arg0)
getDrinkingSound(ItemStack arg0)
method_18807(class_1799 arg0)
getDrinkSound(ItemStack arg0)
func_213351_c(ItemStack arg0)
protected SoundEvent
t(boolean arg0)
getTradeUpdatedSound(boolean arg0)
method_18012(boolean arg0)
getTradingSound(boolean arg0)
func_213721_r(boolean arg0)
public SoundEvent
eR()
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
eX()
getDespawnDelay()
method_18014()
getDespawnDelay()
func_213735_eg()
public void
k()
aiStep()
method_6007()
tickMovement()
func_70636_d()
movementTick()
private void
eY()
maybeDespawn()
method_20508()
tickDespawnDelay()
func_222821_eh()
public void
g(fu arg0)
setWanderTarget(BlockPos arg0)
method_18069(class_2338 arg0)
setWanderTarget(BlockPos pos)
func_213726_g(BlockPos arg0)
private BlockPos
eZ()
getWanderTarget()
method_18065()
getWanderTarget()
func_213727_eh()