Project Red is a mod written for Forge Multipart. It brings vastly improved redstone control to Minecraft via compact wiring and integrated logic gates.
CB’s policy for requesting new gates:
For anyone wanting a new logic gate. Here's my proposal.
- It needs to have a purpose. You will need to provide examples of where this gate will be useful.
- It needs to be something that cannot be constructed in 3 existing gates or less.
- You must completely describe how it will function.
As an example, here's the RS latch. The gate has inputs on the left and right, outputs on the top and bottom. When you activate the left or right input, it switches into that state. When in the right state, the top output is on, when in the left state, the bottom output is on. It will also output from the input sides based on state. If both inputs are turned on, the gate should deactivate until they are both turned off. If both sides are turned off at the exact same time, it will pick a random state. It can be flipped with the screwdriver. It also has a second screwdriver mode where the inputs do not get powered based on state.
While the RS latch could technically be made with 2 NOT/NOR gates, it is a very fundamental logic circuit. Additionally, having only a two tick delay, instead of a 4 tick is quite useful.
Should you be able to describe your proposed gate in this format, create a feature request on the GitHub repo for ProjectRed. MrTJP and I will be notified and will be able to provide you feedback on your proposal.
Setup is slightly different depending on what system and IDE you use.
This assumes you know how to run gradle commands on your system.
The base command,
./gradlew being used below is for Linux or Unix based systems. For windows, this would simply change to
Of course, if you dont need to use the wrapper (as in, you have gradle installed on your system), you can simply go right to
- Clone repository to empty folder.
- Cd to the repository (folder where
./gradlew setupDecompWorkspaceto set up an environment.
- Open your IDE using the generated files (i.e., for IDEA, a ProjectRed.ipr is generated in
- Edit, run, and debug your new code.
- Once its bug free and working, you may submit it as a PR to the main repo.