FANDOM


The Advanced Computer is a device added by the ComputerCraft mod. It works in the same way that computers do, but have the ability t

Color is used by entering term.setBackgroundColor(colorvalue)  (colorvalue is the value of a color e.g. 1= white 2 = orange, 4 = magenta or you can use the colors api e.g. colors.white, colors.orange, colors.magenta)

and term.setTextColor(colorvalue)

You can watch a video that shows some of the things possible with the new Advanced Computers here.

Recipe

Crafting GUI.png

Gold Ingot

Gold Ingot

Gold Ingot

Gold Ingot

Redstone

Glass Pane

Gold Ingot

Gold Ingot

Gold Ingot

Advanced Computer



Mouse Input

Mouse input is done in the form of events. The events put in examples are...

event, button clicked, co-ordinates x, co-ordinates y = os.pullEvent("mouse_click")

The event variable will be equal to "mouse_click".

The button clicked variable will be equal to the button you click (left click is 1, right click is 2 and mouse wheel button is 3).

The co-ordinates x and y variables will be equal to the x and y co-ordinates where you clicked. The bottom right corner would be: For co-ordinates x, 51 and for co-ordinates y, 19.


event, scroll direction, co-ordinates x, co-ordinates y = os.pullEvent("mouse_scroll")

The event variable will be equal to "mouse_scroll"

The scroll direction variable will be 1 if you scrolled down and -1 if you scrolled up.

The co-ordinates x and y variables will be equal to the x and y co-ordinates you scrolled at.

Start a Discussion Discussions about Advanced Computer

  • Hi.

    2 messages
    • How do I get paint on the advanced computer?
    • NVM, solved it.
  • LUA

    6 messages
    • Suggestion: Applied energistics. use a sorage bus with a deep storage unit, and have a level emitter that will activate redstone to turn off ...
    • *storage  bus

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.