Git Product home page Git Product logo

projectred's Introduction

ProjectRed

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.

  1. It needs to have a purpose. You will need to provide examples of where this gate will be useful.
  2. It needs to be something that cannot be constructed in 3 existing gates or less.
  3. 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.

Developing:

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 gradlew. 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 gradle.

  1. Clone repository to empty folder.
  2. Cd to the repository (folder where src and resources are located).
  3. Run ./gradlew setupDecompWorkspace to set up an environment.
  4. Run ./gradlew eclipse or ./gradlew idea appropriately.
  5. Open your IDE using the generated files (i.e., for IDEA, a ProjectRed.ipr is generated in ./)
  6. Edit, run, and debug your new code.
  7. Once its bug free and working, you may submit it as a PR to the main repo.

projectred's People

Contributors

bspkrs avatar chicken-bones avatar crafteverywhere avatar fewizz avatar frostlee avatar gamerzwin avatar gmous avatar iree avatar jodamm avatar lordmau5 avatar lycaonj avatar maxiebyte avatar mrtjp avatar mymagadsl avatar narigudobr avatar octylfractal avatar sb023612 avatar simon816 avatar sinusoidalc avatar steef157 avatar taelnia avatar target-san avatar tetious avatar vexatos avatar wodkashorty avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.