Command Block Tutorial #144: Ghost Mode Commands in Minecraft (1.18+)
In this video I will show how to give yourself the ability to both be invisible and able to through any block in the game.
Commands:
* To get the Ghost Orb: /give @p minecraft:heart_of_the_sea{HideFlags:1,Enchantments:[{id:infinity,lvl:1,}],display:{Name:"{\"text\":\"Ghost Orb\"}"}}
* Sneak Scoreboard Command:
To Add: /scoreboard objectives add Ghost_Sneak minecraft.custom:minecraft.sneak_time
To Remove: /scoreboard objectives remove Ghost_Sneak
---------------------------------------------------------------------------------------------------------------------------
Remember to follow the steps in the video before activating the commands here:
---------------------------------------------------------------------------------------------------------------------------
1. Repeater Command Block: /execute if entity @p[nbt={Inventory:[{id:"minecraft:heart_of_the_sea",tag:{display:{Name:'{"text":"Ghost Orb"}'}}}]}] run execute as @r at @s if entity @s[scores={Ghost_Sneak=1..}]
2. Chain Command Block: /execute at @p run gamemode spectator @p
3. Repeater Command Block: /scoreboard players reset @a
---------------------------------------------------------------------------------------------------------------------------
Make sure you have the redstone set up exactly as in the video before the 4th command:
---------------------------------------------------------------------------------------------------------------------------
4. Impulse Command Block: /gamemode survival @p
Music:
1. Gaming Sound FX:
* Monkeys Spinning Monkeys (Kevin MacLeod) - Gaming Background Music (HD):
https://www.youtube.com/watch?v=pr42azVZi3o
Other Videos By RedstoneKnightX
Other Statistics
Minecraft Statistics For RedstoneKnightX
RedstoneKnightX presently has 1,527,317 views for Minecraft across 384 videos, with His channel uploaded over 2 days worth of Minecraft videos. This is 85.45% of the total watchable video on RedstoneKnightX's YouTube channel.