Skip to content
This repository has been archived by the owner on Apr 28, 2021. It is now read-only.

quat1024/incorporeal

Repository files navigation

Incorporeal

A Botania addon that adds more toys for your corporea system. Designed for managing large-scale systems and expanding what is possible with corporea, without trivializing it.

Development status - WHO FUCKIN KNOWS ANYMORE???????????

Sounds cool what does it add

  • A Corporea Spark Tinkerer to swap out spark networks

  • An Item Frame Tinkerer to switch items on Item Frames

  • Red String Liar to lie to your system about the contents of a chest

  • Corporea Solidifier to store corporea requests as corporea tickets

  • Ticket Conjurer to create tickets on the go

  • Sanvocalia flower to read those tickets off to corporea indexes

  • the Rod of the Fractured Space: teleport items to an Open Crate, from anywhere

  • the Ender Soul Core: A link to a player's ender chest that can be hoppered into, corporea sparked, etc

  • the Corporea Soul Core: Only people who have a soul core on the network can use corporea indices

  • Plant redstone roots to grow natural redstone circuitry

  • Corporea Retainer Evaporator, allowing for richer control of interceptor-retainer pairs

  • Lexica Botania integration for allmost of this, of course

  • Cursed despacito flower

  • Soon: the Cygnus network, a corporea-flavored math and logic system

  • 1 coremod boio

What doesn't it add?

  • GUIs, what is this, some garbage tech mod?
  • Things that make corporea systems easy to create

What's left to do?

  • Hire a goddamn artist lol

What's planned for the next update?

  • Worldgen.
  • Some secret stuff 👀

Build instructions

Nothing out of the ordinary.

However, the buildscript also contains a few handy lines that allow you to set your Minecraft username and UUID when you launch your dev instance. This is useful for debugging things like soul cores. You must set neither or both, or else Minecraft will get really confused.

  • Discover your Minecraft UUID using a tool like https://mcuuid.net/

  • Create a file called gradle.properties in your Gradle home directory (on Windows at least, it's in C:/Users/<username>/.gradle)

  • Format the file like this:

    mc_uuid=873dea16-d058-4343-861c-f62c21da124b mc_username=quaternary

  • Save, and launch the game through the usual methods

Coding Style

Since this mod is my biggest, I'm trying to care more about style than I usually do????

The usual rules apply:

  • Tabs, not spaces
  • Either use braces or put everything on one line, never a mix
  • Avoid side effects in constructors and if-clauses
  • Obsess over ObjectHolders
  • Use comments on long methods with multiple steps
  • Use comments when either the meaning or the purpose is unclear
  • Don't shy away from long class and method names when they are needed

License information

All source files in src/main/java/quaternary/incorporeal/ except SpookyClassWriter.java:

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http:https://mozilla.org/MPL/2.0/.

SpookyClassWriter.java:

This is from Gotta Go Fast by Thiakil, MIT license. Its license is reproduced in OTHER_LICENCES.md.

All files in src/main/java/quaternary/incorporealapi/:

CC0, public domain. Repackaging them in your mods is very much encouraged.

Files in src/main/java/quaternary/compat/infraredstone

This is where Incorporeal's compatibility with InfraRedstone, an LGPL mod, lives. I believe this sort of dependency categorizes Incorporeal as a "Combined Work" under the LGPL.

As such, InRed's license is reproduced in OTHER_LICENSES.md and its uses are marked with a comment at the top of each source file.

As far as section 4d of the LGPL, since the dependency is "soft" and I don't repackage anything InfraRedstone, that counts as a "shared-library mechanism".