net.minecraft.world.entity.ai.behavior

public class TradeWithVillager

extends Behavior<Villager>

asq
net.minecraft.world.entity.ai.behavior.TradeWithVillager
net.minecraft.class_4126
net.minecraft.unmapped.C_xshnkqvx
net.minecraft.entity.ai.brain.task.GatherItemsVillagerTask
net.minecraft.entity.ai.brain.task.ShareItemsTask
net.minecraft.server.v1_16_R1.BehaviorTradeVillager

Field summary

Modifier and TypeField
private Set<Item>
b
trades
field_18389
f_gymbvhsd
items
field_220588_a

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
protected boolean
a(zd arg0, bdp arg1)
checkExtraStartConditions(ServerLevel arg0, Villager arg1)
method_19015(class_3218 arg0, class_1646 arg1)
m_niokjzsz(C_bdwnwhiu arg0, C_pdtkdbte arg1)
shouldRun(ServerWorld arg0, VillagerEntity arg1)
func_212832_a_(ServerWorld arg0, VillagerEntity arg1)
protected boolean
a(zd arg0, bdp arg1, long arg2)
canStillUse(ServerLevel arg0, Villager arg1, long arg2)
method_19016(class_3218 arg0, class_1646 arg1, long arg2)
m_emninqfm(C_bdwnwhiu arg0, C_pdtkdbte arg1, long arg2)
shouldKeepRunning(ServerWorld arg0, VillagerEntity arg1, long arg2)
func_212834_g_(ServerWorld arg0, VillagerEntity arg1, long arg2)
protected void
b(zd arg0, bdp arg1, long arg2)
start(ServerLevel arg0, Villager arg1, long arg2)
method_19017(class_3218 arg0, class_1646 arg1, long arg2)
m_lfoukxgi(C_bdwnwhiu arg0, C_pdtkdbte arg1, long arg2)
run(ServerWorld arg0, VillagerEntity arg1, long arg2)
func_212831_a_(ServerWorld arg0, VillagerEntity arg1, long arg2)
protected void
c(zd arg0, bdp arg1, long arg2)
tick(ServerLevel arg0, Villager arg1, long arg2)
method_19018(class_3218 arg0, class_1646 arg1, long arg2)
m_bpzzslkf(C_bdwnwhiu arg0, C_pdtkdbte arg1, long arg2)
keepRunning(ServerWorld arg0, VillagerEntity arg1, long arg2)
func_212833_d_(ServerWorld arg0, VillagerEntity arg1, long arg2)
protected void
d(zd arg0, bdp arg1, long arg2)
stop(ServerLevel arg0, Villager arg1, long arg2)
method_19019(class_3218 arg0, class_1646 arg1, long arg2)
m_bxnijsko(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 static Set<Item>
a(bdp arg0, bdp arg1)
figureOutWhatIAmWillingToTrade(Villager arg0, Villager arg1)
method_19611(class_1646 arg0, class_1646 arg1)
m_kysksogm(C_pdtkdbte arg0, C_pdtkdbte arg1)
getGatherableItems(VillagerEntity arg0, VillagerEntity arg1)
func_220585_a(VillagerEntity arg0, VillagerEntity arg1)
private static void
a(bdp arg0, Set<bke> arg1, aoy arg2)
throwHalfStack(Villager arg0, Set<Item> arg1, LivingEntity arg2)
method_19013(class_1646 arg0, Set<class_1792> arg1, class_1309 arg2)
m_dysnuiuw(C_pdtkdbte arg0, Set<C_vorddnax> arg1, C_usxaxydn arg2)
giveHalfOfStack(VillagerEntity villager, Set<Item> validItems, LivingEntity target)
func_220586_a(VillagerEntity arg0, Set<Item> arg1, LivingEntity arg2)