History - net.minecraft.world.item.trading.MerchantOffer

1.21.4

Names

dgf

dfg

Fields

Constructors

Methods

1.21.3

Names

dax

dgf

net.minecraft.world.item.trading.IMerchant

net.minecraft.world.item.trading.MerchantRecipe

Fields

Constructors

Methods

1.20.5

Names

dax

net.minecraft.world.item.trading.MerchantOffer

net.minecraft.class_1914

net.minecraft.unmapped.C_argwryfu

net.minecraft.village.TradeOffer

net.minecraft.village.TradeOffer

net.minecraft.src.C_1551_

net.minecraft.world.item.trading.IMerchant

Fields

com.mojang.serialization.Codec<MerchantOffer>: a, CODEC, field_48849, f_mwqmztrh, CODEC, CODEC, f_315817_

StreamCodec<RegistryFriendlyByteBuf, MerchantOffer>: b, STREAM_CODEC, field_48371, f_tjaybnuu, PACKET_CODEC, PACKET_CODEC, f_316658_

ItemCost: c, baseCostA, field_9146, f_fiwjfjsv, firstBuyItem, firstBuyItem, f_45310_

Optional<ItemCost>: d, costB, field_9143, f_ahlxvzwr, secondBuyItem, secondBuyItem, f_45311_

ItemStack: e, result, field_9148, f_ehdiengs, sellItem, sellItem, f_45312_

int: f, uses, field_9147, f_ldkgpymk, uses, uses, f_45313_

int: g, maxUses, field_9144, f_mgalkhcf, maxUses, maxUses, f_45314_

boolean: h, rewardExp, field_9145, f_vcpzwcnv, rewardingPlayerExperience, rewardingPlayerExperience, f_45315_

int: i, specialPriceDiff, field_18676, f_swwaavur, specialPrice, specialPrice, f_45316_

int: j, demand, field_18677, f_lgvzktct, demandBonus, demandBonus, f_45317_

float: k, priceMultiplier, field_18678, f_izfgozck, priceMultiplier, priceMultiplier, f_45318_

int: l, xp, field_18679, f_orryzsqt, merchantExperience, merchantExperience, f_45319_

Constructors

(ItemCost, Optional<ItemCost>, ItemStack, int, int, boolean, int, int, float, int)

(ItemCost, ItemStack, int, int, float)

(ItemCost, Optional<ItemCost>, ItemStack, int, int, float)

(ItemCost, Optional<ItemCost>, ItemStack, int, int, int, float)

(ItemCost, Optional<ItemCost>, ItemStack, int, int, int, float, int)

(MerchantOffer)

Methods

ItemStack (): a, getBaseCostA, method_8246, m_zhqjzxea, getOriginalFirstBuyItem, getOriginalFirstBuyItem, m_45352_

ItemStack (): b, getCostA, method_19272, m_tavhnucy, getDisplayedFirstBuyItem, getAdjustedFirstBuyItem, m_45358_

int (ItemCost): a, getModifiedCostCount, method_57555, m_xtltsmys, getFirstBuyItemCount, getAdjustedPrice, m_319639_

ItemStack (): c, getCostB, method_8247, m_isgpghfg, getDisplayedSecondBuyItem, getSecondBuyItemAsStack, m_45364_

ItemCost (): d, getItemCostA, method_57556, m_xwbkhwkd, getFirstBuyItem, getFirstBuyItem, m_319694_

Optional<ItemCost> (): e, getItemCostB, method_57557, m_ybscqxvx, getSecondBuyItem, getSecondBuyItem, m_320423_

ItemStack (): f, getResult, method_8250, m_mfibukla, getSellItem, getSellItem, m_45368_

void (): g, updateDemand, method_19274, m_kktwxkpz, updateDemandBonus, updateDemandBonus, m_45369_

ItemStack (): h, assemble, method_18019, m_gpklzshx, copySellItem, copySellItem, m_45370_

int (): i, getUses, method_8249, m_rgdhugvk, getUses, getUses, m_45371_

void (): j, resetUses, method_19275, m_ddwttpmu, resetUses, resetUses, m_45372_

int (): k, getMaxUses, method_8248, m_msgntumj, getMaxUses, getMaxUses, m_45373_

void (): l, increaseUses, method_8244, m_rfcgwqwz, use, use, m_45374_

int (): m, getDemand, method_21725, m_maentgjr, getDemandBonus, getDemandBonus, m_45375_

void (int): a, addToSpecialPriceDiff, method_8245, m_lkwfnfah, increaseSpecialPrice, increaseSpecialPrice, m_45353_

void (): n, resetSpecialPriceDiff, method_19276, m_ghuhjdhg, clearSpecialPrice, clearSpecialPrice, m_45376_

int (): o, getSpecialPriceDiff, method_19277, m_rvsrmyip, getSpecialPrice, getSpecialPrice, m_45377_

void (int): b, setSpecialPriceDiff, method_19273, m_rnlvoxvy, setSpecialPrice, setSpecialPrice, m_45359_

float (): p, getPriceMultiplier, method_19278, m_fmnignmw, getPriceMultiplier, getPriceMultiplier, m_45378_

int (): q, getXp, method_19279, m_akycaqxo, getMerchantExperience, getMerchantExperience, m_45379_

boolean (): r, isOutOfStock, method_8255, m_vavbplgu, isDisabled, isDisabled, m_45380_

void (): s, setToOutOfStock, method_8254, m_zcwmrswy, disable, disable, m_45381_

boolean (): t, needsRestock, method_21834, m_udvmsagx, hasBeenUsed, hasBeenUsed, m_45382_

boolean (): u, shouldRewardExp, method_8256, m_asyggsbs, shouldRewardPlayerExperience, shouldRewardPlayerExperience, m_45383_

boolean (ItemStack, ItemStack): a, satisfiedBy, method_16952, m_rpshssao, matchesBuyItems, matchesBuyItems, m_45355_

boolean (ItemStack, ItemStack): b, take, method_16953, m_jrpzwrcp, depleteBuyItems, depleteBuyItems, m_45361_

MerchantOffer (): v, copy, method_53881, m_wkoilegm, copy, copy, m_301673_

void (RegistryFriendlyByteBuf, MerchantOffer): a, writeToStream, method_56111, m_ckimwvin, write, write, m_324118_

MerchantOffer (RegistryFriendlyByteBuf): a, createFromStream, method_56110, m_jwtgudye, read, read, m_320903_