History - net.minecraft.village.VillagerTrade

26.3-snapshot-3

Names

Fields

Constructors

Methods

26.3-snapshot-2

Names

Fields

Constructors

Methods

26.3-snapshot-1

Names

Fields

Constructors

Methods

26.2

Names

Fields

Constructors

(TradedItemFactory, Optional<TradedItemFactory>, SimpleItemStackView, int, int, float, Optional<LootCondition>, List<LootFunction>, Optional<RegistryEntryList<Enchantment>>)

(TradedItemFactory, Optional<TradedItemFactory>, SimpleItemStackView, int, int, float, Optional<LootCondition>, List<LootFunction>, RegistryEntryList<Enchantment>)

Methods

26.1.2

Names

Fields

Constructors

Methods

26.1.1

Names

Fields

Constructors

Methods

26.1

Names

net.minecraft.world.item.trading.VillagerTrade

net.minecraft.class_1_30

net.minecraft.village.VillagerTrade

Fields

com.mojang.serialization.Codec<VillagerTrade>: CODEC, field_1_226, CODEC

TradedItemFactory: wants, field_1_234, wants

Optional<TradedItemFactory>: additionalWants, field_1_227, additionalWants

SimpleItemStackView: gives, field_1_230, gives

Optional<LootCondition>: merchantPredicate, field_1_232, merchantPredicate

List<LootFunction>: givenItemModifiers, field_1_229, givenItemModifiers

LootNumberProvider: maxUses, field_1_231, maxUses

LootNumberProvider: reputationDiscount, field_1_233, reputationDiscount

LootNumberProvider: xp, field_1_235, xp

Optional<RegistryEntryList<Enchantment>>: doubleTradePriceEnchantments, field_1_228, doubleTradePriceEnchantments

Constructors

(TradedItemFactory, Optional<TradedItemFactory>, SimpleItemStackView, LootNumberProvider, LootNumberProvider, LootNumberProvider, Optional<LootCondition>, List<LootFunction>, Optional<RegistryEntryList<Enchantment>>)

(TradedItemFactory, Optional<TradedItemFactory>, SimpleItemStackView, int, int, float, Optional<LootCondition>, List<LootFunction>, Optional<RegistryEntryList<Enchantment>>)

(TradedItemFactory, Optional<TradedItemFactory>, SimpleItemStackView, int, int, float, Optional<LootCondition>, List<LootFunction>)

(TradedItemFactory, SimpleItemStackView, int, int, float, Optional<LootCondition>, List<LootFunction>)

Methods

void (LootTableReporter): validate, method_292, report

TradeOffer (LootContext): getOffer, method_1_513, createOffer

TradedItem (LootContext, TradedItemFactory): lambda$getOffer$0, method_1_514, method_1_514

com.mojang.datafixers.kinds.App (com.mojang.serialization.codecs.RecordCodecBuilder$Instance): lambda$static$0, method_1_515, method_1_515

Optional (VillagerTrade): lambda$static$9, method_1_524, method_1_524

List (VillagerTrade): lambda$static$8, method_1_523, method_1_523

Optional (VillagerTrade): lambda$static$7, method_1_522, method_1_522

LootNumberProvider (VillagerTrade): lambda$static$6, method_1_521, method_1_521

LootNumberProvider (VillagerTrade): lambda$static$5, method_1_520, method_1_520

LootNumberProvider (VillagerTrade): lambda$static$4, method_1_519, method_1_519

SimpleItemStackView (VillagerTrade): lambda$static$3, method_1_518, method_1_518

Optional (VillagerTrade): lambda$static$2, method_1_517, method_1_517

TradedItemFactory (VillagerTrade): lambda$static$1, method_1_516, method_1_516