MCMerchantOffer
Importing the class
It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.
Constructors
Parameter | Type | Description |
---|---|---|
Parameter baseCostA | Type ItemStack | Description No description provided |
Parameter result | Type ItemStack | Description No description provided |
Parameter maxUses | Type int | Description No description provided |
Parameter xp | Type int | Description No description provided |
Parameter priceMultiplier | Type float | Description No description provided |
Parameter | Type | Description |
---|---|---|
Parameter baseCostA | Type ItemStack | Description No description provided |
Parameter costB | Type ItemStack | Description No description provided |
Parameter result | Type ItemStack | Description No description provided |
Parameter maxUses | Type int | Description No description provided |
Parameter xp | Type int | Description No description provided |
Parameter priceMultiplier | Type float | Description No description provided |
Parameter | Type | Description |
---|---|---|
Parameter baseCostA | Type ItemStack | Description No description provided |
Parameter costB | Type ItemStack | Description No description provided |
Parameter result | Type ItemStack | Description No description provided |
Parameter uses | Type int | Description No description provided |
Parameter maxUses | Type int | Description No description provided |
Parameter xp | Type int | Description No description provided |
Parameter priceMultiplier | Type float | Description No description provided |
Parameter | Type | Description |
---|---|---|
Parameter baseCostA | Type ItemStack | Description No description provided |
Parameter costB | Type ItemStack | Description No description provided |
Parameter result | Type ItemStack | Description No description provided |
Parameter uses | Type int | Description No description provided |
Parameter maxUses | Type int | Description No description provided |
Parameter xp | Type int | Description No description provided |
Parameter priceMultiplier | Type float | Description No description provided |
Parameter demand | Type int | Description No description provided |
Methods
Return Type: void
Return Type: boolean
Parameter | Type | Description |
---|---|---|
Parameter a | Type IItemStack | Description No Description Provided |
Parameter b | Type IItemStack | Description No Description Provided |
Return Type: IItemStack
Return Type: IItemStack
Return Type: IItemStack
Return Type: int
Return Type: IItemStack
Return Type: boolean
Return Type: int
Return Type: int
Return Type: float
Return Type: IItemStack
Return Type: int
Return Type: int
Return Type: boolean
Return Type: boolean
Return Type: void
Parameter | Type | Description |
---|---|---|
Parameter specialPrice | Type int | Description No Description Provided |
Return Type: void
Return Type: void
Return Type: boolean
Parameter | Type | Description |
---|---|---|
Parameter a | Type IItemStack | Description No Description Provided |
Parameter b | Type IItemStack | Description No Description Provided |
Return Type: void
Return Type: void
Return Type: void
Parameter | Type | Description |
---|---|---|
Parameter specialPrice | Type int | Description No Description Provided |
Return Type: IData
Properties
Name | Type | Has Getter | Has Setter | Description |
---|---|---|---|---|
Name buyingStackFirst | Type IItemStack | Has Getter true | Has Setter false | Description No Description Provided |
Name buyingStackSecond | Type IItemStack | Has Getter true | Has Setter false | Description No Description Provided |
Name copyOfSellingStack | Type IItemStack | Has Getter true | Has Setter false | Description No Description Provided |
Name demand | Type int | Has Getter true | Has Setter false | Description No Description Provided |
Name discountedBuyingStackFirst | Type IItemStack | Has Getter true | Has Setter false | Description No Description Provided |
Name doesRewardExp | Type boolean | Has Getter true | Has Setter false | Description No Description Provided |
Name givenExp | Type int | Has Getter true | Has Setter false | Description No Description Provided |
Name hasBeenUsed | Type boolean | Has Getter true | Has Setter false | Description No Description Provided |
Name hasNoUsesLeft | Type boolean | Has Getter true | Has Setter false | Description No Description Provided |
Name maxUses | Type int | Has Getter true | Has Setter false | Description No Description Provided |
Name priceMultiplier | Type float | Has Getter true | Has Setter false | Description No Description Provided |
Name sellingStack | Type IItemStack | Has Getter true | Has Setter false | Description No Description Provided |
Name specialPrice | Type int | Has Getter true | Has Setter false | Description No Description Provided |
Name uses | Type int | Has Getter true | Has Setter false | Description No Description Provided |