Uses of Class
net.minecraft.world.item.trading.MerchantOffers
Package
Description
-
Uses of MerchantOffers in net.minecraft.client.gui.screens.inventory
Modifier and TypeMethodDescriptionprivate void
MerchantScreen.renderScroller
(GuiGraphics p_283030_, int p_283154_, int p_281664_, MerchantOffers p_282877_) -
Uses of MerchantOffers in net.minecraft.network.protocol.game
Modifier and TypeFieldDescriptionprivate final MerchantOffers
ClientboundMerchantOffersPacket.offers
ModifierConstructorDescriptionClientboundMerchantOffersPacket
(int p_132456_, MerchantOffers p_132457_, int p_132458_, int p_132459_, boolean p_132460_, boolean p_132461_) -
Uses of MerchantOffers in net.minecraft.server.level
Modifier and TypeMethodDescriptionvoid
ServerPlayer.sendMerchantOffers
(int p_8988_, MerchantOffers p_8989_, int p_8990_, int p_8991_, boolean p_8992_, boolean p_8993_) -
Uses of MerchantOffers in net.minecraft.world.entity.monster
-
Uses of MerchantOffers in net.minecraft.world.entity.npc
Modifier and TypeFieldDescriptionprotected MerchantOffers
AbstractVillager.offers
private MerchantOffers
ClientSideMerchant.offers
Modifier and TypeMethodDescriptionprotected void
AbstractVillager.addOffersFromItemListings
(MerchantOffers p_35278_, VillagerTrades.ItemListing[] p_35279_, int p_35280_) void
AbstractVillager.overrideOffers
(MerchantOffers p_35276_) void
ClientSideMerchant.overrideOffers
(MerchantOffers p_35348_) void
Villager.setOffers
(MerchantOffers p_35477_) -
Uses of MerchantOffers in net.minecraft.world.entity.player
Modifier and TypeMethodDescriptionvoid
Player.sendMerchantOffers
(int p_36121_, MerchantOffers p_36122_, int p_36123_, int p_36124_, boolean p_36125_, boolean p_36126_) -
Uses of MerchantOffers in net.minecraft.world.inventory
-
Uses of MerchantOffers in net.minecraft.world.item.trading
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<MerchantOffers> MerchantOffers.CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, MerchantOffers> MerchantOffers.STREAM_CODEC