Skip to content

Commit dadf2bc

Browse files
Updated Source for v0.0.17
1 parent 186013e commit dadf2bc

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
schedule clear hammer:in_game/gametimer
2-
execute if entity @e[type=item_frame,limit=1,sort=nearest,x=-16,y=56,z=7,distance=..1,nbt={Item:{id:"minecraft:iron_sword",Count:1b}}] run function hammer:jingles/ffvii/play
3-
execute if entity @e[type=item_frame,limit=1,sort=nearest,x=-16,y=56,z=7,distance=..1,nbt={Item:{id:"minecraft:splash_potion",Count:1b}}] run function hammer:jingles/superidol/play
4-
execute if entity @e[type=item_frame,limit=1,sort=nearest,x=-16,y=56,z=7,distance=..1,nbt={Item:{id:"minecraft:pumpkin",Count:1b}}] run function hammer:jingles/tf/play
5-
execute if entity @e[type=item_frame,limit=1,sort=nearest,x=-16,y=56,z=7,distance=..1,nbt={Item:{id:"minecraft:dandelion",Count:1b}}] run function hammer:jingles/hopesanddreams/play
6-
execute if entity @e[type=item_frame,limit=1,sort=nearest,x=-16,y=56,z=7,distance=..1,nbt={Item:{id:"minecraft:player_head",Count:1b}}] run function hammer:jingles/smash/play
2+
execute if entity @e[type=item_frame,limit=1,sort=nearest,x=-16,y=56,z=7,distance=..2,nbt={Item:{id:"minecraft:iron_sword",Count:1b}}] run function hammer:jingles/ffvii/play
3+
execute if entity @e[type=item_frame,limit=1,sort=nearest,x=-16,y=56,z=7,distance=..2,nbt={Item:{id:"minecraft:splash_potion",Count:1b}}] run function hammer:jingles/superidol/play
4+
execute if entity @e[type=item_frame,limit=1,sort=nearest,x=-16,y=56,z=7,distance=..2,nbt={Item:{id:"minecraft:pumpkin",Count:1b}}] run function hammer:jingles/tf/play
5+
execute if entity @e[type=item_frame,limit=1,sort=nearest,x=-16,y=56,z=7,distance=..2,nbt={Item:{id:"minecraft:dandelion",Count:1b}}] run function hammer:jingles/hopesanddreams/play
6+
execute if entity @e[type=item_frame,limit=1,sort=nearest,x=-16,y=56,z=7,distance=..2,nbt={Item:{id:"minecraft:player_head",Count:1b}}] run function hammer:jingles/smash/play
77
title @a title {"text":"Defenders victory!","bold":true,"color":"blue"}
88
gamemode spectator @a
99
tellraw @p ["",{"text":"[NAIL] ","color":"green"},{"text":"Reset","bold":true,"italic":true,"underlined":true,"color":"red","clickEvent":{"action":"run_command","value":"/function hammer:post_game/reset"},"hoverEvent":{"action":"show_text","contents":[{"text":"Click to Reset the Map!","italic":true,"underlined":true,"color":"gold"}]}}]

Nail Redux/datapacks/Omnitool/data/hammer/functions/in_game/invvictorymessage.mcfunction

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
fill 233 76 0 233 76 -1 bedrock
2-
execute if entity @e[type=item_frame,limit=1,sort=nearest,x=-16,y=56,z=-8,distance=..1,nbt={Item:{id:"minecraft:iron_sword",Count:1b}}] run function hammer:jingles/ffvii/play
3-
execute if entity @e[type=item_frame,limit=1,sort=nearest,x=-16,y=56,z=-8,distance=..1,nbt={Item:{id:"minecraft:splash_potion",Count:1b}}] run function hammer:jingles/superidol/play
4-
execute if entity @e[type=item_frame,limit=1,sort=nearest,x=-16,y=56,z=-8,distance=..1,nbt={Item:{id:"minecraft:pumpkin",Count:1b}}] run function hammer:jingles/tf/play
5-
execute if entity @e[type=item_frame,limit=1,sort=nearest,x=-16,y=56,z=-8,distance=..1,nbt={Item:{id:"minecraft:dandelion",Count:1b}}] run function hammer:jingles/hopesanddreams/play
6-
execute if entity @e[type=item_frame,limit=1,sort=nearest,x=-16,y=56,z=-8,distance=..1,nbt={Item:{id:"minecraft:player_head",Count:1b}}] run function hammer:jingles/smash/play
2+
execute if entity @e[type=item_frame,limit=1,sort=nearest,x=-16,y=56,z=-8,distance=..2,nbt={Item:{id:"minecraft:iron_sword",Count:1b}}] run function hammer:jingles/ffvii/play
3+
execute if entity @e[type=item_frame,limit=1,sort=nearest,x=-16,y=56,z=-8,distance=..2,nbt={Item:{id:"minecraft:splash_potion",Count:1b}}] run function hammer:jingles/superidol/play
4+
execute if entity @e[type=item_frame,limit=1,sort=nearest,x=-16,y=56,z=-8,distance=..2,nbt={Item:{id:"minecraft:pumpkin",Count:1b}}] run function hammer:jingles/tf/play
5+
execute if entity @e[type=item_frame,limit=1,sort=nearest,x=-16,y=56,z=-8,distance=..2,nbt={Item:{id:"minecraft:dandelion",Count:1b}}] run function hammer:jingles/hopesanddreams/play
6+
execute if entity @e[type=item_frame,limit=1,sort=nearest,x=-16,y=56,z=-8,distance=..2,nbt={Item:{id:"minecraft:player_head",Count:1b}}] run function hammer:jingles/smash/play
77
title @a title {"text":"Invader victory!","bold":true,"color":"red"}
88
schedule clear hammer:in_game/gametimer
99
schedule clear hammer:in_game/spongecheck

Nail Redux/datapacks/Omnitool/data/hammer/functions/in_game/start.mcfunction

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
summon armor_stand 0 61 0 {Invulnerable:true, NoGravity:true, Invisible:true}
2-
summon armor_stand 233 80 0 {Invulnerable:true, NoGravity:true, Invisible:true}
2+
summon armor_stand 235 79 0 {Invulnerable:true, NoGravity:true, Invisible:true}
33
summon item_frame -16 56 -8 {Item:{id:"minecraft:iron_sword",Count:1b}}
44
summon item_frame -16 56 7 {Item:{id:"minecraft:iron_sword",Count:1b}}
5+
kill @e[type=item]
56
tellraw @a ["",{"text":"[NAIL]","color":"green"},{"text":" Game starts now!"}]
67
gamemode survival @a[team=!spec]
78
scoreboard objectives setdisplay sidebar Game

0 commit comments

Comments
 (0)