Uses of Class
net.minecraft.world.item.trading.TradeSet
Packages that use TradeSet
Package
Description
-
Uses of TradeSet in net.minecraft.core.registries
Fields in net.minecraft.core.registries with type parameters of type TradeSetModifier and TypeFieldDescriptionstatic final ResourceKey<Registry<TradeSet>> Registries.TRADE_SET -
Uses of TradeSet in net.minecraft.world.entity.npc.villager
Fields in net.minecraft.world.entity.npc.villager with type parameters of type TradeSetModifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceKey<TradeSet>> VillagerProfession.tradeSetsByLevelThe field for thetradeSetsByLevelrecord component.Methods in net.minecraft.world.entity.npc.villager that return types with arguments of type TradeSetModifier and TypeMethodDescription@Nullable ResourceKey<TradeSet> VillagerProfession.getTrades(int level) it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceKey<TradeSet>> VillagerProfession.tradeSetsByLevel()Returns the value of thetradeSetsByLevelrecord component.Method parameters in net.minecraft.world.entity.npc.villager with type arguments of type TradeSetModifier and TypeMethodDescriptionprotected voidAbstractVillager.addOffersFromTradeSet(ServerLevel level, MerchantOffers offers, ResourceKey<TradeSet> resourceKey) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, ResourceKey<VillagerProfession> name, Predicate<Holder<PoiType>> heldJobSite, Predicate<Holder<PoiType>> acquirableJobSite, ImmutableSet<Item> requestedItems, ImmutableSet<Block> secondaryPoi, @Nullable SoundEvent workSound, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceKey<TradeSet>> trades) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, ResourceKey<VillagerProfession> name, Predicate<Holder<PoiType>> heldJobSite, Predicate<Holder<PoiType>> acquirableJobSite, @Nullable SoundEvent workSound, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceKey<TradeSet>> trades) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, ResourceKey<VillagerProfession> name, ResourceKey<PoiType> jobSite, ImmutableSet<Item> requestedItems, ImmutableSet<Block> secondaryPoi, @Nullable SoundEvent workSound, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceKey<TradeSet>> trades) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, ResourceKey<VillagerProfession> name, ResourceKey<PoiType> jobSite, @Nullable SoundEvent workSound, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceKey<TradeSet>> trades) Constructor parameters in net.minecraft.world.entity.npc.villager with type arguments of type TradeSetModifierConstructorDescriptionVillagerProfession(Component name, Predicate<Holder<PoiType>> heldJobSite, Predicate<Holder<PoiType>> acquirableJobSite, ImmutableSet<Item> requestedItems, ImmutableSet<Block> secondaryPoi, @Nullable SoundEvent workSound, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceKey<TradeSet>> tradeSetsByLevel) Creates an instance of aVillagerProfessionrecord class. -
Uses of TradeSet in net.minecraft.world.item.trading
Fields in net.minecraft.world.item.trading with type parameters of type TradeSetModifier and TypeFieldDescriptionstatic final ResourceKey<TradeSet> TradeSets.ARMORER_LEVEL_1static final ResourceKey<TradeSet> TradeSets.ARMORER_LEVEL_2static final ResourceKey<TradeSet> TradeSets.ARMORER_LEVEL_3static final ResourceKey<TradeSet> TradeSets.ARMORER_LEVEL_4static final ResourceKey<TradeSet> TradeSets.ARMORER_LEVEL_5static final ResourceKey<TradeSet> TradeSets.BUTCHER_LEVEL_1static final ResourceKey<TradeSet> TradeSets.BUTCHER_LEVEL_2static final ResourceKey<TradeSet> TradeSets.BUTCHER_LEVEL_3static final ResourceKey<TradeSet> TradeSets.BUTCHER_LEVEL_4static final ResourceKey<TradeSet> TradeSets.BUTCHER_LEVEL_5static final ResourceKey<TradeSet> TradeSets.CARTOGRAPHER_LEVEL_1static final ResourceKey<TradeSet> TradeSets.CARTOGRAPHER_LEVEL_2static final ResourceKey<TradeSet> TradeSets.CARTOGRAPHER_LEVEL_3static final ResourceKey<TradeSet> TradeSets.CARTOGRAPHER_LEVEL_4static final ResourceKey<TradeSet> TradeSets.CARTOGRAPHER_LEVEL_5static final ResourceKey<TradeSet> TradeSets.CLERIC_LEVEL_1static final ResourceKey<TradeSet> TradeSets.CLERIC_LEVEL_2static final ResourceKey<TradeSet> TradeSets.CLERIC_LEVEL_3static final ResourceKey<TradeSet> TradeSets.CLERIC_LEVEL_4static final ResourceKey<TradeSet> TradeSets.CLERIC_LEVEL_5static final com.mojang.serialization.Codec<TradeSet> TradeSet.CODECstatic final ResourceKey<TradeSet> TradeSets.FARMER_LEVEL_1static final ResourceKey<TradeSet> TradeSets.FARMER_LEVEL_2static final ResourceKey<TradeSet> TradeSets.FARMER_LEVEL_3static final ResourceKey<TradeSet> TradeSets.FARMER_LEVEL_4static final ResourceKey<TradeSet> TradeSets.FARMER_LEVEL_5static final ResourceKey<TradeSet> TradeSets.FISHERMAN_LEVEL_1static final ResourceKey<TradeSet> TradeSets.FISHERMAN_LEVEL_2static final ResourceKey<TradeSet> TradeSets.FISHERMAN_LEVEL_3static final ResourceKey<TradeSet> TradeSets.FISHERMAN_LEVEL_4static final ResourceKey<TradeSet> TradeSets.FISHERMAN_LEVEL_5static final ResourceKey<TradeSet> TradeSets.FLETCHER_LEVEL_1static final ResourceKey<TradeSet> TradeSets.FLETCHER_LEVEL_2static final ResourceKey<TradeSet> TradeSets.FLETCHER_LEVEL_3static final ResourceKey<TradeSet> TradeSets.FLETCHER_LEVEL_4static final ResourceKey<TradeSet> TradeSets.FLETCHER_LEVEL_5static final ResourceKey<TradeSet> TradeSets.LEATHERWORKER_LEVEL_1static final ResourceKey<TradeSet> TradeSets.LEATHERWORKER_LEVEL_2static final ResourceKey<TradeSet> TradeSets.LEATHERWORKER_LEVEL_3static final ResourceKey<TradeSet> TradeSets.LEATHERWORKER_LEVEL_4static final ResourceKey<TradeSet> TradeSets.LEATHERWORKER_LEVEL_5static final ResourceKey<TradeSet> TradeSets.LIBRARIAN_LEVEL_1static final ResourceKey<TradeSet> TradeSets.LIBRARIAN_LEVEL_2static final ResourceKey<TradeSet> TradeSets.LIBRARIAN_LEVEL_3static final ResourceKey<TradeSet> TradeSets.LIBRARIAN_LEVEL_4static final ResourceKey<TradeSet> TradeSets.LIBRARIAN_LEVEL_5static final ResourceKey<TradeSet> TradeSets.MASON_LEVEL_1static final ResourceKey<TradeSet> TradeSets.MASON_LEVEL_2static final ResourceKey<TradeSet> TradeSets.MASON_LEVEL_3static final ResourceKey<TradeSet> TradeSets.MASON_LEVEL_4static final ResourceKey<TradeSet> TradeSets.MASON_LEVEL_5static final ResourceKey<TradeSet> TradeSets.SHEPHERD_LEVEL_1static final ResourceKey<TradeSet> TradeSets.SHEPHERD_LEVEL_2static final ResourceKey<TradeSet> TradeSets.SHEPHERD_LEVEL_3static final ResourceKey<TradeSet> TradeSets.SHEPHERD_LEVEL_4static final ResourceKey<TradeSet> TradeSets.SHEPHERD_LEVEL_5static final ResourceKey<TradeSet> TradeSets.TOOLSMITH_LEVEL_1static final ResourceKey<TradeSet> TradeSets.TOOLSMITH_LEVEL_2static final ResourceKey<TradeSet> TradeSets.TOOLSMITH_LEVEL_3static final ResourceKey<TradeSet> TradeSets.TOOLSMITH_LEVEL_4static final ResourceKey<TradeSet> TradeSets.TOOLSMITH_LEVEL_5static final ResourceKey<TradeSet> TradeSets.WANDERING_TRADER_BUYINGstatic final ResourceKey<TradeSet> TradeSets.WANDERING_TRADER_COMMONstatic final ResourceKey<TradeSet> TradeSets.WANDERING_TRADER_UNCOMMONstatic final ResourceKey<TradeSet> TradeSets.WEAPONSMITH_LEVEL_1static final ResourceKey<TradeSet> TradeSets.WEAPONSMITH_LEVEL_2static final ResourceKey<TradeSet> TradeSets.WEAPONSMITH_LEVEL_3static final ResourceKey<TradeSet> TradeSets.WEAPONSMITH_LEVEL_4static final ResourceKey<TradeSet> TradeSets.WEAPONSMITH_LEVEL_5Methods in net.minecraft.world.item.trading that return types with arguments of type TradeSetModifier and TypeMethodDescriptionTradeSets.bootstrap(BootstrapContext<TradeSet> context) static Holder.Reference<TradeSet> TradeSets.register(BootstrapContext<TradeSet> context, ResourceKey<TradeSet> resourceKey, TagKey<VillagerTrade> tradeTag) static Holder.Reference<TradeSet> TradeSets.register(BootstrapContext<TradeSet> context, ResourceKey<TradeSet> resourceKey, TagKey<VillagerTrade> tradeTag, NumberProvider numberProvider) static ResourceKey<TradeSet> TradeSets.resourceKey(String path) Method parameters in net.minecraft.world.item.trading with type arguments of type TradeSetModifier and TypeMethodDescriptionTradeSets.bootstrap(BootstrapContext<TradeSet> context) static Holder.Reference<TradeSet> TradeSets.register(BootstrapContext<TradeSet> context, ResourceKey<TradeSet> resourceKey, TagKey<VillagerTrade> tradeTag) static Holder.Reference<TradeSet> TradeSets.register(BootstrapContext<TradeSet> context, ResourceKey<TradeSet> resourceKey, TagKey<VillagerTrade> tradeTag) static Holder.Reference<TradeSet> TradeSets.register(BootstrapContext<TradeSet> context, ResourceKey<TradeSet> resourceKey, TagKey<VillagerTrade> tradeTag, NumberProvider numberProvider) static Holder.Reference<TradeSet> TradeSets.register(BootstrapContext<TradeSet> context, ResourceKey<TradeSet> resourceKey, TagKey<VillagerTrade> tradeTag, NumberProvider numberProvider)