net.minecraft.world.entity.npc

public class WanderingTrader

extends AbstractVillager implements Consumable$OverrideConsumeSound

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, UniquelyIdentifyable, ScoreHolder, DataComponentGetter, Attackable, EquipmentUser, Leashable, Targeting, InventoryCarrier, Npc, Merchant, Consumable$OverrideConsumeSound

cqu
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

Field summary

Modifier and TypeField
private static final int
bI
NUMBER_OF_TRADE_OFFERS
field_30629
f_euyoxwvq
field_30629
TRADE_OFFERS
private BlockPos
bJ
wanderTarget
field_17758
f_cofciqsy
wanderTarget
wanderTarget
private int
bK
despawnDelay
field_17725
f_yundkzci
despawnDelay
despawnDelay

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
D()
registerGoals()
method_5959()
m_itjttsuo()
initGoals()
initGoals()
public AgeableMob
a(arq arg0, bvv 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)
public boolean
gt()
showProgressBar()
method_19270()
m_inimrlal()
isLeveledMerchant()
isLeveledMerchant()
public InteractionResult
b(crc arg0, buc 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)
protected void
gx()
updateTrades()
method_7237()
m_dnvdzaow()
fillRecipes()
fillRecipes()
private void
gA()
experimentalUpdateTrades()
method_52557()
m_ovkhcbyr()
fillRebalancedRecipes()
fillExperimentalTrades()
public void
b(tz arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(tz arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
readCustomDataFromNbt(NbtCompound arg0)
public boolean
h(double arg0)
removeWhenFarAway(double arg0)
method_5974(double arg0)
m_dciqpbdm(double arg0)
canImmediatelyDespawn(double arg0)
canImmediatelyDespawn(double arg0)
protected void
b(dhy arg0)
rewardTradeXp(MerchantOffer arg0)
method_18008(class_1914 arg0)
m_iabllljm(C_argwryfu arg0)
afterUsing(TradeOffer arg0)
afterUsing(TradeOffer arg0)
protected SoundEvent
u()
getAmbientSound()
method_5994()
m_jjefzxbm()
getAmbientSound()
getAmbientSound()
protected SoundEvent
e(buu arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
m_spwwmdyl(C_sbxfkpyv arg0)
getHurtSound(DamageSource arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
l_()
getDeathSound()
method_6002()
m_axkhmdzu()
getDeathSound()
getDeathSound()
public SoundEvent
j(czd arg0)
getConsumeSound(ItemStack arg0)
method_18807(class_1799 arg0)
m_tmfnydbj(C_sddaxwyk arg0)
getConsumeSound(ItemStack arg0)
getConsumptionSound(ItemStack arg0)
protected SoundEvent
w(boolean arg0)
getTradeUpdatedSound(boolean arg0)
method_18012(boolean arg0)
m_kwfamrvh(boolean arg0)
getTradingSound(boolean arg0)
getTradingSound(boolean arg0)
public SoundEvent
gu()
getNotifyTradeSound()
method_18010()
m_trezqnuu()
getYesSound()
getYesSound()
public void
t(int arg0)
setDespawnDelay(int arg0)
method_18013(int arg0)
m_xqsbkpou(int arg0)
setDespawnDelay(int despawnDelay)
setDespawnDelay(int delay)
public int
gz()
getDespawnDelay()
method_18014()
m_erzkfklh()
getDespawnDelay()
getDespawnDelay()
public void
k_()
aiStep()
method_6007()
m_alyudxll()
tickMovement()
tickMovement()
private void
gB()
maybeDespawn()
method_20508()
m_qdngvbas()
tickDespawnDelay()
tickDespawnDelay()
public void
h(iu arg0)
setWanderTarget(BlockPos arg0)
method_18069(class_2338 arg0)
m_lfzekjgz(C_hynzadkk arg0)
setWanderTarget(BlockPos wanderTarget)
setWanderTarget(BlockPos pos)
BlockPos
gD()
getWanderTarget()
method_18065()
m_kyqjbjby()
getWanderTarget()
getWanderTarget()