History - net.minecraft.village.TradeOffer

26.4-snapshot-7

Names

Fields

Constructors

Methods

26.4-snapshot-6

Names

Fields

Constructors

Methods

26.4-snapshot-5

Names

Fields

Constructors

Methods

26.4-snapshot-4

Names

Fields

Constructors

Methods

26.4-snapshot-3

Names

Fields

Constructors

Methods

26.4-snapshot-2

Names

Fields

Constructors

Methods

26.4-snapshot-1

Names

Fields

Constructors

Methods

26.3

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

com.mojang.datafixers.kinds.App (com.mojang.serialization.codecs.RecordCodecBuilder$Instance): lambda$static$10, method_56705, method_56705

com.mojang.datafixers.kinds.App (com.mojang.serialization.codecs.RecordCodecBuilder$Instance): lambda$static$0, method_56705, method_56705

Integer (TradeOffer): lambda$static$9, method_56707, method_56707

Integer (TradeOffer): lambda$static$10, method_56707, method_56707

Float (TradeOffer): lambda$static$8, method_56708, method_56708

Float (TradeOffer): lambda$static$9, method_56708, method_56708

Integer (TradeOffer): lambda$static$7, method_56709, method_56709

Integer (TradeOffer): lambda$static$8, method_56709, method_56709

Integer (TradeOffer): lambda$static$6, method_56710, method_56710

Integer (TradeOffer): lambda$static$7, method_56710, method_56710

Boolean (TradeOffer): lambda$static$5, method_56711, method_56711

Boolean (TradeOffer): lambda$static$6, method_56711, method_56711

Integer (TradeOffer): lambda$static$4, method_56712, method_56712

Integer (TradeOffer): lambda$static$5, method_56712, method_56712

Integer (TradeOffer): lambda$static$3, method_56713, method_56713

Integer (TradeOffer): lambda$static$4, method_56713, method_56713

ItemStack (TradeOffer): lambda$static$2, method_56714, method_56714

ItemStack (TradeOffer): lambda$static$3, method_56714, method_56714

Optional (TradeOffer): lambda$static$1, method_56715, method_56715

Optional (TradeOffer): lambda$static$2, method_56715, method_56715

TradedItem (TradeOffer): lambda$static$0, method_56716, method_56716

TradedItem (TradeOffer): lambda$static$1, method_56716, method_56716

1.21.11_unobfuscated

Names

net.minecraft.world.item.trading.MerchantOffer

net.minecraft.class_1914

net.minecraft.village.TradeOffer

Fields

com.mojang.serialization.Codec<TradeOffer>: CODEC, field_48849, CODEC

PacketCodec<RegistryByteBuf, TradeOffer>: STREAM_CODEC, field_48371, PACKET_CODEC

TradedItem: baseCostA, field_9146, firstBuyItem

Optional<TradedItem>: costB, field_9143, secondBuyItem

ItemStack: result, field_9148, sellItem

int: uses, field_9147, uses

int: maxUses, field_9144, maxUses

boolean: rewardExp, field_9145, rewardingPlayerExperience

int: specialPriceDiff, field_18676, specialPrice

int: demand, field_18677, demandBonus

float: priceMultiplier, field_18678, priceMultiplier

int: xp, field_18679, merchantExperience

Constructors

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

(TradedItem, ItemStack, int, int, float)

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

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

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

(TradeOffer)

Methods

ItemStack (): getBaseCostA, method_8246, getOriginalFirstBuyItem

ItemStack (): getCostA, method_19272, getDisplayedFirstBuyItem

int (TradedItem): getModifiedCostCount, method_57555, getFirstBuyItemCount

ItemStack (): getCostB, method_8247, getDisplayedSecondBuyItem

TradedItem (): getItemCostA, method_57556, getFirstBuyItem

Optional<TradedItem> (): getItemCostB, method_57557, getSecondBuyItem

ItemStack (): getResult, method_8250, getSellItem

void (): updateDemand, method_19274, updateDemandBonus

ItemStack (): assemble, method_18019, copySellItem

int (): getUses, method_8249, getUses

void (): resetUses, method_19275, resetUses

int (): getMaxUses, method_8248, getMaxUses

void (): increaseUses, method_8244, use

int (): getDemand, method_21725, getDemandBonus

void (int): addToSpecialPriceDiff, method_8245, increaseSpecialPrice

void (): resetSpecialPriceDiff, method_19276, clearSpecialPrice

int (): getSpecialPriceDiff, method_19277, getSpecialPrice

void (int): setSpecialPriceDiff, method_19273, setSpecialPrice

float (): getPriceMultiplier, method_19278, getPriceMultiplier

int (): getXp, method_19279, getMerchantExperience

boolean (): isOutOfStock, method_8255, isDisabled

void (): setToOutOfStock, method_8254, disable

boolean (): needsRestock, method_21834, hasBeenUsed

boolean (): shouldRewardExp, method_8256, shouldRewardPlayerExperience

boolean (ItemStack, ItemStack): satisfiedBy, method_16952, matchesBuyItems

boolean (ItemStack, ItemStack): take, method_16953, depleteBuyItems

TradeOffer (): copy, method_53881, copy

void (RegistryByteBuf, TradeOffer): writeToStream, method_56111, write

TradeOffer (RegistryByteBuf): createFromStream, method_56110, read

com.mojang.datafixers.kinds.App (com.mojang.serialization.codecs.RecordCodecBuilder$Instance): lambda$static$10, method_56705, method_56705

Integer (TradeOffer): lambda$static$9, method_56707, method_56707

Float (TradeOffer): lambda$static$8, method_56708, method_56708

Integer (TradeOffer): lambda$static$7, method_56709, method_56709

Integer (TradeOffer): lambda$static$6, method_56710, method_56710

Boolean (TradeOffer): lambda$static$5, method_56711, method_56711

Integer (TradeOffer): lambda$static$4, method_56712, method_56712

Integer (TradeOffer): lambda$static$3, method_56713, method_56713

ItemStack (TradeOffer): lambda$static$2, method_56714, method_56714

Optional (TradeOffer): lambda$static$1, method_56715, method_56715

TradedItem (TradeOffer): lambda$static$0, method_56716, method_56716