Peripherals++

Peripherals++

359k Downloads

Me bridge retrieve() and craft()

alandoyle95 opened this issue ยท 6 comments

commented

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

commented

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

commented

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

commented

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

commented

ok, now that makes sense

commented

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

commented

๐Ÿ‘