implements TradeOffers$Factory
| net.minecraft.world.entity.npc.villager.VillagerTrades$ItemsAndEmeraldsToItems | |
| net.minecraft.class_3853$class_4164 | |
| net.minecraft.village.TradeOffers$ProcessItemFactory |
Field summary
| Modifier and Type | Field | ||||||
|---|---|---|---|---|---|---|---|
| private final TradedItem |
|
||||||
| private final int |
|
||||||
| private final ItemStack |
|
||||||
| private final int |
|
||||||
| private final int |
|
||||||
| private final float |
|
||||||
| private final Optional<RegistryKey<EnchantmentProvider>> |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| public | (ItemConvertible item, int count, int price, Item processed, int processedCount, int maxUses, int experience, float multiplier) |
| private | (ItemConvertible item, int count, int price, ItemStack processed, int processedCount, int maxUses, int experience, float multiplier) |
| private | (ItemConvertible item, int count, int price, ItemConvertible processed, int processedCount, int maxUses, int experience, float multiplier, RegistryKey<EnchantmentProvider> enchantmentProviderKey) |
| public | (TradedItem toBeProcessed, int count, ItemStack processed, int maxUses, int processedCount, float multiplier, Optional<RegistryKey<EnchantmentProvider>> enchantmentProviderKey) |
Method summary
| Modifier and Type | Method | ||||||
|---|---|---|---|---|---|---|---|
| public TradeOffer |
|
||||||
| private static void |
|