Dynamic Glowing Squids Aquarium

Build a dark aquarium where glow squids swim and dynamically illuminate the water and surrounding blocks with a shifting, colourful bioluminescent aura.

Java EditionMobs & PetsEasy23 commandsTested on a real 26.2 & 26.3 server
Glowing squids with white outlines illuminate a dark obsidian and tinted-glass aquarium with dynamic light and particles. Download the GIF Video & GIF © www.9minecraft.net

Custom MobsOceanWaterDarkCyanBlueBlackDecorationServer LobbyRiding & passengersSummoned mobsBlock building (fill/setblock/clone)SoundsStatus effects21+ commands

In standard Minecraft, glow squids have a bright texture, but they do not actually light up the blocks around them. This command creation builds a dark obsidian and tinted-glass aquarium where five glow squids dynamically cast real block light and shifting bioluminescent particle auras as they swim.

Using invisible light blocks that track the squids and clean themselves up automatically, the dark tank pulses with cyan, magenta, and gold light as the creatures glide past the prismarine pillars.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_t dummy
  2. /fill ~-6 ~ ~-6 ~6 ~8 ~6 minecraft:tinted_glass
  3. /fill ~-5 ~1 ~-5 ~5 ~7 ~5 minecraft:water
  4. /fill ~-6 ~ ~-6 ~6 ~ ~6 minecraft:crying_obsidian
  5. /fill ~-6 ~8 ~-6 ~6 ~8 ~6 minecraft:obsidian
  6. /fill ~-4 ~1 ~-4 ~-4 ~7 ~-4 minecraft:dark_prismarine
  7. /fill ~4 ~1 ~-4 ~4 ~7 ~-4 minecraft:dark_prismarine
  8. /fill ~-4 ~1 ~4 ~-4 ~7 ~4 minecraft:dark_prismarine
  9. /fill ~4 ~1 ~4 ~4 ~7 ~4 minecraft:dark_prismarine
  10. /summon minecraft:glow_squid ~-2 ~4 ~-2 {Tags:["c9_squid","c9_s1"],CustomName:'{"text":"Lumina","color":"aqua"}',PersistenceRequired:1b,Glowing:1b,Passengers:[{id:"minecraft:glow_squid",Tags:["c9_squid","c9_s2"],PersistenceRequired:1b,Glowing:1b},{id:"minecraft:glow_squid",Tags:["c9_squid","c9_s3"],PersistenceRequired:1b,Glowing:1b},{id:"minecraft:glow_squid",Tags:["c9_squid","c9_s4"],PersistenceRequired:1b,Glowing:1b},{id:"minecraft:glow_squid",Tags:["c9_squid","c9_s5"],PersistenceRequired:1b,Glowing:1b}]}

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

  1. /scoreboard players add #tick c9_t 1
  2. /execute if score #tick c9_t matches 60.. run scoreboard players set #tick c9_t 0
  3. /execute as @e[tag=c9_squid] if entity @s[nbt={Passengers:[{}]}] run ride @e[tag=c9_squid,limit=1,nbt=!{Passengers:[{}]}] dismount
  4. /fill ~-5 ~1 ~-5 ~5 ~7 ~5 minecraft:water replace minecraft:light
  5. /execute at @e[tag=c9_squid] if block ~ ~ ~ minecraft:water run setblock ~ ~ ~ minecraft:light[level=15,waterlogged=true]
  6. /execute at @e[tag=c9_squid] run particle minecraft:glow ~ ~0.4 ~ 0.6 0.6 0.6 0.02 3 normal
  7. /execute if score #tick c9_t matches 0..19 at @e[tag=c9_squid] run particle minecraft:dust_color_transition{from_color:[0.0,1.0,0.8],to_color:[0.1,0.3,1.0],scale:1.6} ~ ~0.4 ~ 0.7 0.7 0.7 0.01 4 normal
  8. /execute if score #tick c9_t matches 20..39 at @e[tag=c9_squid] run particle minecraft:dust_color_transition{from_color:[0.9,0.2,1.0],to_color:[0.0,1.0,0.9],scale:1.6} ~ ~0.4 ~ 0.7 0.7 0.7 0.01 4 normal
  9. /execute if score #tick c9_t matches 40..59 at @e[tag=c9_squid] run particle minecraft:dust_color_transition{from_color:[1.0,0.9,0.2],to_color:[0.0,1.0,0.6],scale:1.6} ~ ~0.4 ~ 0.7 0.7 0.7 0.01 4 normal
  10. /execute if score #tick c9_t matches 1 at @e[tag=c9_squid] run particle minecraft:end_rod ~ ~0.4 ~ 1.2 1.2 1.2 0.02 8 normal
  11. /execute if score #tick c9_t matches 30 at @e[tag=c9_squid] run playsound minecraft:entity.glow_squid.ambient master @a ~ ~ ~ 0.4 1.2
  12. /effect give @e[tag=c9_squid] minecraft:regeneration 2 2 true
  13. /execute as @e[tag=c9_squid] at @s unless block ~ ~ ~ minecraft:water unless block ~ ~ ~ minecraft:light run tp @s ~ ~-0.5 ~

How it works

Frames from the test run

Dynamic Glowing Squids Aquarium - frame 1Dynamic Glowing Squids Aquarium - frame 2Dynamic Glowing Squids Aquarium - frame 3

Recorded on our own test server: 60 frames at about 9.9 fps. Our image check saw: Five outlined glow squids swim inside a dark obsidian and tinted-glass aquarium, emitting actual light and colorful particle effects into the water around them.

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. Find a flat open area and stand at the centre where you want the aquarium to appear.
  2. Run each of the 10 setup commands in order to build the tinted-glass tank, dark prismarine pillars, and summon the glowing squids.
  3. Place a repeating command block (Always Active) at the exact same centre coordinates, or wrap the commands with execute positioned at the tank centre.
  4. Chain the 13 loop commands together in Always Active chain command blocks connected to the repeating block.
  5. Set the time to night with /time set night to watch the dynamic lighting illuminate the dark tank interior.

Use it with real players

To make all natural glow squids in your survival world emit dynamic light around players without using a tank, replace the /fill cleanup command with /execute at @a run fill ~-12 ~-8 ~-12 ~12 ~8 ~12 minecraft:water replace minecraft:light and change @e[tag=c9_squid] to @e[type=minecraft:glow_squid].

Remove it again 3 commands

  1. /kill @e[tag=c9_squid]
  2. /fill ~-6 ~ ~-6 ~6 ~8 ~6 minecraft:air
  3. /scoreboard objectives remove c9_t

FAQ

Why use tinted glass for the aquarium walls?

Tinted glass blocks external light while remaining transparent to look through, making the dynamic level-15 light blocks inside the tank stand out clearly.

Will the light blocks stay behind if a squid dies?

No. The loop replaces all light blocks inside the aquarium volume with normal water every single tick before placing new ones at the living squids.

Commands used

/effect/execute/fill/particle/playsound/ride/scoreboard/setblock/summon/tp

Similar creations

Join 9Minecraft News & Guides