Uses of Interface
net.minecraft.world.entity.npc.VillagerTrades.ItemListing
Package
Description
-
Uses of VillagerTrades.ItemListing in net.minecraft.world.entity.npc
Modifier and TypeClassDescription(package private) static class
(package private) static class
(package private) static class
(package private) static class
(package private) static class
(package private) static class
(package private) static class
(package private) static class
(package private) static class
(package private) static class
(package private) static class
(package private) static final record
Modifier and TypeFieldDescriptionprivate final Map<VillagerType,
VillagerTrades.ItemListing> VillagerTrades.TypeSpecificTrade.trades
The field for thetrades
record component.Modifier and TypeMethodDescriptionprivate static VillagerTrades.ItemListing
VillagerTrades.commonBooks
(int p_294584_) private static VillagerTrades.ItemListing
VillagerTrades.specialBooks()
Modifier and TypeMethodDescriptionVillagerTrades.TypeSpecificTrade.trades()
Returns the value of thetrades
record component.Modifier and TypeMethodDescriptionprotected void
AbstractVillager.addOffersFromItemListings
(MerchantOffers p_35278_, VillagerTrades.ItemListing[] p_35279_, int p_35280_) VillagerTrades.TypeSpecificTrade.oneTradeInBiomes
(VillagerTrades.ItemListing p_302030_, VillagerType... p_301996_) ModifierConstructorDescription(package private)
Creates an instance of aTypeSpecificTrade
record class. -
Uses of VillagerTrades.ItemListing in net.neoforged.neoforge.common
Modifier and TypeClassDescriptionclass
A default, exposed implementation of ITrade. -
Uses of VillagerTrades.ItemListing in net.neoforged.neoforge.event.village
Modifier and TypeFieldDescriptionprotected List<VillagerTrades.ItemListing>
WandererTradesEvent.generic
protected List<VillagerTrades.ItemListing>
WandererTradesEvent.rare
protected it.unimi.dsi.fastutil.ints.Int2ObjectMap<List<VillagerTrades.ItemListing>>
VillagerTradesEvent.trades
Modifier and TypeMethodDescriptionWandererTradesEvent.getGenericTrades()
WandererTradesEvent.getRareTrades()
it.unimi.dsi.fastutil.ints.Int2ObjectMap<List<VillagerTrades.ItemListing>>
VillagerTradesEvent.getTrades()
ModifierConstructorDescriptionVillagerTradesEvent
(it.unimi.dsi.fastutil.ints.Int2ObjectMap<List<VillagerTrades.ItemListing>> trades, VillagerProfession type) WandererTradesEvent
(List<VillagerTrades.ItemListing> generic, List<VillagerTrades.ItemListing> rare)