History - net.minecraft.village.TradeSet

26.3

Names

Fields

RegistryEntryList<VillagerTrade>: trades, trades, field_1_116, trades

RegistryEntryList<VillagerTrade>: trades, trades, comp_1_1358, trades

LootNumberProvider: amount, amount, field_1_114, amount

boolean: allowDuplicates, allowDuplicates, field_1_113, allowDuplicates

boolean: allowDuplicates, allowDuplicates, comp_1_1355, allowDuplicates

Optional<Identifier>: randomSequence, randomSequence, field_1_115, randomSequence

Optional<Identifier>: randomSequence, randomSequence, comp_1_1357, randomSequence

RegistryEntry<LootIntProvider>: amount, amount, comp_1_1356, amount

Constructors

(RegistryEntryList<VillagerTrade>, LootNumberProvider, boolean, Optional<Identifier>)

(RegistryEntryList<VillagerTrade>, RegistryEntry<LootIntProvider>, boolean, Optional<Identifier>)

Methods

RegistryEntryList<VillagerTrade> (): getTrades, getTrades, method_1_423, getTrades

boolean (): allowDuplicates, allowDuplicates, method_1_421, allowsDuplicates

boolean (): allowDuplicates, allowDuplicates, comp_1_1355, allowDuplicates

Optional<Identifier> (): randomSequence, randomSequence, method_1_429, getRandomSequence

Optional<Identifier> (): randomSequence, randomSequence, comp_1_1357, randomSequence

RegistryEntryList<VillagerTrade> (): trades, trades, comp_1_1358, trades

RegistryEntry<LootIntProvider> (): amount, amount, comp_1_1356, amount

26.2

Names

Fields

Constructors

Methods

26.1.2

Names

Fields

Constructors

Methods

26.1.1

Names

Fields

Constructors

Methods

26.1

Names

net.minecraft.world.item.trading.TradeSet

net.minecraft.world.item.trading.TradeSet

net.minecraft.class_1_15

net.minecraft.village.TradeSet

Fields

com.mojang.serialization.Codec<TradeSet>: CODEC, CODEC, field_1_112, CODEC

RegistryEntryList<VillagerTrade>: trades, trades, field_1_116, trades

LootNumberProvider: amount, amount, field_1_114, amount

boolean: allowDuplicates, allowDuplicates, field_1_113, allowDuplicates

Optional<Identifier>: randomSequence, randomSequence, field_1_115, randomSequence

Constructors

(RegistryEntryList<VillagerTrade>, LootNumberProvider, boolean, Optional<Identifier>)

Methods

RegistryEntryList<VillagerTrade> (): getTrades, getTrades, method_1_423, getTrades

int (LootContext): calculateNumberOfTrades, calculateNumberOfTrades, method_1_422, sampleAmount

boolean (): allowDuplicates, allowDuplicates, method_1_421, allowsDuplicates

Optional<Identifier> (): randomSequence, randomSequence, method_1_429, getRandomSequence