Javascript required
Skip to content Skip to sidebar Skip to footer

How to Get a Black Hole in Minecraft

This small command adds in two new items, the pocket black hole and the Gravitation Sword. The pocket black hole is a miniature black hole that sucks in all mobs around it. It won't affect the player unless the player stands in the middle of it. Don't do that or you will die lol The second item, the Gravitation Sword, summons in a black hole above you whenever you hit a mob. Press shift and walk a little to fling mobs close to you into the air! Have fun with this command guys! Keep an eye out for more! - Mordial33

How to install

How to import this command into your world

First, you must give yourself a command block (If you are on a server, you must be 'OP'ed, and have access to /gamemode 1)

To get a command block, type /give @p command_block in the chat.

Once you have a command block, right click it to open it's GUI.

Now, you must copy and paste the command from your browser into the game. Select the entire command from below, then right click and press 'copy'.

Next, go back to your minecraft world, and paste the command you just copied into the command block. There are a few different keys that may be used to do this, depending on your keyboard. The most common ones are 'CTRL + V', 'COMMAND + V', or 'STRG + V'

Finally, you can press done to exit the GUI, and execute the command block by powering it with a redstone block, a lever, or any thing you can get your grubby hands on. Just make sure you don't place it on top of the command block, or the machine will not be installed!

Show source commands

1 Redstone Block + 1 Diamond = Pocket Black Hole

3 Pocket Black Holes + 1 Diamond Sword = Gravitation Sword

