Animated Logic-Gate Binary to Decimal Scoreboard

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.

Java EditionComplex Contraptions & CinematicsExpert24 commandsTested on a real 26.2 & 26.3 server
A Minecraft logic gate decoder displaying binary values with glowing lime glass and sea lanterns. Download the GIF Video & GIF © www.9minecraft.net

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.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_ticks dummy
  2. /scoreboard objectives add c9_val dummy
  3. /scoreboard objectives add c9_b8 dummy
  4. /scoreboard objectives add c9_b4 dummy
  5. /scoreboard objectives add c9_b2 dummy
  6. /scoreboard objectives add c9_b1 dummy
  7. /fill ~-9 ~ ~-1 ~9 ~12 ~1 polished_deepslate
  8. /fill ~-8 ~6 ~-1 ~8 ~6 ~1 sea_lantern
  9. /summon armor_stand ~ ~8 ~ {Tags:["c9_ctrl"],NoGravity:1b,Invisible:1b,CustomNameVisible:1b,CustomName:{"text":"INIT","color":"aqua"}}
  10. /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}}

2. Loop - one repeating command block each (Always Active) 14 commands

  1. /scoreboard players add @e[tag=c9_ctrl] c9_ticks 1
  2. /execute if score @e[tag=c9_ctrl,limit=1] c9_ticks matches 20.. run scoreboard players set @e[tag=c9_ctrl] c9_ticks 1
  3. /execute if score @e[tag=c9_ctrl,limit=1] c9_ticks matches 1 run scoreboard players add @e[tag=c9_ctrl] c9_val 1
  4. /execute if score @e[tag=c9_ctrl,limit=1] c9_val matches 16.. run scoreboard players set @e[tag=c9_ctrl] c9_val 0
  5. /execute if score @e[tag=c9_ctrl,limit=1] c9_ticks matches 1 run fill ~-8 ~1 ~-2 ~8 ~5 ~2 red_stained_glass
  6. /execute if score @e[tag=c9_ctrl,limit=1] c9_ticks matches 1 run fill ~-8 ~2 ~-1 ~8 ~4 ~1 redstone_block
  7. /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
  8. /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
  9. /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
  10. /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
  11. /execute if score @e[tag=c9_ctrl,limit=1] c9_b8 matches 1 run fill ~-7 ~1 ~-2 ~-5 ~5 ~2 lime_stained_glass
  12. /execute if score @e[tag=c9_ctrl,limit=1] c9_b4 matches 1 run fill ~-3 ~1 ~-2 ~-1 ~5 ~2 lime_stained_glass
  13. /execute if score @e[tag=c9_ctrl,limit=1] c9_b2 matches 1 run fill ~1 ~1 ~-2 ~3 ~5 ~2 lime_stained_glass
  14. /execute if score @e[tag=c9_ctrl,limit=1] c9_b1 matches 1 run fill ~5 ~1 ~-2 ~7 ~5 ~2 lime_stained_glass

How it works

Frames from the test run

Animated Logic-Gate Binary to Decimal Scoreboard - frame 1Animated Logic-Gate Binary to Decimal Scoreboard - frame 2Animated Logic-Gate Binary to Decimal Scoreboard - frame 3

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.

Build it in your world

  1. Stand in the center of a flat open area with at least 18 blocks of clearance in every direction.
  2. Run each of the 10 setup commands once in chat to initialize the scoreboards, build the logic board frame, and summon the display entities.
  3. Place 14 repeating command blocks (or 1 repeating command block leading into 13 chain command blocks) nearby and set them all to Always Active.
  4. Paste each of the 14 loop commands in order into the command blocks.
  5. Watch the 4-bit binary cells count from 0 to 15 in real time with glowing lime glass cells.

Use it with real players

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.

Remove it again 9 commands

  1. /kill @e[tag=c9_ctrl]
  2. /kill @e[tag=c9_disp]
  3. /fill ~-9 ~ ~-2 ~9 ~12 ~2 air
  4. /scoreboard objectives remove c9_ticks
  5. /scoreboard objectives remove c9_val
  6. /scoreboard objectives remove c9_b8
  7. /scoreboard objectives remove c9_b4
  8. /scoreboard objectives remove c9_b2
  9. /scoreboard objectives remove c9_b1

FAQ

Why are all four binary bits (8, 4, 2, and 1) able to update in a single tick?

By 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.

Can I change the counting speed of the binary scoreboard?

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.

Commands used

/execute/fill/scoreboard/summon

Similar creations

Join 9Minecraft News & Guides