endminecraffter

Untitled

May 18th, 2021
717
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local rb = peripheral.find('rsBridge');
  2. local md5Hash = "801bfe99b388407f956b8e157d1c0e37";
  3. local chest = peripheral.find('minecraft:chest')
  4.  
  5. local function debugTable(table)
  6.     textutils.pagedPrint(textutils.serialise(table));
  7. end
  8.  
  9. local itemTable = { name="minecraft:written_book", nbt=md5Hash, count = 1 };
  10.  
  11. debugTable(rb.getItem(itemTable));
  12.  
  13. rb.exportItemToChest(itemTable, peripheral.getName(chest));
RAW Paste Data