/summon MinecartCommandBlock ~ ~1 ~ {Command:kill @e[type=MinecartCommandBlock,r=1],Riding:{id:MinecartCommandBlock,Command:setblock ~ ~-1 ~1 redstone_block,Riding:{id:MinecartCommandBlock,Command:setblock ~ ~ ~1 command_block 0 replace {Command:fill ~ ~-3 ~-1 ~ ~ ~ air},Riding:{id:MinecartCommandBlock,Command:"/tellraw @p [\"\",{\"text\":\"Pocket Black Holes: \",\"color\":\"dark_gray\",\"bold\":true},{\"text\":\"a new, fun way to kill enemy mobs!\",\"color\":\"black\",\"bold\":true},{\"text\":\"\\nAdds in two new items!\",\"color\":\"white\",\"bold\":true},{\"text\":\"\\nA one command machine created by: \",\"color\":\"gray\",\"bold\":true},{\"text\":\"\\nMordial33\",\"color\":\"dark_red\",\"bold\":true,\"underlined\":true},{\"text\":\"\\nClick to visit my profile on MrGarretto's one command website!\",\"color\":\"dark_purple\",\"bold\":true,\"clickEvent\":{\"action\":\"open_url\",\"value\":\"http://onecmd.com/?creator=Mordial33\"},\"hoverEvent\":{\"action\":\"show_text\",\"value\":{\"text\":\"\",\"extra\":[{\"text\":\"Click to visit my profile :)\",\"color\":\"green\"}]}},\"underlined\":false}]",Riding:{id:MinecartCommandBlock,Command:"/scoreboard objectives add ksG stat.crouchOneCm",Riding:{id:MinecartCommandBlock,Command:"/scoreboard objectives add ksbH stat.useItem.minecraft.golden_sword",Riding:{id:MinecartCommandBlock,Command:"/scoreboard objectives add bHcS dummy",Riding:{id:MinecartCommandBlock,Command:"/scoreboard objectives add bHoG dummy",Riding:{id:MinecartCommandBlock,Command:"/scoreboard objectives add mbHiC dummy",Riding:{id:MinecartCommandBlock,Command:"/scoreboard objectives add bHtmr dummy",Riding:{id:MinecartCommandBlock,Command:"/scoreboard objectives add hbHi dummy",Riding:{id:MinecartCommandBlock,Command:blockdata ~3 ~-2 ~-1 {Command:fill ~ ~ ~1 ~7 ~2 ~1 stone},Riding:{id:MinecartCommandBlock,Command:blockdata ~3 ~-2 ~1 {Command:fill ~ ~ ~-1 ~7 ~2 ~-1 redstone_block},Riding:{id:MinecartCommandBlock,Command:blockdata ~4 ~-2 ~-1 {Command:"scoreboard players set @e[type=Item] bHoG 0 {OnGround:0b}"},Riding:{id:MinecartCommandBlock,Command:blockdata ~4 ~-2 ~1 {Command:"scoreboard players set @e[type=Item] bHoG 1 {OnGround:1b}"},Riding:{id:MinecartCommandBlock,Command:blockdata ~5 ~-2 ~-1 {Command:"scoreboard players set @e[type=Item] mbHiC 1 {Item:{id:minecraft:diamond,Count:1b}}"},Riding:{id:MinecartCommandBlock,Command:blockdata ~5 ~-2 ~1 {Command:"scoreboard players set @e[type=Item] mbHiC 2 {Item:{id:minecraft:redstone_block,Count:1b}}"},Riding:{id:MinecartCommandBlock,Command:blockdata ~6 ~-2 ~-1 {Command:"scoreboard players set @e[type=Item] mbHiC 3 {Item:{id:minecraft:diamond_sword,Count:1b}}"},Riding:{id:MinecartCommandBlock,Command:blockdata ~6 ~-2 ~1 {Command:"scoreboard players set @e[type=Item] mbHiC 4 {Item:{id:minecraft:spawn_egg,Count:3b,tag:{display:{Name:\\\"Singularity\\\"}}}}"},Riding:{id:MinecartCommandBlock,Command:blockdata ~7 ~-2 ~-1 {Command:"execute @e[type=Item,score_mbHiC_min=1,score_mbHiC=1,score_bHoG_min=1] ~ ~ ~ execute @e[type=Item,score_mbHiC_min=2,score_mbHiC=2,score_bHoG_min=1,r=1] ~ ~ ~ scoreboard players set @e[type=Item,r=1] bHcS 1"},Riding:{id:MinecartCommandBlock,Command:blockdata ~7 ~-2 ~1 {Command:"execute @e[type=Item,score_mbHiC_min=1,score_mbHiC=1,score_bHoG_min=1] ~ ~ ~ execute @e[type=Item,score_mbHiC_min=2,score_mbHiC=2,score_bHoG_min=1,r=1] ~ ~ ~ summon Item ~ ~ ~ {CustomName:\\\"Singularity\\\",CustomNameVisible:1,Item:{id:spawn_egg,Damage:60,Count:1,tag:{HideFlags:1,display:{Name:\\\"Singularity\\\"},ench:[{id:34,lvl:1}]}}}"},Riding:{id:MinecartCommandBlock,Command:blockdata ~8 ~-2 ~-1 {Command:"execute @e[type=Item,score_mbHiC_min=3,score_mbHiC=3,score_bHoG_min=1] ~ ~ ~ execute @e[type=Item,score_mbHiC_min=4,score_mbHiC=4,score_bHoG_min=1,r=1] ~ ~ ~ scoreboard players set @e[type=Item,r=1] bHcS 1"},Riding:{id:MinecartCommandBlock,Command:blockdata ~8 ~-2 ~1 {Command:"execute @e[type=Item,score_mbHiC_min=3,score_mbHiC=3,score_bHoG_min=1] ~ ~ ~ execute @e[type=Item,score_mbHiC_min=4,score_mbHiC=4,score_bHoG_min=1,r=1] ~ ~ ~ summon Item ~ ~ ~ {CustomName:\\\"Gravitation_Sword\\\",CustomNameVisible:1,Item:{id:golden_sword,Count:1,tag:{HideFlags:1,display:{Name:\\\"Gravitation_Sword\\\"},ench:[{id:16,lvl:2},{id:17,lvl:1},{id:18,lvl:1},{id:19,lvl:2},{id:20,lvl:1},{id:34,lvl:6}]}}}"},Riding:{id:MinecartCommandBlock,Command:blockdata ~9 ~-2 ~-1 {Command:"execute @e[type=Item,score_bHcS_min=1,c=1] ~ ~ ~ particle fireworksSpark ~ ~ ~ .7 .5 .7 .0008 100 force"},Riding:{id:MinecartCommandBlock,Command:blockdata ~9 ~-2 ~1 {Command:"execute @e[type=Item,score_bHcS_min=1,c=1] ~ ~ ~ particle smoke ~ ~ ~ .8 .3 .8 .0008 180 force"},Riding:{id:MinecartCommandBlock,Command:blockdata ~10 ~-2 ~-1 {Command:"execute @e[type=Item,name=Singularity] ~ ~ ~ particle smoke ~ ~ ~ 1 .1 1 .05 3 force"},Riding:{id:MinecartCommandBlock,Command:blockdata ~10 ~-2 ~1 {Command:"execute @e[type=Item,name=Singularity] ~ ~ ~ particle portal ~ ~ ~ 1.3 .2 1.3 .0005 4 force"},Riding:{id:MinecartCommandBlock,Command:blockdata ~3 ~-1 ~-1 {Command:"execute @e[type=Item,name=Gravitation_Sword] ~ ~ ~ particle fireworksSpark ~ ~ ~ .5 .4 .5 .0003 6 force"},Riding:{id:MinecartCommandBlock,Command:blockdata ~3 ~-1 ~1 {Command:"execute @e[type=Item,name=Gravitation_Sword] ~ ~ ~ particle townaura ~ ~ ~ 1 .6 1 .00000005 12 force"},Riding:{id:MinecartCommandBlock,Command:blockdata ~4 ~-1 ~-1 {Command:"kill @e[type=Item,score_bHcS_min=1]"},Riding:{id:MinecartCommandBlock,Command:blockdata ~4 ~-1 ~1 {Command:"execute @e[type=Silverfish,name=Singularity] ~ ~ ~ summon ArmorStand ~ ~ ~ {CustomName:\\\"mbH\\\",Invisible:1,Invulnerable:1,NoGravity:1}"},Riding:{id:MinecartCommandBlock,Command:blockdata ~5 ~-1 ~-1 {Command:"tp @e[type=Silverfish,name=Singularity] ~ ~-100 ~"},Riding:{id:MinecartCommandBlock,Command:blockdata ~5 ~-1 ~1 {Command:"execute @e[type=ArmorStand,name=mbH] ~ ~ ~ effect @e[type=!Item,r=0] minecraft:wither 1 1 true"},Riding:{id:MinecartCommandBlock,Command:blockdata ~6 ~-1 ~-1 {Command:"execute @e[type=ArmorStand,name=mbH] ~ ~ ~ entitydata @e[type=!Item,r=0] {NoAI:1}"},Riding:{id:MinecartCommandBlock,Command:blockdata ~6 ~-1 ~1 {Command:"scoreboard players add @e[type=ArmorStand,name=mbH] bHtmr 1"},Riding:{id:MinecartCommandBlock,Command:blockdata ~7 ~-1 ~-1 {Command:"execute @e[type=ArmorStand,name=mbH,score_bHtmr_min=5,score_bHtmr=5] ~ ~ ~ fill ~-2 ~-1 ~1 ~2 ~1 ~-1 minecraft:air 0 destroy"},Riding:{id:MinecartCommandBlock,Command:blockdata ~7 ~-1 ~1 {Command:"execute @e[type=ArmorStand,name=mbH,score_bHtmr_min=5,score_bHtmr=5] ~ ~ ~ fill ~-1 ~-1 ~-2 ~1 ~1 ~2 minecraft:air 0 destroy "},Riding:{id:MinecartCommandBlock,Command:blockdata ~8 ~-1 ~-1 {Command:"execute @e[type=ArmorStand,name=mbH,score_bHtmr_min=8,score_bHtmr=8] ~ ~ ~ fill ~1 ~-2 ~1 ~-1 ~2 ~-1 minecraft:air 0 destroy"},Riding:{id:MinecartCommandBlock,Command:blockdata ~8 ~-1 ~1 {Command:"execute @e[type=ArmorStand,name=mbH] ~ ~ ~ tp @e[type=!Player,r=6] @e[type=ArmorStand,name=mbH]"},Riding:{id:MinecartCommandBlock,Command:blockdata ~9 ~-1 ~-1 {Command:"execute @e[type=ArmorStand,name=mbH,score_bHtmr_min=50] ~ ~ ~ kill @e[type=!ArmorStand,r=0]"},Riding:{id:MinecartCommandBlock,Command:blockdata ~9 ~-1 ~1 {Command:"execute @e[type=ArmorStand,name=mbH] ~ ~ ~ particle townaura ~ ~.8 ~ .1 .1 .1 .5 60"},Riding:{id:MinecartCommandBlock,Command:blockdata ~10 ~-1 ~-1 {Command:"execute @e[type=ArmorStand,name=mbH] ~ ~ ~ particle depthsuspend ~ ~.8 ~ .85 .7 .85 .005 60"},Riding:{id:MinecartCommandBlock,Command:blockdata ~10 ~-1 ~1 {Command:"execute @e[type=ArmorStand,name=mbH] ~ ~ ~ particle townaura ~ ~.8 ~ 1 .01 1 .005 50 force"},Riding:{id:MinecartCommandBlock,Command:blockdata ~3 ~ ~-1 {Command:"execute @e[type=ArmorStand,name=mbH] ~ ~ ~ particle townaura ~ ~.8 ~ .35 .35 .35 .5 80"},Riding:{id:MinecartCommandBlock,Command:blockdata ~3 ~ ~1 {Command:"kill @e[type=ArmorStand,name=mbH,score_bHtmr_min=70]"},Riding:{id:MinecartCommandBlock,Command:blockdata ~4 ~ ~-1 {Command:"scoreboard players set @p hbHi 1 {SelectedItem:{id:minecraft:golden_sword,tag:{display:{Name:\\\"Gravitation_Sword\\\"}}}}"},Riding:{id:MinecartCommandBlock,Command:blockdata ~4 ~ ~1 {Command:"execute @p[score_hbHi_min=1] ~ ~ ~ particle townaura ~ ~ ~ .8 .5 .8 .000005 20 force"},Riding:{id:MinecartCommandBlock,Command:blockdata ~5 ~ ~-1 {Command:"execute @p[score_hbHi_min=1] ~ ~ ~ execute @p[score_ksbH_min=1] ~ ~ ~ summon ArmorStand ~ ~2 ~ {CustomName:\\\"mbH\\\",Invisible:1,Invulnerable:1,NoGravity:1}"},Riding:{id:MinecartCommandBlock,Command:blockdata ~5 ~ ~1 {Command:"execute @p[score_hbHi_min=1] ~ ~ ~ execute @p[score_ksG_min=1] ~ ~ ~ scoreboard players add @p bHtmr 1"},Riding:{id:MinecartCommandBlock,Command:blockdata ~6 ~ ~-1 {Command:"scoreboard players add @p[score_bHtmr_min=1] bHtmr 1"},Riding:{id:MinecartCommandBlock,Command:blockdata ~6 ~ ~1 {Command:"execute @p[score_bHtmr_min=2,score_bHtmr=2] ~ ~ ~ entitydata @e[type=!Player,r=6,c=5] {Motion:[0.0,1.5,0.0]}"},Riding:{id:MinecartCommandBlock,Command:blockdata ~7 ~ ~-1 {Command:"scoreboard players set @p[score_bHtmr_min=40] bHtmr 0"},Riding:{id:MinecartCommandBlock,Command:blockdata ~7 ~ ~1 {Command:"scoreboard players set @a hbHi 0"},Riding:{id:MinecartCommandBlock,Command:blockdata ~8 ~ ~-1 {Command:"scoreboard players set @a ksbH 0"},Riding:{id:MinecartCommandBlock,Command:blockdata ~8 ~ ~1 {Command:"scoreboard players set @a ksG 0"},Riding:{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~ redstone_block,Riding:{id:MinecartCommandBlock,Command:fill ~3 ~-2 ~-1 ~8 ~ ~-1 command_block,Riding:{id:MinecartCommandBlock,Command:fill ~3 ~-2 ~-1 ~10 ~-1 ~-1 command_block,Riding:{id:MinecartCommandBlock,Command:fill ~3 ~-2 ~1 ~8 ~ ~1 command_block,Riding:{id:MinecartCommandBlock,Command:fill ~3 ~-2 ~1 ~10 ~-1 ~1 command_block,Riding:{id:MinecartCommandBlock,Command:setblock ~1 ~ ~ wall_sign 4 replace {Text1:"{text:\\\"---------------\\\",color:white,underlined:true}",Text2:"{text:\\\"Click to\\\",color:black}",Text3:"{text:\\\"Destroy\\\",color:black,bold:true}",Text4:"{text:\\\"---------------\\\",color:white,clickEvent:{action:\\\"run_command\\\",value:\\\"fill ~ ~-3 ~-2 ~11 ~4 ~2 air\\\"},underlined:true}"},Riding:{id:MinecartCommandBlock,Command:setblock ~1 ~-1 ~ wall_sign 4 replace {Text1:"{text:\\\"Pocket\\\",color:black,bold:true}",Text2:"{text:\\\"Black Holes\\\",color:black,bold:true}",Text3:"{text:\\\"by\\\",color:black}",Text4:"{text:\\\"Mordial33\\\",color:dark_red,bold:true}"},Riding:{id:MinecartCommandBlock,Command:setblock ~1 ~-2 ~ wall_sign 4 replace {Text1:"{text:\\\"---------------\\\",color:white,clickEvent:{action:\\\"run_command\\\",value:\\\"/give @p minecraft:written_book 1 0 {display:{Name:\\\\\\\"Pocket Black Holes\\\\\\\"},title:\\\\\\\"Pocket Black Holes\\\\\\\",author:\\\\\\\"Mordial33\\\\\\\",generation:0,pages:[\\\\\\\"{text:\\\\\\\\\\\\\\\"1 Redstone Block + 1 Diamond = Pocket Black Hole\\\\\\\\\\\\\\\",color:black,bold:true,extra:[{text:\\\\\\\\\\\\\\\"\\\\\\\\n\\\\\\\\n3 Pocket Black Holes + Diamond Sword = Gravitation Sword\\\\\\\\\\\\\\\",color:black,bold:true},{text:\\\\\\\\\\\\\\\"\\\\\\\\n\\\\\\\\nBlack Holes will not harm the player unless the player stands directly in the middle of it.\\\\\\\\\\\\\\\",color:dark_gray,bold:false}]}\\\\\\\",\\\\\\\"{text:\\\\\\\\\\\\\\\"Have fun with this little machine! I worked hard on it lol! Check out my profile on\\\\\\\\\\\\\\\",color:black,bold:false,extra:[{text:\\\\\\\\\\\\\\\" MrGarretto's\\\\\\\\\\\\\\\",color:gold,bold:true},{text:\\\\\\\\\\\\\\\" one command website!\\\\\\\\\\\\\\\",color:black,bold:false},{text:\\\\\\\\\\\\\\\"\\\\\\\\n\\\\\\\\n\\\\\\\\n -Mordial33\\\\\\\\\\\\\\\",color:dark_red,bold:true}]}\\\\\\\"]}\\\"},underlined:true}",Text2:"{text:\\\"Click for\\\",color:black}",Text3:"{text:\\\"Recipes\\\",color:black,bold:true}",Text4:"{text:\\\"---------------\\\",color:white,underlined:true}"},Riding:{id:MinecartCommandBlock,Command:fill ~2 ~-2 ~-2 ~11 ~ ~2 stained_glass 15 replace quartz_block 0,Riding:{id:MinecartCommandBlock,Command:fill ~2 ~-3 ~-2 ~11 ~1 ~2 quartz_block 0 hollow,Riding:{id:MinecartCommandBlock,Command:gamerule commandBlockOutput false,Riding:{id:MinecartCommandBlock,Riding:{id:FallingSand,Block:activator_rail,Time:1,Riding:{id:FallingSand,Block:redstone_block,Time:1,Riding:{id:FallingSand,Block:stone,Time:1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}

How to Get a Black Hole in Minecraft

Source: http://onecmd.com/cmd/pocket-black-holes