Uses of Interface
net.minecraft.world.entity.npc.villager.VillagerTrades.ItemListing
Packages that use VillagerTrades.ItemListing
Package
Description
-
Uses of VillagerTrades.ItemListing in net.minecraft.world.entity.npc.villager
Classes in net.minecraft.world.entity.npc.villager that implement VillagerTrades.ItemListingModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic final recordFields in net.minecraft.world.entity.npc.villager with type parameters of type VillagerTrades.ItemListingModifier and TypeFieldDescriptionprivate final Map<ResourceKey<VillagerType>, VillagerTrades.ItemListing> VillagerTrades.TypeSpecificTrade.tradesThe field for thetradesrecord component.Methods in net.minecraft.world.entity.npc.villager that return VillagerTrades.ItemListingModifier and TypeMethodDescriptionprivate static VillagerTrades.ItemListingVillagerTrades.commonBooks(int pXp) private static VillagerTrades.ItemListingVillagerTrades.specialBooks()Methods in net.minecraft.world.entity.npc.villager that return types with arguments of type VillagerTrades.ItemListingModifier and TypeMethodDescriptionVillagerTrades.TypeSpecificTrade.trades()Returns the value of thetradesrecord component.Methods in net.minecraft.world.entity.npc.villager with parameters of type VillagerTrades.ItemListingModifier and TypeMethodDescriptionprotected voidAbstractVillager.addOffersFromItemListings(ServerLevel pLevel, MerchantOffers pOffers, VillagerTrades.ItemListing[] pListings, int pSlots) VillagerTrades.TypeSpecificTrade.oneTradeInBiomes(VillagerTrades.ItemListing pTrade, ResourceKey<VillagerType>... pTypes) Constructor parameters in net.minecraft.world.entity.npc.villager with type arguments of type VillagerTrades.ItemListingModifierConstructorDescriptionCreates an instance of aTypeSpecificTraderecord class. -
Uses of VillagerTrades.ItemListing in net.neoforged.neoforge.common
Classes in net.neoforged.neoforge.common that implement VillagerTrades.ItemListingModifier and TypeClassDescriptionclassA default, exposed implementation of ITrade. -
Uses of VillagerTrades.ItemListing in net.neoforged.neoforge.event.village
Fields in net.neoforged.neoforge.event.village with type parameters of type VillagerTrades.ItemListingModifier and TypeFieldDescriptionprotected List<org.apache.commons.lang3.tuple.Pair<List<VillagerTrades.ItemListing>, Integer>> WandererTradesEvent.additionalTradesprotected List<VillagerTrades.ItemListing> WandererTradesEvent.buyingprotected List<VillagerTrades.ItemListing> WandererTradesEvent.genericprotected List<VillagerTrades.ItemListing> WandererTradesEvent.rareprotected it.unimi.dsi.fastutil.ints.Int2ObjectMap<List<VillagerTrades.ItemListing>> VillagerTradesEvent.tradesMethods in net.neoforged.neoforge.event.village that return types with arguments of type VillagerTrades.ItemListingModifier and TypeMethodDescriptionWandererTradesEvent.getBuyingTrades()WandererTradesEvent.getGenericTrades()WandererTradesEvent.getRareTrades()it.unimi.dsi.fastutil.ints.Int2ObjectMap<List<VillagerTrades.ItemListing>> VillagerTradesEvent.getTrades()Method parameters in net.neoforged.neoforge.event.village with type arguments of type VillagerTrades.ItemListingModifier and TypeMethodDescriptionvoidWandererTradesEvent.addTrades(List<VillagerTrades.ItemListing> trades, int amount) Constructor parameters in net.neoforged.neoforge.event.village with type arguments of type VillagerTrades.ItemListingModifierConstructorDescriptionVillagerTradesEvent(it.unimi.dsi.fastutil.ints.Int2ObjectMap<List<VillagerTrades.ItemListing>> trades, ResourceKey<VillagerProfession> type, HolderLookup.Provider registries) WandererTradesEvent(List<VillagerTrades.ItemListing> buying, int buyingAmount, List<VillagerTrades.ItemListing> rare, int rareAmount, List<VillagerTrades.ItemListing> generic, int genericAmount, List<org.apache.commons.lang3.tuple.Pair<List<VillagerTrades.ItemListing>, Integer>> additionalTrades, HolderLookup.Provider registries)