~jordanreger/cc

general computercraft scripts
51b7c72c — Jordan Reger 11 months ago
feat(xNet): initial commit
757a3ad6 — Jordan Reger 11 months ago
feat(xIndustries): initial commit
bfe60596 — Jordan Reger 11 months ago
feat: "multi-threading" and better functions

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~jordanreger/cc
read/write
git@git.sr.ht:~jordanreger/cc

You can also use your local clone with git send-email.

#~jordanreger/cc

This is a collection of my one-off computercraft scripts.

#xDoors

To read more about the xDoors automatic door system, read the README in the automatic_doors directory. This is part of an ongoing effort to create a "smart home" system in Minecraft.

#xIndustries

xIndustries is the store of the future, in Minecraft. All you have to do is walk in, select what you want from a massive screen, drop the correct payment into a hopper, and a turtle will automatically dispense your item above you.

Outside the store

Inside the store

#srht.lua

This script allows you to get other scripts from the paste tool. To download this onto your computer in Minecraft, run the following:

wget https://cc.jordanreger/srht

This will allow you to download other scripts from Sourcehut.

#Usage
  1. Create a public or unlisted paste by heading to paste.sr.ht.
  2. Once you're completed, hit View raw.
  3. Copy the string that follows "https://paste.sr.ht/blob/"
  4. Run the following:
srht {copied string} {filename, without ".lua" added to the end}

This will download your paste file to your computer!

#coords.lua

This script allows you to see your position in the world at (almost; for some reason, signal goes out in certain parts of the world - this seems to be a GPS error) all times.

#Usage

To use this script, you must have a GPS cluster set up. I recommend following this tutorial.

If you have this setup, run the following:

coords

This will result in your position being displayed on one line, updated every 0.25 seconds.