Uses of Record Class
net.minecraft.village.TradedItem
-
Uses of TradedItem in net.minecraft.screen
Modifier and TypeMethodDescriptionprivate void
MerchantScreenHandler.autofill
(int slot, TradedItem stack) -
Uses of TradedItem in net.minecraft.village
Modifier and TypeFieldDescriptionprivate final TradedItem
TradeOffer.firstBuyItem
private final TradedItem
TradeOffers.BuyItemFactory.stack
private final TradedItem
TradeOffers.ProcessItemFactory.toBeProcessed
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<TradedItem> TradedItem.CODEC
static final PacketCodec
<RegistryByteBuf, Optional<TradedItem>> TradedItem.OPTIONAL_PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, TradedItem> TradedItem.PACKET_CODEC
private final Optional
<TradedItem> TradeOffer.secondBuyItem
Modifier and TypeMethodDescriptionprivate static TradedItem
TradeOffers.createPotion
(RegistryEntry<Potion> potion) TradeOffer.getFirstBuyItem()
TradedItem.withComponents
(UnaryOperator<ComponentPredicate.Builder> builderCallback) Modifier and TypeMethodDescriptionprivate int
TradeOffer.getFirstBuyItemCount
(TradedItem firstBuyItem) ModifierConstructorDescriptionBuyItemFactory
(TradedItem stack, int maxUses, int experience, int price) ProcessItemFactory
(TradedItem toBeProcessed, int count, ItemStack processed, int maxUses, int processedCount, float multiplier) private
TradeOffer
(TradedItem firstBuyItem, Optional<TradedItem> secondBuyItem, ItemStack sellItem, int uses, int maxUses, boolean rewardingPlayerExperience, int specialPrice, int demandBonus, float priceMultiplier, int merchantExperience) TradeOffer
(TradedItem firstBuyItem, Optional<TradedItem> secondBuyItem, ItemStack sellItem, int maxUses, int merchantExperience, float priceMultiplier) TradeOffer
(TradedItem firstBuyItem, Optional<TradedItem> secondBuyItem, ItemStack sellItem, int uses, int maxUses, int merchantExperience, float priceMultiplier) TradeOffer
(TradedItem firstBuyItem, Optional<TradedItem> secondBuyItem, ItemStack sellItem, int uses, int maxUses, int merchantExperience, float priceMultiplier, int demandBonus) TradeOffer
(TradedItem buyItem, ItemStack sellItem, int maxUses, int merchantExperience, float priceMultiplier) ModifierConstructorDescriptionprivate
TradeOffer
(TradedItem firstBuyItem, Optional<TradedItem> secondBuyItem, ItemStack sellItem, int uses, int maxUses, boolean rewardingPlayerExperience, int specialPrice, int demandBonus, float priceMultiplier, int merchantExperience) TradeOffer
(TradedItem firstBuyItem, Optional<TradedItem> secondBuyItem, ItemStack sellItem, int maxUses, int merchantExperience, float priceMultiplier) TradeOffer
(TradedItem firstBuyItem, Optional<TradedItem> secondBuyItem, ItemStack sellItem, int uses, int maxUses, int merchantExperience, float priceMultiplier) TradeOffer
(TradedItem firstBuyItem, Optional<TradedItem> secondBuyItem, ItemStack sellItem, int uses, int maxUses, int merchantExperience, float priceMultiplier, int demandBonus)