net.minecraft.world.entity.npc.villager

public class VillagerTrades

ddb
net.minecraft.world.entity.npc.villager.VillagerTrades
net.minecraft.class_3853
net.minecraft.village.TradeOffers
net.minecraft.src.C_432174_
net.minecraft.world.entity.npc.villager.VillagerTrades

字段概要

修饰符与类型字段
private static final int
d
DEFAULT_SUPPLY
field_30615
DEFAULT_MAX_USES
f_433880_
private static final int
e
COMMON_ITEMS_SUPPLY
field_30616
COMMON_MAX_USES
f_435756_
private static final int
f
UNCOMMON_ITEMS_SUPPLY
field_30617
RARE_MAX_USES
f_433723_
private static final int
g
XP_LEVEL_1_SELL
field_30618
NOVICE_SELL_EXPERIENCE
f_433285_
private static final int
h
XP_LEVEL_1_BUY
field_30619
NOVICE_BUY_EXPERIENCE
f_435268_
private static final int
i
XP_LEVEL_2_SELL
field_30620
APPRENTICE_SELL_EXPERIENCE
f_433164_
private static final int
j
XP_LEVEL_2_BUY
field_30621
APPRENTICE_BUY_EXPERIENCE
f_434130_
private static final int
k
XP_LEVEL_3_SELL
field_30622
JOURNEYMAN_SELL_EXPERIENCE
f_434346_
private static final int
l
XP_LEVEL_3_BUY
field_30623
JOURNEYMAN_BUY_EXPERIENCE
f_435947_
private static final int
m
XP_LEVEL_4_SELL
field_30624
EXPERT_SELL_EXPERIENCE
f_433826_
private static final int
n
XP_LEVEL_4_BUY
field_30625
EXPERT_BUY_EXPERIENCE
f_433472_
private static final int
o
XP_LEVEL_5_TRADE
field_30626
MASTER_TRADE_EXPERIENCE
f_437137_
private static final float
p
LOW_TIER_PRICE_MULTIPLIER
field_30627
LOW_PRICE_MULTIPLIER
f_436070_
private static final float
q
HIGH_TIER_PRICE_MULTIPLIER
field_30628
HIGH_PRICE_MULTIPLIER
f_435986_
public static final Map<ResourceKey<VillagerProfession>, it.unimi.dsi.fastutil.ints.Int2ObjectMap<VillagerTrades$ItemListing[]>>
a
TRADES
field_17067
PROFESSION_TO_LEVELED_TRADE
f_434539_
public static final List<org.apache.commons.lang3.tuple.Pair<VillagerTrades$ItemListing[], Integer>>
b
WANDERING_TRADER_TRADES
field_17724
WANDERING_TRADER_TRADES
f_434964_
public static final Map<ResourceKey<VillagerProfession>, it.unimi.dsi.fastutil.ints.Int2ObjectMap<VillagerTrades$ItemListing[]>>
c
EXPERIMENTAL_TRADES
field_45128
REBALANCED_PROFESSION_TO_LEVELED_TRADE
f_435687_

构造函数概要

修饰符构造函数
public ()

方法概要

修饰符与类型方法
private static VillagerTrades$ItemListing
a(int arg0)
commonBooks(int arg0)
method_52552(int arg0)
createLibrarianTradeFactory(int experience)
m_446686_(int p_454978_)
private static VillagerTrades$ItemListing
a()
specialBooks()
method_52551()
createMasterLibrarianTradeFactory()
m_444094_()
private static it.unimi.dsi.fastutil.ints.Int2ObjectMap<VillagerTrades$ItemListing[]>
a(com.google.common.collect.ImmutableMap<Integer, ddb$g[]> arg0)
toIntMap(com.google.common.collect.ImmutableMap<Integer, VillagerTrades$ItemListing[]> arg0)
method_16928(com.google.common.collect.ImmutableMap<Integer, class_3853$class_1652[]> arg0)
copyToFastUtilMap(com.google.common.collect.ImmutableMap<Integer, TradeOffers$Factory[]> map)
m_447504_(com.google.common.collect.ImmutableMap<Integer, C_432174_$C_432392_[]> p_451161_)
private static ItemCost
a(jd<dnp> arg0)
potionCost(Holder<Potion> arg0)
method_57311(class_6880<class_1842> arg0)
createPotion(RegistryEntry<Potion> potion)
m_444580_(C_203228_<C_1440_> p_457310_)
private static ItemStack
b(jd<dnp> arg0)
potion(Holder<Potion> arg0)
method_52553(class_6880<class_1842> arg0)
createPotionStack(RegistryEntry<Potion> potion)
m_443709_(C_203228_<C_1440_> p_451951_)