net.minecraft.world.entity.ai.behavior

public class ShowTradesToPlayer

extends Behavior<Villager>

ank
net.minecraft.world.entity.ai.behavior.ShowTradesToPlayer
net.minecraft.class_4130
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
field_220559_a
private final List<ItemStack>
b
displayItems
field_18393
offers
field_220560_b
private int
c
cycleCounter
field_18394
field_220561_c
private int
d
displayIndex
field_18395
field_220562_d
private int
e
lookTime
field_18396
field_220563_e

Constructor summary

ModifierConstructor
public (int rminRunTime, int maxRunTime)

Method summary

Modifier and TypeMethod
public boolean
a(xd arg0, axt arg1)
checkExtraStartConditions(ServerLevel arg0, Villager arg1)
method_19599(class_3218 arg0, class_1646 arg1)
shouldRun(ServerWorld arg0, VillagerEntity arg1)
func_212832_a_(ServerWorld arg0, VillagerEntity arg1)
public boolean
a(xd arg0, axt arg1, long arg2)
canStillUse(ServerLevel arg0, Villager arg1, long arg2)
method_19600(class_3218 arg0, class_1646 arg1, long arg2)
shouldKeepRunning(ServerWorld arg0, VillagerEntity arg1, long arg2)
func_212834_g_(ServerWorld arg0, VillagerEntity arg1, long arg2)
public void
b(xd arg0, axt arg1, long arg2)
start(ServerLevel arg0, Villager arg1, long arg2)
method_19602(class_3218 arg0, class_1646 arg1, long arg2)
run(ServerWorld arg0, VillagerEntity arg1, long arg2)
func_212831_a_(ServerWorld arg0, VillagerEntity arg1, long arg2)
public void
c(xd arg0, axt arg1, long arg2)
tick(ServerLevel arg0, Villager arg1, long arg2)
method_19604(class_3218 arg0, class_1646 arg1, long arg2)
keepRunning(ServerWorld arg0, VillagerEntity arg1, long arg2)
func_212833_d_(ServerWorld arg0, VillagerEntity arg1, long arg2)
public void
d(xd arg0, axt arg1, long arg2)
stop(ServerLevel arg0, Villager arg1, long arg2)
method_19605(class_3218 arg0, class_1646 arg1, long arg2)
finishRunning(ServerWorld arg0, VillagerEntity arg1, long arg2)
func_212835_f_(ServerWorld arg0, VillagerEntity arg1, long arg2)
private void
a(akw arg0, axt arg1)
findItemsToDisplay(LivingEntity arg0, Villager arg1)
method_19027(class_1309 arg0, class_1646 arg1)
func_220556_a(LivingEntity arg0, VillagerEntity arg1)
private void
a(axt arg0)
displayFirstItem(Villager arg0)
method_19598(class_1646 arg0)
func_220558_a(VillagerEntity arg0)
private void
b(axt arg0)
updateDisplayItems(Villager arg0)
method_19601(class_1646 arg0)
func_220555_b(VillagerEntity arg0)
private boolean
a(biw arg0)
playerItemStackMatchesCostOfOffer(MerchantOffer arg0)
method_19028(class_1914 arg0)
func_220554_a(MerchantOffer arg0)
private LivingEntity
c(axt arg0)
lookAtTarget(Villager arg0)
method_19603(class_1646 arg0)
func_220557_c(VillagerEntity arg0)
private void
d(axt arg0)
displayCyclingItems(Villager arg0)
method_19026(class_1646 arg0)
func_220553_d(VillagerEntity arg0)