-
-
Notifications
You must be signed in to change notification settings - Fork 13
ComputerCraft Integration
IThundxr edited this page Jun 5, 2024
·
10 revisions
The following peripherals become available to CC:Tweaked when Numismatics is installed:
Method | Description |
---|---|
setCoinAmount(String coinName, int amount) |
Sets the price with the coinName provided and amount |
setTotalPrice(int spurAmount) |
Sets the total price |
getTotalPrice() |
Get the total price |
getPrice(String coinName) |
Get the price with the coinName provided |
Set's the price for the attached block, you can control what amount is set for each coin by using the coin names.
Set's the total price for the attached block in spurs.
Get the total price of the attached block in spurs.
Returns
-
number
The total price in spurs
Get the price of the attached block in the coinName provided.
Returns
-
number
The total price in the provided coinName