Liquid XP Tank

Commands to run once:

Impulse Command Block, command block, Minecraft, cmd, Cimap, one command, Command Blocks

scoreboard objectives add xp level

Impulse Command Block, command block, Minecraft, cmd, Cimap, one command, Command Blocks

scoreboard objectives add xpTank dummy

Impulse Command Block, command block, Minecraft, cmd, Cimap, one command, Command Blocks

/summon ArmorStand ~ ~-1 ~ {Tags:["xpTank"],NoGravity:1b,Marker:1b,Invisible:1}

Impulse Command Block, command block, Minecraft, cmd, Cimap, one command, Command Blocks

/summon ArmorStand ~ ~-3.38 ~ {Tags:[xplvl],NoGravity:1,Marker:1,Invisible:1,Passengers:[{id:"Skeleton",NoGravity:1b,SkeletonType:1,ArmorItems:[{},{},{},{id:wool,Damage:5,Count:1}],Invulnerable:1,PersistenceRequired:1,NoAI:1,Tags:[xplvl],Silent:1,ActiveEffects:[{Id:14,Amplifier:0,Duration:180000000,ShowParticles:0b}]}]}

COLUMN 1

execute @a[score_xp_min=1] ~ ~ ~ tp @e[tag=xplvl,c=1] ~ ~0.0064 ~

execute @a[score_xp_min=1] ~ ~ ~ playsound entity.experience_orb.pickup master @p ~ ~ ~ 1 2

execute @a[score_xp_min=1] ~ ~ ~ scoreboard players add @e[tag=xpTank,c=1] xpTank 1

execute @e[tag=xpTank,score_xpTank=100] ~ ~1 ~ execute @p[r=1] ~ ~ ~ xp -1L @p

scoreboard players add @e[tag=xpTank] xpTank 0

Chain Command Block, Green Command Block, Minecraft, cmd, Cimap, one command, Command Blocks
Chain Command Block, Green Command Block, Minecraft, cmd, Cimap, one command, Command Blocks
Chain Command Block, Green Command Block, Minecraft, cmd, Cimap, one command, Command Blocks
Chain Command Block, Green Command Block, Minecraft, cmd, Cimap, one command, Command Blocks
Repeat Command Block, Blue Command Block, Minecraft, cmd, Cimap, one command, Command Blocks

COLUMN 2

execute @e[tag=xpTank,score_xpTank=0] ~ ~ ~ detect ~1 ~ ~ lever 13 setblock ~1 ~ ~ lever 5

execute @e[tag=xpTank,score_xpTank_min=1] ~ ~ ~ detect ~1 ~ ~ lever 13 playsound entity.experience_orb.pickup master @p ~ ~ ~ 1 0

execute @e[tag=xpTank,score_xpTank_min=1] ~ ~ ~ detect ~1 ~ ~ lever 13 tp @e[tag=xplvl,c=1] ~ ~-0.0064 ~

execute @e[tag=xpTank,score_xpTank_min=1] ~ ~ ~ detect ~1 ~ ~ lever 13 scoreboard players remove @e[tag=xpTank,score_xpTank_min=1,c=1] xpTank 1

execute @e[tag=xpTank,score_xpTank_min=1] ~ ~ ~ detect ~1 ~ ~ lever 13 xp 1L @p

Chain Command Block, Green Command Block, Minecraft, cmd, Cimap, one command, Command Blocks
Chain Command Block, Green Command Block, Minecraft, cmd, Cimap, one command, Command Blocks
Chain Command Block, Green Command Block, Minecraft, cmd, Cimap, one command, Command Blocks
Chain Command Block, Green Command Block, Minecraft, cmd, Cimap, one command, Command Blocks
Repeat Command Block, Blue Command Block, Minecraft, cmd, Cimap, one command, Command Blocks

How it works:

See what's inside of each command block!

COPYRIGHT © CIMAP. ALL RIGHTS RESERVED.

This website is not endorsed, associated or affiliated with Mojang AB.

Contact me for business enquiries.

Impulse Command Block, command block, Minecraft, cmd, Cimap, one command, Command Blocks
Impulse Command Block, command block, Minecraft, cmd, Cimap, one command, Command Blocks
Impulse Command Block, command block, Minecraft, cmd, Cimap, one command, Command Blocks
Impulse Command Block, command block, Minecraft, cmd, Cimap, one command, Command Blocks