austinv11 / PeripheralsPlusPlus

A pseudo-port of miscperipherals, with other stuff as well!
GNU General Public License v2.0
25 stars 28 forks source link

Me bridge retrieve() and craft() #134

Closed alandoyle95 closed 8 years ago

alandoyle95 commented 8 years ago

off the docs (http://peripheralsplusplus.readthedocs.org/en/latest/peripherals/me_bridge/)

retrieve(string itemId, number amount, string or number directionToDeposit) craft(string itemId, number amount)

trying to run this..

563251522b8248945598c2dbb7d69936 OR 4fa8cc2471487b38add8b8e7d250afc7 causes... 6a934972eb937e89b626f598d5ab347d

darichey commented 8 years ago

You're passing "4" and "5" as the id rather than "minecraft:cobblestone" or "minecraft:planks"

alandoyle95 commented 8 years ago

oh. well would that not be the items real name and not the ID then? because when you do the listAll function it returns that as the items name and not the id. so that could be misleading..

6078941801a696c8e8980478690c9129

darichey commented 8 years ago

Mojang abstracted item ids a while ago. The ID, on the outermost level, is no longer a number, but a string like "minecraft:stone"

alandoyle95 commented 8 years ago

ok, now that makes sense

darichey commented 8 years ago

But you are right, that could be misleading. I'll change it to say ID instead.

alandoyle95 commented 8 years ago

:+1: