Build a magical study room where glowing enchanted books drift out of bookshelves and orbit a central lectern amidst swirling arcane particles.
Arcane RunesMysticMedievalPurpleGoldOrangeDecorationServer LobbyAdventure MapItem displaysSmooth animation (interpolation)Summoned mobsBlock building (fill/setblock/clone)Rotation math21+ commands
This command creation builds an open-air arcane sanctuary complete with dark oak bookshelves, glowing lanterns, and a central enchanting altar. Once active, glowing tomes and enchanted books pull themselves out of the shelves and float in two counter-rotating rings around the room.
Using item_display entities paired with smooth teleportation duration, the books glide and bob through the air while trailing runes, portal sparks, and golden magic dust.
/scoreboard objectives add c9_timer dummy/fill ~-5 ~ ~-5 ~5 ~ ~5 minecraft:dark_oak_planks/fill ~-3 ~ ~-3 ~3 ~ ~3 minecraft:red_carpet/fill ~-5 ~1 ~-5 ~5 ~4 ~5 minecraft:bookshelf hollow/fill ~-4 ~1 ~-4 ~4 ~5 ~4 minecraft:air/fill ~-5 ~1 ~-1 ~5 ~3 ~1 minecraft:air/fill ~-1 ~1 ~-5 ~1 ~3 ~5 minecraft:air/setblock ~ ~1 ~ minecraft:enchanting_table/summon minecraft:marker ~ ~ ~ {Tags:["c9_lib","c9_core"]}/execute positioned ~-4 ~4 ~-4 run summon minecraft:item_display ~ ~ ~ {Tags:["c9_lib","c9_chandelier"],item:{id:"minecraft:lantern"}, glowing:1b}/scoreboard players add @e[tag=c9_core] c9_timer 1/scoreboard players add @e[tag=c9_book] c9_timer 1/execute if score @e[tag=c9_core,limit=1] c9_timer matches 1..240 at @e[tag=c9_core] if score @e[tag=c9_core,limit=1] c9_timer matches 20 run summon minecraft:item_display ~ ~1.8 ~ {Tags:["c9_lib","c9_book","c9_inner"],GlowColorOverride:16755200,glowing:1b,teleport_duration:2,item:{id:"minecraft:enchanted_book"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0.3f,0.5f,0f,0.8f],scale:[0.85f,0.85f,0.85f],translation:[0f,0f,0f]}}/execute if score @e[tag=c9_core,limit=1] c9_timer matches 40 run summon minecraft:item_display ~ ~2.8 ~ {Tags:["c9_lib","c9_book","c9_outer"],GlowColorOverride:5636095,glowing:1b,teleport_duration:2,item:{id:"minecraft:writable_book"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[-0.3f,0.4f,0.2f,0.8f],scale:[0.9f,0.9f,0.9f],translation:[0f,0f,0f]}}/execute if score @e[tag=c9_core,limit=1] c9_timer matches 60 run summon minecraft:item_display ~ ~2.2 ~ {Tags:["c9_lib","c9_book","c9_inner"],GlowColorOverride:16733695,glowing:1b,teleport_duration:2,item:{id:"minecraft:book"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0.4f,-0.3f,0.1f,0.85f],scale:[0.8f,0.8f,0.8f],translation:[0f,0f,0f]}}/execute if score @e[tag=c9_core,limit=1] c9_timer matches 80 run summon minecraft:item_display ~ ~3.3 ~ {Tags:["c9_lib","c9_book","c9_outer"],GlowColorOverride:16755200,glowing:1b,teleport_duration:2,item:{id:"minecraft:enchanted_book"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0.2f,0.6f,-0.2f,0.75f],scale:[0.95f,0.95f,0.95f],translation:[0f,0f,0f]}}/execute if score @e[tag=c9_core,limit=1] c9_timer matches 81.. if entity @e[tag=c9_book,limit=12] run scoreboard players set @e[tag=c9_core] c9_timer 1/kill @e[tag=c9_book,scores={c9_timer=240..}]/execute as @e[tag=c9_inner] at @s run tp @s ~ ~ ~ ~4 ~/execute as @e[tag=c9_outer] at @s run tp @s ~ ~ ~ ~-3 ~/execute as @e[tag=c9_inner] at @e[tag=c9_core] rotated as @s run tp @s ^ ^1.8 ^2.3/execute as @e[tag=c9_outer] at @e[tag=c9_core] rotated as @s run tp @s ^ ^2.9 ^3.6/execute at @e[tag=c9_book] run particle minecraft:enchant ~ ~0.2 ~ 0.15 0.15 0.15 0.3 2/execute at @e[tag=c9_book] run particle minecraft:dust{color:[1.0,0.75,0.2],scale:0.8} ~ ~ ~ 0.1 0.1 0.1 0 1/execute at @e[tag=c9_core] run particle minecraft:end_rod ~ ~1.3 ~ 0.3 0.4 0.3 0.02 1/execute at @e[tag=c9_core] run particle minecraft:portal ~ ~1.2 ~ 1.5 0.5 1.5 0.4 6setup #4 Builds a hollow 11x5x11 cube of bookshelves, which is then carved into four corner pillars and open archways by the air fill commands that follow.loop #3 Every cycle of the core timer, new <code>item_display</code> books are summoned with custom <code>GlowColorOverride</code> colors (gold, cyan, and magenta) and tilted <code>right_rotation</code> quaternions so they look like open drifting tomes.loop #8 Each book has its own age counter and is automatically removed after 240 ticks (12 seconds) so the number of floating books stays steady at around 12 entities.loop #9 Rotates inner books by +4 degrees per tick and outer books by -3 degrees per tick. The next two commands then move each book along its own facing angle relative to the room center using local coordinates (<code>^ ^ ^distance</code>).loop #13 Spawns enchantment runes and golden dust at every floating book, while the core marker emits rising <code>end_rod</code> sparkles above the enchanting table.


Recorded on our own test server: 58 frames at about 9.6 fps. Our image check saw: An exterior view of an open-air bookshelf structure at night, with floating enchanted books and particles visible through the doorway around a central enchanting table.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To make the floating books orbit around a player instead of the room center, replace @e[tag=c9_core] in the last six loop commands with @p. The rings of glowing books will follow you as you walk around like a mage's personal library.
/kill @e[tag=c9_lib]/scoreboard objectives remove c9_timer/fill ~-5 ~ ~-5 ~5 ~5 ~5 minecraft:airEach item_display entity is summoned with teleport_duration:2, which tells Minecraft to smoothly interpolate its movement between tick teleports.
Yes! In the two local teleport commands (^ ^1.8 ^2.3 and ^ ^2.9 ^3.6), the second number controls the height above the floor and the third number controls the orbit radius in blocks.
▶Arcane Repulsion ForcefieldArcane RunesMedium24 cmds
▶Arcane Sentinel TowerArcane RunesEasy24 cmds
▶Subterranean Geode Cracking RitualArcane RunesHard24 cmds
▶Prismatic Croquet Mallet Spell-ShotArcane RunesHard21 cmds
▶Prismatic Jacquard Punch-Card SpellcasterArcane RunesExpert24 cmds
▶Runic Barber-Pole Infinite HelixArcane RunesMedium19 cmds