History - net.minecraft.entity.passive.MerchantEntity
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
int: VILLAGER_SLOT_OFFSET, field_30599, field_30599
int: VILLAGER_INVENTORY_SIZE, field_30600, INVENTORY_SIZE
org.slf4j.Logger: LOGGER, field_1_696, LOGGER
Constructors
Methods
void (ServerWorld, TradeOfferList, TradeOffers$Factory[], int): addOffersFromItemListings, method_19170, fillRecipesFromPool
void (ServerWorld, TradeOfferList, RegistryKey<TradeSet>): addOffersFromTradeSet, method_1_658, addTradesFromSet
void (LootContext, TradeOfferList, RegistryEntryList<VillagerTrade>, int): addOffersFromItemListings, method_1_656, addTradesFromSetAllowingDuplicates
void (LootContext, TradeOfferList, RegistryEntryList<VillagerTrade>, int): addOffersFromItemListingsWithoutDuplicates, method_1_657, addTradesFromSetsDisallowingDuplicates
1.21.11_unobfuscated
Names
net.minecraft.world.entity.npc.villager.AbstractVillager
net.minecraft.class_3988
net.minecraft.entity.passive.MerchantEntity
Fields
TrackedData<Integer>: DATA_UNHAPPY_COUNTER, field_19295, HEAD_ROLLING_TIME_LEFT
int: VILLAGER_SLOT_OFFSET, field_30599, field_30599
int: VILLAGER_INVENTORY_SIZE, field_30600, INVENTORY_SIZE
PlayerEntity: tradingPlayer, field_17722, customer
TradeOfferList: offers, field_17721, offers
SimpleInventory: inventory, field_17723, inventory
Constructors
(EntityType<? extends MerchantEntity>, World)
Methods
EntityData (ServerWorldAccess, LocalDifficulty, SpawnReason, EntityData): finalizeSpawn, method_5943, initialize
int (): getUnhappyCounter, method_20506, getHeadRollingTimeLeft
void (int): setUnhappyCounter, method_20507, setHeadRollingTimeLeft
int (): getVillagerXp, method_19269, getExperience
void (DataTracker$Builder): defineSynchedData, method_5693, initDataTracker
void (PlayerEntity): setTradingPlayer, method_8259, setCustomer
PlayerEntity (): getTradingPlayer, method_8257, getCustomer
boolean (): isTrading, method_18009, hasCustomer
TradeOfferList (): getOffers, method_8264, getOffers
void (TradeOfferList): overrideOffers, method_8261, setOffersFromServer
void (int): overrideXp, method_19271, setExperienceFromServer
void (TradeOffer): notifyTrade, method_8262, trade
void (TradeOffer): rewardTradeXp, method_18008, afterUsing
boolean (): showProgressBar, method_19270, isLeveledMerchant
void (ItemStack): notifyTradeUpdated, method_8258, onSellingItem
SoundEvent (): getNotifyTradeSound, method_18010, getYesSound
SoundEvent (boolean): getTradeUpdatedSound, method_18012, getTradingSound
void (): playCelebrateSound, method_20010, playCelebrateSound
void (WriteView): addAdditionalSaveData, method_5652, writeCustomData
void (ReadView): readAdditionalSaveData, method_5749, readCustomData
Entity (TeleportTarget): teleport, method_5731, teleportTo
void (): stopTrading, method_19181, resetCustomer
void (DamageSource): die, method_6078, onDeath
void (ParticleEffect): addParticlesAroundSelf, method_18007, produceParticles
boolean (): canBeLeashed, method_5931, canBeLeashed
SimpleInventory (): getInventory, method_35199, getInventory
StackReference (int): getSlot, method_32318, getStackReference
void (ServerWorld): updateTrades, method_7237, fillRecipes
void (ServerWorld, TradeOfferList, TradeOffers$Factory[], int): addOffersFromItemListings, method_19170, fillRecipesFromPool
Vec3d (float): getRopeHoldPosition, method_30951, getLeashPos
boolean (): isClientSide, method_38069, isClient
boolean (PlayerEntity): stillValid, method_65125, canInteract