Class ItemsForEmeralds
java.lang.Object
tech.anonymoushacker1279.immersiveweapons.entity.npc.trades.ItemsForEmeralds
- All Implemented Interfaces:
net.minecraft.world.entity.npc.VillagerTrades.ItemListing
public class ItemsForEmeralds
extends Object
implements net.minecraft.world.entity.npc.VillagerTrades.ItemListing
-
Constructor Summary
ConstructorsConstructorDescriptionItemsForEmeralds(net.minecraft.world.item.Item item, int emeraldCost, int itemCount, int maxUses) ItemsForEmeralds(net.minecraft.world.item.ItemStack itemStack, int emeraldCost, int itemCount, int maxUses) ItemsForEmeralds(net.minecraft.world.item.ItemStack itemStack, int emeraldCost, int itemCount, int maxUses, int villagerXP, float priceMultiplier) ItemsForEmeralds(net.minecraft.world.level.block.Block block, int emeraldCost, int itemCount, int maxUses) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.item.trading.MerchantOffergetOffer(net.minecraft.world.entity.Entity trader, net.minecraft.util.RandomSource randomSource)
-
Constructor Details
-
ItemsForEmeralds
public ItemsForEmeralds(net.minecraft.world.level.block.Block block, int emeraldCost, int itemCount, int maxUses) -
ItemsForEmeralds
public ItemsForEmeralds(net.minecraft.world.item.Item item, int emeraldCost, int itemCount, int maxUses) -
ItemsForEmeralds
public ItemsForEmeralds(net.minecraft.world.item.ItemStack itemStack, int emeraldCost, int itemCount, int maxUses) -
ItemsForEmeralds
public ItemsForEmeralds(net.minecraft.world.item.ItemStack itemStack, int emeraldCost, int itemCount, int maxUses, int villagerXP, float priceMultiplier)
-
-
Method Details
-
getOffer
public net.minecraft.world.item.trading.MerchantOffer getOffer(net.minecraft.world.entity.Entity trader, net.minecraft.util.RandomSource randomSource) - Specified by:
getOfferin interfacenet.minecraft.world.entity.npc.VillagerTrades.ItemListing
-