Looking at the problem mathematically: The basic analog operation we have is a - b
, and the values must be between 0 and 15. How can we produce 2·a
using that?
2·a = a + a no multiplication, but addition
= a - (-a) no addition, but uses negative numbers
= 8 + a - (8 - a) in range, but has a + operation
= 8 - (-a) - (8 - a) almost there...
= 15 - (7 - a) - (8 - a) this can be redstone!
Note that we are finally using 15 and 7, not 16 and 8, because there is no signal strength 16. The output for input 8 will be 15, not 16, because (7 - a)
can only go down to 0 rather than -1.
This is a “physical” implementation of the above formula. The two furnaces are used as signal sources, containing 64+32 and 64+24 items each, causing the comparators to their left (set to subtraction mode) to have input signals of 8 and 7 respectively (which is which doesn't matter). The torch at the bottom provides the constant 15, and the two comparators on the left side subtract the two intermediate results from 15 to produce the final output on the top left.
The middle right comparator is not actually necessary; it just simplifies seeing where the input to the circuit is and what the signal strength at that point is. It does nothing but repeat the signal (it doesn't interact with the furnaces). Thus, this circuit can be built with only 4 comparators.
Note that since the output comes from two subtractions in sequence, when the input changes, the output will change in two equally-sized steps. This could be good if you want a smooth change (e.g. if the input goes from 2 to 3 the output will go through 4, 5, 6) but bad if you're looking for only “correct” outputs (e.g. only even-numbered ones).
The circuit can be compacted by one more block as follows, requiring an additional comparator (which merely repeats the signal, because the input to its right is always weaker and it is not in subtraction mode).
(Another possible compacting is to bring the top and bottom rows right next to each other; this would require feeding the input signal to the two input comparators separately, which might happen to be convenient for some 3D build. Note that you can compensate for signal losses by changing the furnace fill, if your original input's lowest value is above 0.)
These circuits were built and tested in Minecraft 1.6.2 and should work back to version 1.5, but not before 1.5 as comparators did not exist then.
This was an interesting problem to work on and I found what I think is an elegant solution — thanks for asking!
Comparators put against any container will output a signal at a strength equal to the percentage filled the container is - one notable combo is to use a cauldron filled with water, which is also able to move, and produces a signal with a strength of 15 when placed behind a comparator.
In terms of block updates, you could probably modify the normal BUD that uses a redstone block to instead use a cauldron-comparator combo, but it won't be particularly space efficient.
I've added some pictures of a proof of concept below. It basically takes the one wide tileable design from this page and replaces the redstone blocks and the redstone torch with filled cauldrons.
Best Answer
You can't.
Remote chunk loading is entirely broken in 1.13+, it's one of the main reasons why I don't recommend updating beyond 1.12.2. My bug report about it is here, sadly it gets mostly ignored by Mojang. You can try voting for it, but I don't have much hope that it will be fixed soon.