net.minecraft.world.entity.ai.behavior

public class ShowTradesToPlayer

extends Behavior<Villager>

ann
net.minecraft.world.entity.ai.behavior.ShowTradesToPlayer
net.minecraft.class_4130
net.minecraft.unmapped.C_efrykufo
net.minecraft.entity.ai.brain.task.HoldTradeOffersTask
net.minecraft.entity.ai.brain.task.ShowWaresTask
net.minecraft.server.v1_15_R1.BehaviorTradePlayer

Field summary

Modifier and TypeField
private ItemStack
a
playerItemStack
field_18392
f_oohwhnfs
customerHeldStack
field_220559_a
private final List<ItemStack>
b
displayItems
field_18393
f_aghakjch
offers
field_220560_b
private int
c
cycleCounter
field_18394
f_enjreeoj
offerShownTicks
field_220561_c
private int
d
displayIndex
field_18395
f_guipgaoo
offerIndex
field_220562_d
private int
e
lookTime
field_18396
f_plpxadsy
ticksLeft
field_220563_e

Constructor summary

ModifierConstructor
public (int rminRunTime, int maxRunTime)

Method summary

Modifier and TypeMethod
public boolean
a(xd arg0, axw arg1)
checkExtraStartConditions(ServerLevel arg0, Villager arg1)
method_19599(class_3218 arg0, class_1646 arg1)
m_dzttroao(C_bdwnwhiu arg0, C_pdtkdbte arg1)
shouldRun(ServerWorld arg0, VillagerEntity arg1)
func_212832_a_(ServerWorld arg0, VillagerEntity arg1)
public boolean
a(xd arg0, axw arg1, long arg2)
canStillUse(ServerLevel arg0, Villager arg1, long arg2)
method_19600(class_3218 arg0, class_1646 arg1, long arg2)
m_maepvxdi(C_bdwnwhiu arg0, C_pdtkdbte arg1, long arg2)
shouldKeepRunning(ServerWorld arg0, VillagerEntity arg1, long arg2)
func_212834_g_(ServerWorld arg0, VillagerEntity arg1, long arg2)
public void
b(xd arg0, axw arg1, long arg2)
start(ServerLevel arg0, Villager arg1, long arg2)
method_19602(class_3218 arg0, class_1646 arg1, long arg2)
m_nubnboil(C_bdwnwhiu arg0, C_pdtkdbte arg1, long arg2)
run(ServerWorld arg0, VillagerEntity arg1, long arg2)
func_212831_a_(ServerWorld arg0, VillagerEntity arg1, long arg2)
public void
c(xd arg0, axw arg1, long arg2)
tick(ServerLevel arg0, Villager arg1, long arg2)
method_19604(class_3218 arg0, class_1646 arg1, long arg2)
m_yojffnvg(C_bdwnwhiu arg0, C_pdtkdbte arg1, long arg2)
keepRunning(ServerWorld arg0, VillagerEntity arg1, long arg2)
func_212833_d_(ServerWorld arg0, VillagerEntity arg1, long arg2)
public void
d(xd arg0, axw arg1, long arg2)
stop(ServerLevel arg0, Villager arg1, long arg2)
method_19605(class_3218 arg0, class_1646 arg1, long arg2)
m_vaedargn(C_bdwnwhiu arg0, C_pdtkdbte arg1, long arg2)
finishRunning(ServerWorld arg0, VillagerEntity arg1, long arg2)
func_212835_f_(ServerWorld arg0, VillagerEntity arg1, long arg2)
private void
a(akz arg0, axw arg1)
findItemsToDisplay(LivingEntity arg0, Villager arg1)
method_19027(class_1309 arg0, class_1646 arg1)
m_dgfdlrvg(C_usxaxydn arg0, C_pdtkdbte arg1)
setupOffers(LivingEntity customer, VillagerEntity villager)
func_220556_a(LivingEntity arg0, VillagerEntity arg1)
private void
a(axw arg0)
displayFirstItem(Villager arg0)
method_19598(class_1646 arg0)
m_tpnsdkpx(C_pdtkdbte arg0)
holdOffer(VillagerEntity villager)
func_220558_a(VillagerEntity arg0)
private void
b(axw arg0)
updateDisplayItems(Villager arg0)
method_19601(class_1646 arg0)
m_pyoehwmr(C_pdtkdbte arg0)
loadPossibleOffers(VillagerEntity villager)
func_220555_b(VillagerEntity arg0)
private boolean
a(biz arg0)
playerItemStackMatchesCostOfOffer(MerchantOffer arg0)
method_19028(class_1914 arg0)
m_iajsysoa(C_argwryfu arg0)
isPossible(TradeOffer offer)
func_220554_a(MerchantOffer arg0)
private LivingEntity
c(axw arg0)
lookAtTarget(Villager arg0)
method_19603(class_1646 arg0)
m_irxehaao(C_pdtkdbte arg0)
findPotentialCuatomer(VillagerEntity villager)
func_220557_c(VillagerEntity arg0)
private void
d(axw arg0)
displayCyclingItems(Villager arg0)
method_19026(class_1646 arg0)
m_govuwqjn(C_pdtkdbte arg0)
refreshShownOffer(VillagerEntity villager)
func_220553_d(VillagerEntity arg0)