implements LootTableReportable
| net.minecraft.world.item.trading.VillagerTrade | |
| net.minecraft.class_1_30 | |
| net.minecraft.village.VillagerTrade |
Field summary
| Modifier and Type | Field | ||||||
|---|---|---|---|---|---|---|---|
| public static final com.mojang.serialization.Codec<VillagerTrade> |
|
||||||
| private final TradedItemFactory |
|
||||||
| private final Optional<TradedItemFactory> |
|
||||||
| private final SimpleItemStackView |
|
||||||
| private final Optional<LootCondition> |
|
||||||
| private final List<LootFunction> |
|
||||||
| private final LootNumberProvider |
|
||||||
| private final LootNumberProvider |
|
||||||
| private final LootNumberProvider |
|
||||||
| private final Optional<RegistryEntryList<Enchantment>> |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| private | (TradedItemFactory wants, Optional<TradedItemFactory> additionalWants, SimpleItemStackView gives, LootNumberProvider maxUses, LootNumberProvider reputationDiscount, LootNumberProvider xp, Optional<LootCondition> merchantPredicate, List<LootFunction> givenItemModifiers, Optional<RegistryEntryList<Enchantment>> doubleTradePriceEnchantments) |
| public | (TradedItemFactory wants, Optional<TradedItemFactory> additionalWants, SimpleItemStackView gives, int maxUses, int xp, float reputationDiscount, Optional<LootCondition> merchantPredicate, List<LootFunction> givenItemModifiers, RegistryEntryList<Enchantment> doubleTradePriceEnchantments) |
| public | (TradedItemFactory wants, Optional<TradedItemFactory> additionalWants, SimpleItemStackView gives, int maxUses, int xp, float reputationDiscount, Optional<LootCondition> merchantPredicate, List<LootFunction> givenItemModifiers) |
| public | (TradedItemFactory wants, SimpleItemStackView gives, int maxUses, int xp, float reputationDiscount, Optional<LootCondition> merchantPredicate, List<LootFunction> givenItemModifiers) |
Method summary
| Modifier and Type | Method | ||||||
|---|---|---|---|---|---|---|---|
| public void |
|
||||||
| public TradeOffer |
|
||||||
| private static TradedItem |
|
||||||
| private static com.mojang.datafixers.kinds.App |
|
||||||
| private static Optional |
|
||||||
| private static List |
|
||||||
| private static Optional |
|
||||||
| private static LootNumberProvider |
|
||||||
| private static LootNumberProvider |
|
||||||
| private static LootNumberProvider |
|
||||||
| private static SimpleItemStackView |
|
||||||
| private static Optional |
|
||||||
| private static TradedItemFactory |
|