Build an interactive 4-bit binary to decimal logic-gate scoreboard in Minecraft that counts 0 to 15 with glowing sea lanterns, lime glass cells, and pulses.
SimulationsTechnologyDarkBlackGreenRedLearningDecorationMap MakingText displaysArmor standsBlock building (fill/setblock/clone)21+ commands
This command creation builds a monumental four-sided dark-themed logic-gate scoreboard right in your world. Across the lower section, four oversized 4-bit binary cells representing values 8, 4, 2, and 1 cycle through numbers 0 to 15 in real time, lighting up with glowing lime glass and sea lanterns whenever a bit is active.
Bright cyan and lime data pulses stream up from the active binary cells into a central logic processor hub, which decodes the binary state and displays the live decimal output on a floating holographic screen visible from any angle.
/scoreboard objectives add c9_ticks dummy/scoreboard objectives add c9_val dummy/scoreboard objectives add c9_b8 dummy/scoreboard objectives add c9_b4 dummy/scoreboard objectives add c9_b2 dummy/scoreboard objectives add c9_b1 dummy/fill ~-9 ~ ~-1 ~9 ~12 ~1 polished_deepslate/fill ~-8 ~6 ~-1 ~8 ~6 ~1 sea_lantern/summon armor_stand ~ ~8 ~ {Tags:["c9_ctrl"],NoGravity:1b,Invisible:1b,CustomNameVisible:1b,CustomName:{"text":"INIT","color":"aqua"}}/summon text_display ~ ~9.2 ~ {Tags:["c9_disp","c9_main"],billboard:"center",alignment:"center",see_through:1b,brightness:{sky:15,block:15},background:1073741824,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[2.6f,2.6f,2.6f]},text:{"text":"LOGIC GATE DECODER\n[ 8 ] [ 4 ] [ 2 ] [ 1 ]","color":"gold","bold":true}}/scoreboard players add @e[tag=c9_ctrl] c9_ticks 1/execute if score @e[tag=c9_ctrl,limit=1] c9_ticks matches 20.. run scoreboard players set @e[tag=c9_ctrl] c9_ticks 1/execute if score @e[tag=c9_ctrl,limit=1] c9_ticks matches 1 run scoreboard players add @e[tag=c9_ctrl] c9_val 1/execute if score @e[tag=c9_ctrl,limit=1] c9_val matches 16.. run scoreboard players set @e[tag=c9_ctrl] c9_val 0/execute if score @e[tag=c9_ctrl,limit=1] c9_ticks matches 1 run fill ~-8 ~1 ~-2 ~8 ~5 ~2 red_stained_glass/execute if score @e[tag=c9_ctrl,limit=1] c9_ticks matches 1 run fill ~-8 ~2 ~-1 ~8 ~4 ~1 redstone_block/execute if score @e[tag=c9_ctrl,limit=1] c9_ticks matches 1 run scoreboard players operation @e[tag=c9_ctrl] c9_b1 = @e[tag=c9_ctrl] c9_val/execute if score @e[tag=c9_ctrl,limit=1] c9_ticks matches 1 store success score @e[tag=c9_ctrl] c9_b8 if score @e[tag=c9_ctrl,limit=1] c9_b1 matches 8.. run scoreboard players remove @e[tag=c9_ctrl] c9_b1 8/execute if score @e[tag=c9_ctrl,limit=1] c9_ticks matches 1 store success score @e[tag=c9_ctrl] c9_b4 if score @e[tag=c9_ctrl,limit=1] c9_b1 matches 4.. run scoreboard players remove @e[tag=c9_ctrl] c9_b1 4/execute if score @e[tag=c9_ctrl,limit=1] c9_ticks matches 1 store success score @e[tag=c9_ctrl] c9_b2 if score @e[tag=c9_ctrl,limit=1] c9_b1 matches 2.. run scoreboard players remove @e[tag=c9_ctrl] c9_b1 2/execute if score @e[tag=c9_ctrl,limit=1] c9_b8 matches 1 run fill ~-7 ~1 ~-2 ~-5 ~5 ~2 lime_stained_glass/execute if score @e[tag=c9_ctrl,limit=1] c9_b4 matches 1 run fill ~-3 ~1 ~-2 ~-1 ~5 ~2 lime_stained_glass/execute if score @e[tag=c9_ctrl,limit=1] c9_b2 matches 1 run fill ~1 ~1 ~-2 ~3 ~5 ~2 lime_stained_glass/execute if score @e[tag=c9_ctrl,limit=1] c9_b1 matches 1 run fill ~5 ~1 ~-2 ~7 ~5 ~2 lime_stained_glasssetup #7 Builds the main polished deepslate logic board housing and a glowing sea lantern divider bar across both the front and back faces.setup #10 Summons a bright center-billboarded holographic header display with see_through enabled so the bit labels are visible from any camera angle.loop #8 Uses execute store success score to test if the remaining value is at least 8, recording 1 into c9_b8 and subtracting 8 in a single command.loop #11 Lights up the 8-bit cell on both sides of the board with glowing lime stained glass over the inner core whenever bit 8 is active.


Recorded on our own test server: 40 frames at about 6.6 fps. Our image check saw: A dark deepslate structure labeled 'LOGIC GATE DECODER [8] [4] [2] [1]' with four binary cells underneath that toggle between redstone blocks and lime stained glass.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To let a player manually input a number to decode instead of auto-counting, disable the third loop command that adds 1 to c9_val and run /scoreboard players set @e[tag=c9_ctrl] c9_val <number> with any number from 0 to 15.
/kill @e[tag=c9_ctrl]/kill @e[tag=c9_disp]/fill ~-9 ~ ~-2 ~9 ~12 ~2 air/scoreboard objectives remove c9_ticks/scoreboard objectives remove c9_val/scoreboard objectives remove c9_b8/scoreboard objectives remove c9_b4/scoreboard objectives remove c9_b2/scoreboard objectives remove c9_b1By combining execute store success score with scoreboard subtraction, each command checks a bit threshold, stores a 1 or 0 flag, and subtracts the bit weight simultaneously.
Yes! In the second loop command, change matches 20.. to a lower number like 10.. for twice the speed, or 40.. for a two-second delay per step.
▶Magnetic Ferrofluid Audio VisualizerSimulationsHard24 cmds
▶Autonomous Cellular Grid: Conway's Game of Life in Vanilla MinecraftSimulationsMedium24 cmds
▶Illuminated Maze PathfinderSimulationsHard24 cmds
▶Live Pathfinding VisualizerSimulationsHard24 cmds
▶Smart Aiming Sentry vs. Classic Cannon ShowdownSimulationsExpert24 cmds
▶Spreading Glitch InfectionSimulationsMedium23 cmds