0% found this document useful (0 votes)
6 views

nuke.mcfunction

The document contains a series of Minecraft commands that manipulate falling blocks with specific tags. It includes commands to set blocks, play sounds, summon items, and create explosions based on the conditions of the blocks and player states. The commands are designed to create a gameplay mechanic involving 'nuke' and 'pgp' tags for interactive elements in the game.

Uploaded by

Creepy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

nuke.mcfunction

The document contains a series of Minecraft commands that manipulate falling blocks with specific tags. It includes commands to set blocks, play sounds, summon items, and create explosions based on the conditions of the blocks and player states. The commands are designed to create a gameplay mechanic involving 'nuke' and 'pgp' tags for interactive elements in the game.

Uploaded by

Creepy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

execute as @e[type=falling_block,tag=pgp] at @s run setblock ~ ~ ~

pink_stained_glass

execute as @e[type=falling_block,tag=pgp] at @s run playsound


minecraft:block.grass.place block @p ~ ~ ~

execute as @e[type=falling_block,tag=pgp] run tag @s remove pgp

execute as @e[type=falling_block,tag=nuke] at @s if block ~ ~ ~ air run playsound


minecraft:block.grass.break block @p ~ ~ ~

execute as @e[type=falling_block,tag=nuke] at @s if block ~ ~ ~ air if entity


@p[gamemode=survival] run summon minecraft:item ~ ~0.5 ~ {Item:
{id:vex_spawn_egg,Count:1b,tag:{CustomModelData:729,EntityTag:
{id:"minecraft:falling_block",Tags:["nuke","pgp"],NoGravity:1b,Time:-
999999999,BlockState:{Name:tnt}},display:
{Name:'[{"text":"NUKE","italic":"false","color":"gold"}]'}}}}

execute as @e[type=falling_block,tag=nuke] at @s if block ~ ~ ~ air run kill @s

execute at @e[tag=lit,type=falling_block,tag=nuke] run summon creeper ~ ~-1.5 ~


{Fuse:40,ExplosionRadius:500,ignited:1,ActiveEffects:
[{Id:14,Duration:999999,ShowParticles:0b}],NoAI:1,NoGravity:1}

execute at @e[tag=lit,type=falling_block,tag=nuke] run summon tnt ~ ~ ~


{Fuse:40,NoGravity:1b}

execute at @e[tag=lit,type=falling_block,tag=nuke] run fill ~1 ~1 ~1 ~-1 ~-1 ~-1


air replace fire

execute at @e[tag=lit,type=falling_block,tag=nuke] run tag @s remove lit

You might also like