Posted 01 February 2013 - 04:31 AM
Hello guys,
I have a huge proplem with interactive sorters from mis peripherals. When i try to execute and item out of a chest it wont work correctly.
I try it with jungle wood planks. The id in minecraft is: 5:3
I tryed to get the id with that code:
It returns: 1080502569
With that id i want to execute an item with:
If anyone can help me i would be so happy. I would also be happy if you could give me other code snippets for the sorter.
Thank you in advance (:
I have a huge proplem with interactive sorters from mis peripherals. When i try to execute and item out of a chest it wont work correctly.
I try it with jungle wood planks. The id in minecraft is: 5:3
I tryed to get the id with that code:
p = peripheral.wrap("back")
event, item = os.pullEvent()
print(item)
It returns: 1080502569
With that id i want to execute an item with:
p = peripheral.wrap("back")
p.extract(4,1080502569,5,1)
It means iam trying to extract wood from right and put one into left, but it wont work. I'm not getting any errors or something like that. rIf anyone can help me i would be so happy. I would also be happy if you could give me other code snippets for the sorter.
Thank you in advance (: