Skip to content

Grahmindol/OpenStuff

Repository files navigation

OpenStuff 🧠⚙️

OpenStuff is a Minecraft 1.16 mod that extends OpenComputers (1.16 port) with a smart armor directly programmable in Lua.


✨ Features

  • 🛡️ Armor crafted from Netherite armor
  • 📟 Access to a graphical interface via the O key
  • 🧩 Custom Lua component (component.armor) accessible from OpenOS
  • 💡 Armor light dynamically changeable via Lua script

🔧 Dependencies


💻 Lua API

Once inside OpenOS with the armor running, use:

local armor = component.armor

-- Example of light control (if exposed by you later)
armor.setLight(0x00FF00) -- Bright green
print(string.format("Current light: %06X", armor.getLight()))

🧪 Compilation

git clone https://github.com/Grahmindol/OpenStuff.git
cd OpenStuff
./gradlew build

🧠 Notes Techniques

  • L’armure embarque une tablette OC configurée lors de la création.
  • L’objet ArmorComponent implémente DeviceInfo et s’intègre à l’environnement OC comme composant.
  • Le stockage de la tablette est persisté dans le tag NBT Tablet de l’item ItemStack du chestplate.

👤 Auteur

Mod développé par @Grahmindol Licence : MIT

About

OpenStuff est un mod Minecraft 1.16 qui étend OpenComputers (port 1.16) avec des objets intelligents comme une armure directement programmable via Lua.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages