类 VillagerTrades.ItemsAndEmeraldsToItems
java.lang.Object
net.minecraft.world.entity.npc.VillagerTrades.ItemsAndEmeraldsToItems
- 所有已实现的接口:
VillagerTrades.ItemListing
- 封闭类:
VillagerTrades
public static class VillagerTrades.ItemsAndEmeraldsToItems
extends Object
implements VillagerTrades.ItemListing
-
字段概要
字段修饰符和类型字段说明private final int
private final Optional
<ResourceKey<EnchantmentProvider>> private final ItemCost
private final int
private final float
private final ItemStack
private final int
-
构造器概要
构造器限定符构造器说明ItemsAndEmeraldsToItems
(ItemCost p_345499_, int p_343816_, ItemStack p_345059_, int p_343385_, int p_344672_, float p_342412_, Optional<ResourceKey<EnchantmentProvider>> p_343477_) ItemsAndEmeraldsToItems
(ItemLike p_35717_, int p_35718_, int p_35719_, Item p_35720_, int p_35721_, int p_35722_, int p_35723_, float p_300353_) private
ItemsAndEmeraldsToItems
(ItemLike p_35725_, int p_35726_, int p_35728_, ItemStack p_300910_, int p_35729_, int p_35730_, int p_301344_, float p_299782_) (专用程序包)
ItemsAndEmeraldsToItems
(ItemLike p_345235_, int p_330712_, int p_332809_, ItemLike p_342153_, int p_328609_, int p_343606_, int p_344539_, float p_331228_, ResourceKey<EnchantmentProvider> p_342198_) -
方法概要
-
字段详细资料
-
fromItem
-
emeraldCost
private final int emeraldCost -
toItem
-
maxUses
private final int maxUses -
villagerXp
private final int villagerXp -
priceMultiplier
private final float priceMultiplier -
enchantmentProvider
-
-
构造器详细资料
-
ItemsAndEmeraldsToItems
-
ItemsAndEmeraldsToItems
-
ItemsAndEmeraldsToItems
ItemsAndEmeraldsToItems(ItemLike p_345235_, int p_330712_, int p_332809_, ItemLike p_342153_, int p_328609_, int p_343606_, int p_344539_, float p_331228_, ResourceKey<EnchantmentProvider> p_342198_) -
ItemsAndEmeraldsToItems
public ItemsAndEmeraldsToItems(ItemCost p_345499_, int p_343816_, ItemStack p_345059_, int p_343385_, int p_344672_, float p_342412_, Optional<ResourceKey<EnchantmentProvider>> p_343477_)
-
-
方法详细资料
-
getOffer
- 指定者:
getOffer
在接口中VillagerTrades.ItemListing
-