Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Links
Tags
Creators
Details
I have been working on an airship in Create Aeronautics, and it took me days to build a redstone pd circuit that would control my physical-fan-driven craft, yet the result was simply not much better than having no control. Then I made this mod so things'll be much easier for you.
*[Check GitHub for a quick tutorial!]
Note: I am a mod noob, and AI is extensively used at the begining of this project. I attempted to reverse-engineer the ai code and crafted the code structure in a way that seems OO-friendly to me, but I do not garantee that this mod is bug-free nor highly efficient.
Note: Despite looking like a aeronautics addon, this mod has NO prereq at all. You are free to explore any non-aeronautic use of this mod.
Brief overview of all stuff:
EVERYTHING has [shift] description

PIDer config menu

A full list of items:
Plier - A "wrench". Right-click rotates any full block CW (except signal passer). Shift+RC breaks any mod block and a few more (even entities). Is compatible with any other mod using the wrench tag. Now can be enchanted with sword enchants & Silk Touch / Fortune.
Analog Met - Configurable output plate that can paste on anything. Gives direct signal to the face it attaches on.
PWMer - Provides PWM output of [back_input-1, back_input] based on side input.
PIDer - Provides PIDed output of the back input signal. Also attempts to "self-correct" the input based on derivatives.
Cross-Reading PIDer - PIDer specified at controlling one axis of aeronautics' gimble sensor.
S-PIDer - Not a spider, but a PIDer that provides full PID signal from a gimble sensor. Is optimally put facing back ("S-direction") of your ship so the output labels will be correct. Note non-S blocks CAN pass the S-PIDer signal, but CAN NOT correctly calculate nor decode them. (In the code the signal is two ints concatinated and transferred as one int)
Oscillation Detector - Detects if the back signal passes through 0 for two times.
HOLC - High-Open-Low-Closed. Outputs RS when back input goes below the lower bound, not stop outputing until it goes >= the higher bound. Can toggle invert behavior and config bounds in Shift+RC menu.
[WIP] Helicopter Brain & Mirrored version - Control chip for helicopters. Have not yet passed the utility test. Basically takes navigator-based rotor angle data from left, S-signal WASD control from back, mean pitch from right and output four blade angle signal. The mirrored version flips left and right. Must be decoded by helicopter outputs.
New Signal Mixer - Weighted sum of left, right and back signals. Weights can be set via Shift+RC menu. Can be quite useful when making a full-ranged PID control without losing level accuracy.
New MOSFET - Outputs back signal when side signal >0. Just like a simplified MOSFET.
Add Minuser - One-block multiface +- redstone signal. Should be pretty intuitive once you saw it.
Four Adder, Four Minuser, Half Add Minuser, Half Adder, Half Minuser - Variants of Add-Minuser providing different numbers of +- faces.
Paired Input - Takes two groups of two [0,15] normal RS signal and translate that into [-15,15] internal RS signal of this mod. Think of how you would read pitch signals from a gimble sensor.
Paired Output - The reverse of paired input. Takes [-15,15] signal and decodes that back into two [0,15] signals. Both paired block can do TWO groups at the same time. Same group have the same face base color.
S-Paired Input - WASD input to manually craft a S-signal.
S-Common Input - Adds a comment shift to S-signal. All outputs will receive corresponding control signal + input sum of this
S-Output - WASD output for S-PIDer. When put facing "S-direction", all labels'll be correct.
S-Output Varied - S-Output but moved the bottom to back (technically front in the code) so you don't have to dig a hole on your floor. Can interchange with S-Output via crafting.
S-Quad Decoder - Quad Decoder for S-PIDer input. When put facing "S-direction", all labels'll be correct. Can not decode Squad.
S-Quad Decoder Varied - S-Q.D. but moved the bottom to back (technically front in the code) so you don't have to dig a hole on your floor. Can interchange with S-Q.D. via crafting.
Common-Shift Paired Output - Paired output excepts works for only one group but allows a common shift on both outputs. E.g. input 5 would output {5,0} on a paired output, adding common shift of 2 would output {7,2}. Negative input faces provided.
Differ-Shift Paired Output - Accepts a base signal and output base signal +- set shift. E.g. Input base 12 and shift 3 would output {9,15}. Negative faces provided.
Quad Signal Decoder - Basically WASD -> quadcopter-like / aileroned-tail signal. Is slightly complicated to explain so see more at in-game [shift] hint.
[WIP] Helicopter Output - Output for helicopter brain. Placed two-in-a-row to have full effect, where the first one outputs positive signals for four blades and the second one outputs negative.
Signal Diffuser - Broadcasts input signal to all other faces.
Signal Passer - 3-way (technically 6-way but not yet any block support that) independent signal passing.
Other features: Configurable menu color in config. No BG swap avaliable cause it's code-generated. Configurable blacklist to prevent items from interacting with blocks in this mod.
You are free to include my mod in your modpack. Please leave a comment if you do so :)


