Redstone Requester

This device allows the computer to manipulate the Redstone Requester, including sending requests!

This is an example of how to access the device.

local d = require("devices")
local requester = d:find("redstone_requester")
print(requester:getAddress())

API

Device name: redstone_requester

Methods

getAddress():string
This method retrieves the target address to send requested items to.

setAddress(address:string)
This method sets the target address to send requested items to.

getConfiguration():string
This method gets the current configuration.

setConfiguration(config:string)
This method sets the current configuration.

request()
This method triggers a request to be sent.

setRequest(items:table)
This method sets the items to be requested.

setCraftingRequest(count:number, items:table)
This method sets the items to be crafted.

getRequest():table
This method gets the current request.