Merchant
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.
Members
Getter
Return Type:
bool
canRestock() as bool
Return Type:
bool
Getter
Return Type:
bool
isClientSide() as bool
Return Type:
bool
notifyTrade(offer as MerchantOffer)
Parameters:
offer: MerchantOffer
Type: MerchantOffer
Getter
Return Type:
SoundEvent
notifyTradeSound() as SoundEvent
Return Type:
SoundEvent
Getter
Return Type:
MerchantOffers
offers() as MerchantOffers
Return Type:
MerchantOffers
Getter
Return Type:
bool
showProgressBar() as bool
Return Type:
bool
Getter
Return Type:
int
villagerXp() as int
Return Type:
int