History - net.minecraft.entity.ai.brain.task.HoldTradeOffersTask
26.3-snapshot-3
Names
Fields
Constructors
Methods
26.3-snapshot-2
Names
Fields
Constructors
Methods
26.3-snapshot-1
Names
Fields
Constructors
Methods
26.2
Names
Fields
Constructors
Methods
26.1.2
Names
Fields
Constructors
Methods
26.1.1
Names
Fields
Constructors
Methods
26.1
Names
Fields
Constructors
Methods
1.21.11_unobfuscated
Names
net.minecraft.world.entity.ai.behavior.ShowTradesToPlayer
net.minecraft.class_4130
net.minecraft.entity.ai.brain.task.HoldTradeOffersTask
Fields
int: MAX_LOOK_TIME, field_30167, RUN_INTERVAL
int: STARTING_LOOK_TIME, field_30168, OFFER_SHOWING_INTERVAL
ItemStack: playerItemStack, field_18392, customerHeldStack
List<ItemStack>: displayItems, field_18393, offers
int: cycleCounter, field_18394, offerShownTicks
int: displayIndex, field_18395, offerIndex
int: lookTime, field_18396, ticksLeft
Constructors
(int, int)
Methods
boolean (ServerWorld, VillagerEntity): checkExtraStartConditions, method_19599, shouldRun
boolean (ServerWorld, VillagerEntity, long): canStillUse, method_19600, shouldKeepRunning
void (ServerWorld, VillagerEntity, long): start, method_19602, run
void (ServerWorld, VillagerEntity, long): tick, method_19604, keepRunning
void (ServerWorld, VillagerEntity, long): stop, method_19605, finishRunning
void (LivingEntity, VillagerEntity): findItemsToDisplay, method_19027, setupOffers
void (VillagerEntity): displayFirstItem, method_19598, holdOffer
void (VillagerEntity): updateDisplayItems, method_19601, loadPossibleOffers
boolean (TradeOffer): playerItemStackMatchesCostOfOffer, method_19028, isPossible
void (VillagerEntity): clearHeldItem, method_37448, holdNothing
void (VillagerEntity, ItemStack): displayAsHeldItem, method_37447, holdOffer
LivingEntity (VillagerEntity): lookAtTarget, method_19603, findPotentialCustomer
void (VillagerEntity): displayCyclingItems, method_19026, refreshShownOffer
boolean (ServerWorld, LivingEntity): checkExtraStartConditions, method_18919, shouldRun
boolean (ServerWorld, LivingEntity, long): canStillUse, method_18927, shouldKeepRunning
void (ServerWorld, LivingEntity, long): stop, method_18926, finishRunning
void (ServerWorld, LivingEntity, long): tick, method_18924, keepRunning
void (ServerWorld, LivingEntity, long): start, method_18920, run