EmeraldForItems
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
Implements
EmeraldForItems
implements the following interfaces:
Constructors
new(item as ItemLike, cost as int, maxUses as int, villagerXp as int)
Members
getOffer(traderEntity as Entity, random as RandomSource) as MerchantOffer
Parameters:
random: RandomSource
Type: RandomSource
Return Type:
MerchantOffer