so, some of us want these, and i have never seen one anywhere so i made some, some use redstone blocks as a bit of a io solution and others are straight up command blocks, ill label the redstone ones as (rs) all of these designs are made with repeating and chain command blocks and have to be connected in the order they are mentioned (I.E repeating chain chain) unless otherwise stated all the command blocks do not want a redstone input to be required, format will go command block 1 command block 2... command block n then starting on the line after the white space command 1 command 2... command n, all of which will be on new lines. also input1 refers to the x,y,z of where the first input is similarly with input2 and output.
EDIT: i recently found out that chain command blocks that are in conditional mode automatically set their SuccessCount to 0 when the command block that activated them failed its command
sry :/ this one would be very long but what you can do is AND the outputs of a NAND + OR connected to the same inputs ~12 blocks but doing it as one command block chain would be the same length sooo if you have any ideas please share them
repeating chain chain(conditional) chain chain(conditional) impulse (a place for the output to get put)
/blockdata impulse {SuccessCount:1}
/testforblock input1 CommandBlockType -1 {SuccessCount:1}
/blockdata impulse {SuccessCount:0}
/testforblock input2 CommandBlockType -1 {SuccessCount:1}
/blockdata impulse {SuccessCount:0}
same story as the non rs OR... basically the same command after all
NAND:
EDIT: not sure if original command would actually work XD
if you set input to be ~ ~ ~ and CommandBlockType to Minecraft:Repeating_Command_Block
it turns in to a very fast clock XD
well as i have been saying about half of the time if you have a suggestion post it (doesn't have to be related to the commands them self maybe the formating as i am a forum newb), find anything confusing: say so, want to use anything: please do so, but if you want to share the designs (ingame) please link this forum post as the source
EDIT: i forgot to mention this only works in 1.9
so, some of us want these, and i have never seen one anywhere so i made some, some use redstone blocks as a bit of a io solution and others are straight up command blocks, ill label the redstone ones as (rs) all of these designs are made with repeating and chain command blocks and have to be connected in the order they are mentioned (I.E repeating chain chain) unless otherwise stated all the command blocks do not want a redstone input to be required, format will go command block 1 command block 2... command block n then starting on the line after the white space command 1 command 2... command n, all of which will be on new lines. also input1 refers to the x,y,z of where the first input is similarly with input2 and output.
AND (rs):
repeating chain chain(conditional)
NAND (rs):
repeating chain chain(conditional) chain(conditional)
OR (rs):
repeating chain(requires redstone)
NOR (rs)
repeating chain(requires redstone)
XOR (rs):
repeating chain chain(conditional)
XNOR(rs):
repeating chain chain(conditional)
NOT(rs):
repeating chain(needs redstone)
AND:
EDIT: i recently found out that chain command blocks that are in conditional mode automatically set their SuccessCount to 0 when the command block that activated them failed its command
(still EDIT)
repeating chain(conditional)
repeating chain chain(conditional)
OR:
EDIT: much better command
repeating chain(conditional) chain
repeating chain chain(conditional) chain chain(conditional) impulse (a place for the output to get put)
sry for this one being so messy :/ if you can find a better solution please share it with the thread
XOR:
EDIT: now that i have better ANDs ORs NORs and NANDs here is the command:
Repeating chain(conditional) chain chain(conditional) chain chain(conditional)
(end EDIT)
sry :/ this one would be very long but what you can do is AND the outputs of a NAND + OR connected to the same inputs ~12 blocks but doing it as one command block chain would be the same length sooo if you have any ideas please share them
NOR:
EDIT: found a much better command
repeating chain(conditional)
(end EDIT)
repeating chain chain(conditional) chain chain(conditional) impulse (a place for the output to get put)
NAND:
EDIT: not sure if original command would actually work XD
repeating chain(conditional) chain
(end EDIT)
repeating chain chain(conditional)
XNOR:
EDIT: now that i have an XOR heres the command
repeating chain(conditional) chain chain(conditional) chain chain(conditional) chain
(end EDIT)
same story as XOR but just not a XOR instead...
NOT:
repeating
if you set input to be ~ ~ ~ and CommandBlockType to Minecraft:Repeating_Command_Block
it turns in to a very fast clock XD
well as i have been saying about half of the time if you have a suggestion post it (doesn't have to be related to the commands them self maybe the formating as i am a forum newb), find anything confusing: say so, want to use anything: please do so, but if you want to share the designs (ingame) please link this forum post as the source
-izik