FANDOM


2012-04-17 17.49.43

Wireless mining turtle(left) and a computer with an activated modem on the side(right).

The Wireless Modem allows your Computers to communicate over rednet. You place this on a computer by holding sneak and right clicking the computer. The range of a modem is 64 blocks, but during a thunderstorm, is limited to only 17. There is a bug when you destroy a Computer with a modem on it the game will freeze and/or crash.

Recipe

Crafting GUI.png

Stone

Stone

Stone

Stone

Ender Pearl

Stone

Stone

Stone

Stone

Modem


Uses

In order to place a modem, right click any side of the computer while holding it in your hand, and holding your set sneak button.

The important Lua codes to control a modem can be seen by typing the following command into the console or turtle:

help rednet

The LUA codes are as follows:

For specifying side of networking

rednet.open("side")
rednet.close("side")
rednet.isOpen("side")


For sending messages

rednet.announce()
rednet.send( receiverID, message) -- Send to a specific computer
rednet.broadcast( message ) -- Send to all computers

OR

local modem = peripheral.wrap( "side" )  -- wrap the modem
modem.transmit( channel, replychannel, message )

For receiving messages

rednet.receive( timeout ) -- Returns: senderID, message

[Note: You can also handle the "rednet_message" event to receive messages without calling receive(), the arguments are the same as the receive() return values.]

OR

event = {os.pullEvent( "modem_message" )}
reply = event[4]

Start a Discussion Discussions about Wireless Modem

  • wireless modem

    10 messages
    • you can try making a signal repeater by intercepting anything thats said and repeating it in the air like a "range extender" if ...
    • 71.61.185.248 wrote:you can try making a signal repeater by intercepting anything thats said and repeating it in the air like a "ra...
  • What do i use to send and recive messages

    2 messages
    • Okay, i have a Modem on the computers but when i do rednet.send(id,msg) it says No such program. when i use Lua and do it i get an error th...
    • rednet.send(id,msg) is an computercraft API, not program. Use edit filename for programing (or text editors and copy program...

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.