Posted 07 February 2014 - 03:12 PM
Hi all! B)/>
Welcome to my very first mod / peripheral - The Item Scanner.
Item scanner is a peripheral that allows you to retrieve information about whatever blocks/items you place in the scanners inventory.
Download: https://www.dropbox....mScanner1.0.zip
Item Scanner
The item scanner can retrieve ID and name of whatever is in it's inventory,it is unable to know the difference between meta items, and as such will always return the main block it recognises. Example: trying to scan "Red Wool" will read as ID: 35 and name: "Wool".
The Item Scanner enables the following calls:
Recipe
Easy-mode recipe:
Hard-mode recipe:
But wait! There's more!
Advanced Item Scanner
The Advanced Item Scanner is able to retrieve the following:
Known bugs
I've been unable to figure out a solution to this problem yet, as I fear it's due to the server not holding the Localized names and only the client, if you have any information or suggestions towards this, please let me know!
I'll try and get and get and example video up if people request it.
Any feedback is greatly appreciated
Please let me know of bugs/suggestions - I would love to see what you're building and using these for if you decide to do so!
Welcome to my very first mod / peripheral - The Item Scanner.
Item scanner is a peripheral that allows you to retrieve information about whatever blocks/items you place in the scanners inventory.
Download: https://www.dropbox....mScanner1.0.zip
Item Scanner
The item scanner can retrieve ID and name of whatever is in it's inventory,it is unable to know the difference between meta items, and as such will always return the main block it recognises. Example: trying to scan "Red Wool" will read as ID: 35 and name: "Wool".
The Item Scanner enables the following calls:
- getId()
- getName()
- getAll()
Recipe
Spoiler
Note: default recipe is hardmode!Easy-mode recipe:
Hard-mode recipe:
But wait! There's more!
Advanced Item Scanner
The Advanced Item Scanner is able to retrieve the following:
- ID
- Meta ID
- MaxDamage (being as many uses a tool can survive)
- Name
- getId()
- getMeta()
- getMaxDamage()
- getName()
- getAll()
- ID
- Meta
- MaxDamage
- Name
Spoiler
Advanced Item ScannerKnown bugs
Spoiler
On multiplayer servers, blocks and items from mods will return unLocalized names. Fx. the Item Scanner will return "tile.itemScanner.name".I've been unable to figure out a solution to this problem yet, as I fear it's due to the server not holding the Localized names and only the client, if you have any information or suggestions towards this, please let me know!
I'll try and get and get and example video up if people request it.
Any feedback is greatly appreciated
Please let me know of bugs/suggestions - I would love to see what you're building and using these for if you decide to do so!
Edited on 11 February 2014 - 03:41 PM