net.minecraft.world.entity.npc

public class WanderingTrader

extends AbstractVillager

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, CommandSource, ScoreHolder, Attackable, EquipmentUser, Leashable, Targeting, InventoryCarrier, Npc, Merchant

cmq
net.minecraft.world.entity.npc.WanderingTrader
net.minecraft.class_3989
net.minecraft.unmapped.C_kiprlgty
net.minecraft.entity.passive.WanderingTraderEntity
net.minecraft.entity.passive.WanderingTraderEntity
net.minecraft.src.C_1135_
net.minecraft.world.entity.npc.EntityVillagerTrader

Field summary

Modifier and TypeField
private static final int
ce
NUMBER_OF_TRADE_OFFERS
field_30629
f_euyoxwvq
field_30629
TRADE_OFFERS
f_150044_
private BlockPos
cf
wanderTarget
field_17758
f_cofciqsy
wanderTarget
wanderTarget
f_35840_
private int
cg
despawnDelay
field_17725
f_yundkzci
despawnDelay
despawnDelay
f_35841_

Constructor summary

ModifierConstructor
public (EntityType<? extends WanderingTrader> p_35844_, Level world)

Method summary

Modifier and TypeMethod
protected void
B()
registerGoals()
method_5959()
m_itjttsuo()
initGoals()
initGoals()
m_8099_()
public AgeableMob
a(aqu arg0, bsl arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_5613(class_3218 arg0, class_1296 arg1)
m_hftuejnb(C_bdwnwhiu arg0, C_jvojbnla arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
m_142606_(C_12_ p_150047_, C_141062_ arg1)
public boolean
gn()
showProgressBar()
method_19270()
m_inimrlal()
isLeveledMerchant()
isLeveledMerchant()
m_7826_()
public InteractionResult
b(cmx arg0, bqq arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
m_kuhfocmh(C_jzrpycqo arg0, C_laxmzoqs arg1)
interactMob(PlayerEntity arg0, Hand arg1)
interactMob(PlayerEntity arg0, Hand arg1)
m_6071_(C_1141_ p_35857_, C_470_ arg1)
protected void
gr()
updateTrades()
method_7237()
m_dnvdzaow()
fillRecipes()
fillRecipes()
m_7604_()
private void
gu()
experimentalUpdateTrades()
method_52557()
m_ovkhcbyr()
fillRebalancedRecipes()
fillExperimentalTrades()
m_294526_()
public void
b(ub arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(ub arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public boolean
h(double arg0)
removeWhenFarAway(double arg0)
method_5974(double arg0)
m_dciqpbdm(double arg0)
canImmediatelyDespawn(double arg0)
canImmediatelyDespawn(double arg0)
m_6785_(double arg0)
protected void
b(dbu arg0)
rewardTradeXp(MerchantOffer arg0)
method_18008(class_1914 arg0)
m_iabllljm(C_argwryfu arg0)
afterUsing(TradeOffer arg0)
afterUsing(TradeOffer arg0)
m_8058_(C_1551_ arg0)
protected SoundEvent
v()
getAmbientSound()
method_5994()
m_jjefzxbm()
getAmbientSound()
getAmbientSound()
m_7515_()
protected SoundEvent
d(brk arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
m_spwwmdyl(C_sbxfkpyv arg0)
getHurtSound(DamageSource arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
n_()
getDeathSound()
method_6002()
m_axkhmdzu()
getDeathSound()
getDeathSound()
m_5592_()
protected SoundEvent
c(cuq arg0)
getDrinkingSound(ItemStack arg0)
method_18807(class_1799 arg0)
m_cqzdrxbt(C_sddaxwyk arg0)
getDrinkSound(ItemStack arg0)
getDrinkSound(ItemStack arg0)
m_7838_(C_1391_ arg0)
protected SoundEvent
x(boolean arg0)
getTradeUpdatedSound(boolean arg0)
method_18012(boolean arg0)
m_kwfamrvh(boolean arg0)
getTradingSound(boolean arg0)
getTradingSound(boolean arg0)
m_6068_(boolean arg0)
public SoundEvent
go()
getNotifyTradeSound()
method_18010()
m_trezqnuu()
getYesSound()
getYesSound()
m_7596_()
public void
u(int arg0)
setDespawnDelay(int arg0)
method_18013(int arg0)
m_xqsbkpou(int arg0)
setDespawnDelay(int despawnDelay)
setDespawnDelay(int delay)
m_35891_(int arg0)
public int
gt()
getDespawnDelay()
method_18014()
m_erzkfklh()
getDespawnDelay()
getDespawnDelay()
m_35876_()
public void
m_()
aiStep()
method_6007()
m_alyudxll()
tickMovement()
tickMovement()
m_8107_()
private void
gv()
maybeDespawn()
method_20508()
m_qdngvbas()
tickDespawnDelay()
tickDespawnDelay()
m_35877_()
public void
h(jd arg0)
setWanderTarget(BlockPos arg0)
method_18069(class_2338 arg0)
m_lfzekjgz(C_hynzadkk arg0)
setWanderTarget(BlockPos wanderTarget)
setWanderTarget(BlockPos pos)
m_35883_(C_4675_ arg0)
BlockPos
gx()
getWanderTarget()
method_18065()
m_kyqjbjby()
getWanderTarget()
getWanderTarget()
m_35878_()