net.minecraft.village

class TradeOffers$SellPotionHoldingItemFactory

implements TradeOffers$Factory

net.minecraft.world.entity.npc.villager.VillagerTrades$TippedArrowForItemsAndEmeralds
net.minecraft.class_3853$class_4167
net.minecraft.village.TradeOffers$SellPotionHoldingItemFactory

Field summary

Modifier and TypeField
private final ItemStack
toItem
field_18581
sell
private final int
toCount
field_18582
sellCount
private final int
emeraldCost
field_18583
price
private final int
maxUses
field_18584
maxUses
private final int
villagerXp
field_18585
experience
private final Item
fromItem
field_18586
secondBuy
private final int
fromCount
field_18587
secondCount
private final float
priceMultiplier
field_18588
priceMultiplier

Constructor summary

ModifierConstructor
public (Item arrow, int secondCount, Item tippedArrow, int sellCount, int price, int maxUses, int experience)

Method summary

Modifier and TypeMethod
public TradeOffer
getOffer(ServerLevel serverLevel, Entity merchant, RandomSource random)
method_7246(class_3218 arg0, class_1297 arg1, class_5819 arg2)
create(ServerWorld arg0, Entity arg1, Random arg2)
private static boolean
lambda$getOffer$0(ServerLevel arg0, Holder$Reference arg1)
method_19203(class_3218 arg0, class_6880$class_6883 arg1)
method_19203(ServerWorld arg0, RegistryEntry$Reference entry)