Chromatic Shifting Shulker

Build a glowing rainbow shulker on a quartz pedestal that cycles through all 16 Minecraft dye colors automatically with orbiting particle rings.

Java EditionMobs & PetsEasy24 commandsTested on a real 26.2 & 26.3 server
A glowing shulker shifts colors on a quartz pedestal surrounded by swirling colorful particle trails. Download the GIF Video & GIF © www.9minecraft.net

Mob TransformationsEndMysticRainbowWhiteDecorationServer LobbyLearningParticlesArmor standsScoreboard timersExecute chainsSummoned mobsBlock building (fill/setblock/clone)SoundsGlowing outlinesRotation math21+ commands

The Chromatic Shifting Shulker places an animated, glowing shulker atop an illuminated quartz and sea lantern pedestal. Using a scoreboard timer and modulo math, the shulker cycles its shell through all sixteen Minecraft dye colors automatically while peeking open and closed.

As the shell changes hue, an invisible orbiting marker spins twin trails of end rod stars and color-transitioning dust around the pedestal, accompanied by floating ambient sparkles that match the current color phase.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_timer dummy
  2. /scoreboard objectives add c9_color dummy
  3. /scoreboard objectives add c9_math dummy
  4. /scoreboard players set #c9_div c9_math 5
  5. /scoreboard players set #c9_mod c9_math 16
  6. /fill ~-2 ~ ~-2 ~2 ~ ~2 chiseled_quartz_block
  7. /fill ~-1 ~ ~-1 ~1 ~1 ~1 quartz_pillar
  8. /setblock ~ ~1 ~ sea_lantern
  9. /summon shulker ~ ~2 ~ {Tags:["c9_shulker","c9_entity"],NoAI:1b,Invulnerable:1b,Glowing:1b,Color:14b,Peek:35b,CustomName:{"text":"Chromatic Shulker","color":"light_purple"}}
  10. /summon armor_stand ~ ~2 ~ {Tags:["c9_orb1","c9_entity"],Invisible:1b,NoGravity:1b,Marker:1b}

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

  1. /scoreboard players add @e[tag=c9_shulker] c9_timer 1
  2. /scoreboard players operation @e[tag=c9_shulker] c9_color = @e[tag=c9_shulker] c9_timer
  3. /scoreboard players operation @e[tag=c9_shulker] c9_color /= #c9_div c9_math
  4. /scoreboard players operation @e[tag=c9_shulker] c9_color %= #c9_mod c9_math
  5. /execute as @e[tag=c9_shulker] store result entity @s Color byte 1 run scoreboard players get @s c9_color
  6. /execute as @e[tag=c9_shulker,scores={c9_color=0..7}] run data merge entity @s {Peek:50b}
  7. /execute as @e[tag=c9_shulker,scores={c9_color=8..15}] run data merge entity @s {Peek:20b}
  8. /execute as @e[tag=c9_orb1] at @s run tp @s ~ ~ ~ ~12 ~
  9. /execute at @e[tag=c9_orb1] positioned ^ ^0.5 ^1.8 run particle end_rod ~ ~ ~ 0.05 0.05 0.05 0.01 2 force
  10. /execute at @e[tag=c9_orb1] positioned ^ ^0.5 ^-1.8 run particle dust_color_transition{from_color:[1.0,0.1,0.4],to_color:[0.1,0.9,1.0],scale:1.6} ~ ~ ~ 0.1 0.2 0.1 0 4 force
  11. /execute at @e[tag=c9_shulker,scores={c9_color=0..5}] run particle dust{color:[1.0,0.3,0.1],scale:1.6} ~ ~0.6 ~ 0.8 0.6 0.8 0 3 force
  12. /execute at @e[tag=c9_shulker,scores={c9_color=6..10}] run particle dust{color:[0.2,1.0,0.4],scale:1.6} ~ ~0.6 ~ 0.8 0.6 0.8 0 3 force
  13. /execute at @e[tag=c9_shulker,scores={c9_color=11..15}] run particle dust{color:[0.5,0.2,1.0],scale:1.6} ~ ~0.6 ~ 0.8 0.6 0.8 0 3 force
  14. /execute at @e[tag=c9_shulker,scores={c9_color=0}] run playsound block.amethyst_block.chime master @a ~ ~ ~ 0.4 1.4

How it works

Frames from the test run

Chromatic Shifting Shulker - frame 1Chromatic Shifting Shulker - frame 2Chromatic Shifting Shulker - frame 3

Recorded on our own test server: 40 frames at about 7.9 fps. Our image check saw: A glowing shulker sits on a quartz pedestal, changing colors between black, green, and blue while opening and closing amidst a ring of colorful dust and white star particles.

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 on a flat open area where you want the pedestal to appear, or place a command block at the center spot.
  2. Run each of the 10 setup commands in order to create the scoreboards, build the quartz pedestal, and summon the shulker and orbiting marker.
  3. Place a repeating command block set to Always Active and paste the first loop command into it.
  4. Attach 13 chain command blocks (set to Always Active and Unconditional) in a line pointing away from the repeating block, and paste the remaining loop commands in order.
  5. Watch the shulker cycle through all 16 colors while particles orbit around the pedestal.

Use it with real players

This creation works automatically as a decorative display or lobby centerpiece. If you want a shulker pet or nearby shulkers to shift colors only when a player holds a specific item or approaches, add if entity @a[distance=..8] to the first loop command so the timer only advances when someone is close by.

Remove it again 5 commands

  1. /kill @e[tag=c9_entity]
  2. /fill ~-2 ~ ~-2 ~2 ~2 ~2 air
  3. /scoreboard objectives remove c9_timer
  4. /scoreboard objectives remove c9_color
  5. /scoreboard objectives remove c9_math

FAQ

How can I make the shulker change colors faster or slower?

Change the value of <code>#c9_div</code> in <code>c9_math</code> using <code>/scoreboard players set #c9_div c9_math 10</code>. Higher numbers make each color last longer, while lower numbers speed up the cycle.

Can I restore the shulker to its default unpainted purple color?

Yes. In Minecraft Java Edition, setting a shulker's <code>Color</code> byte tag to <code>16b</code> restores its natural unpainted shell texture.

Commands used

/data/execute/fill/particle/playsound/scoreboard/setblock/summon/tp

Similar creations

Join 9Minecraft News & Guides