Class VillagerTrades.SuspiciousStewForEmerald
java.lang.Object
net.minecraft.world.entity.npc.villager.VillagerTrades.SuspiciousStewForEmerald
- All Implemented Interfaces:
VillagerTrades.ItemListing
- Enclosing class:
VillagerTrades
public static class VillagerTrades.SuspiciousStewForEmerald
extends Object
implements VillagerTrades.ItemListing
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final SuspiciousStewEffectsprivate final floatprivate final int -
Constructor Summary
ConstructorsConstructorDescriptionSuspiciousStewForEmerald(Holder<MobEffect> pEffect, int pDuration, int pXp) SuspiciousStewForEmerald(SuspiciousStewEffects pEffects, int pXp, float pPriceMultiplier) -
Method Summary
Modifier and TypeMethodDescription@Nullable MerchantOffergetOffer(ServerLevel p_479386_, Entity p_481734_, RandomSource p_479752_)
-
Field Details
-
effects
-
xp
private final int xp -
priceMultiplier
private final float priceMultiplier
-
-
Constructor Details
-
SuspiciousStewForEmerald
-
SuspiciousStewForEmerald
-
-
Method Details
-
getOffer
public @Nullable MerchantOffer getOffer(ServerLevel p_479386_, Entity p_481734_, RandomSource p_479752_) - Specified by:
getOfferin interfaceVillagerTrades.ItemListing
-