Monitor

The Screen is a block that can display text on its front side and is part of the ComputerCraft mod. When several screen blocks are placed on the same plane, it will form a single monitor.

The maximum size of a monitor is 6*7.

Recipe

stone

stone

stone

stone

glass_pane

stone

stone

stone

stone

screen


Example Usage

What happens when the code runs

Open the console of a computer and type

  edit startup

Enter the following code and save it.


 mon.peripheral.wrap("right") -- Shows that the monitor is to the right of the Computer
 mon.clear()                  -- Clears anything that's on the screen.
 mon.setTextScale(5)          -- Sets the text scale to 5
 mon.setCursorPos(2,4)        -- Sets the cursor to (2,4)
 mon.write("ComputerCraft")   -- Writes "ComputerCraft" to the monitor
 mon.setCursorPos(6,5)        -- Sets the cursor to (6,5)
 mon.write("1.31")            -- Writes "1.31" to the monitor

Run startup. What you will see on the monitor can be seen on the image on the right.

Need wiki hosting?

Do you need a wiki for your Minecraft mod/gaming wiki? We'll host it for free! Contact us.

Other wikis

Indie-game wikis
Powered by Indie Wikis
Looking for a server?

Join Techworld - an amazing custom modpack server.