Skip to content

Commit

Permalink
v1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
WhiteElephant-abc committed Dec 20, 2024
1 parent 1ecff69 commit 1990040
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 16 deletions.
13 changes: 6 additions & 7 deletions data/setblock_tnt/function/start.mcfunction
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
tellraw @a "数据包加载成功"
tellraw @a {"text":"by white_elephant_","color":"blue","underlined":true,"italic":true,"clickEvent":{"action":"open_url","value":"https://space.bilibili.com/1836643444"}}
tellraw @a "死亡不掉落已启用"
tellraw @a "无限夜视已启用"
tellraw @a "玩家发光已启用"
tellraw @a [{"text": "本数据包使用 ","bold": true},{"text":"GNU GPL","color":"blue","underlined":true,"italic":true,"clickEvent":{"action":"open_url","value":"https://www.gnu.org/licenses/gpl-3.0.txt"}},{"text": " 协议开源","bold": true}]
tellraw @a ""
tellraw @a "--------------------"
tellraw @a "| 数据包加载成功"
tellraw @a [{"text": "| "},{"text":"by white_elephant_","color":"blue","underlined":true,"italic":true,"clickEvent":{"action":"open_url","value":"https://space.bilibili.com/1836643444"}}]
tellraw @a "| "
tellraw @a [{"text": "| "},{"text": "本数据包使用 ","bold": true},{"text":"GNU GPL","color":"blue","underlined":true,"italic":true,"clickEvent":{"action":"open_url","value":"https://www.gnu.org/licenses/gpl-3.0.txt"}},{"text": " 协议开源","bold": true}]
tellraw @a "--------------------"
function dfl:start/show/health_list
function dfl:start/show/death
scoreboard objectives add dfl_enable dummy
Expand Down
2 changes: 1 addition & 1 deletion data/setblock_tnt/function/things.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ execute at @a[gamemode=!spectator,gamemode=!creative,scores={health=1..4}] run s
execute at @a[gamemode=!spectator,gamemode=!creative,scores={health=1..4}] run setblock ~ ~-2 ~ tnt

execute as @a run function dfl:tick/things_to_xp {name:"tnt",xp:"1"}
function dfl:tick/kill_tnt {num:"30"}
function dfl:tick/kill_tnt {num:"50"}
execute at @a run function dfl:tick/change_block {new:"air",old:"fire",num:"30"}
function dfl:lib/entity
function dfl:tick/show_entity
Expand Down
13 changes: 6 additions & 7 deletions data/setblock_tnt/functions/start.mcfunction
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
tellraw @a "数据包加载成功"
tellraw @a {"text":"by white_elephant_","color":"blue","underlined":true,"italic":true,"clickEvent":{"action":"open_url","value":"https://space.bilibili.com/1836643444"}}
tellraw @a "死亡不掉落已启用"
tellraw @a "无限夜视已启用"
tellraw @a "玩家发光已启用"
tellraw @a [{"text": "本数据包使用 ","bold": true},{"text":"GNU GPL","color":"blue","underlined":true,"italic":true,"clickEvent":{"action":"open_url","value":"https://www.gnu.org/licenses/gpl-3.0.txt"}},{"text": " 协议开源","bold": true}]
tellraw @a ""
tellraw @a "--------------------"
tellraw @a "| 数据包加载成功"
tellraw @a [{"text": "| "},{"text":"by white_elephant_","color":"blue","underlined":true,"italic":true,"clickEvent":{"action":"open_url","value":"https://space.bilibili.com/1836643444"}}]
tellraw @a "| "
tellraw @a [{"text": "| "},{"text": "本数据包使用 ","bold": true},{"text":"GNU GPL","color":"blue","underlined":true,"italic":true,"clickEvent":{"action":"open_url","value":"https://www.gnu.org/licenses/gpl-3.0.txt"}},{"text": " 协议开源","bold": true}]
tellraw @a "--------------------"
function dfl:start/show/health_list
function dfl:start/show/death
scoreboard objectives add dfl_enable dummy
Expand Down
2 changes: 1 addition & 1 deletion data/setblock_tnt/functions/things.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ execute at @a[gamemode=!spectator,gamemode=!creative,scores={health=1..4}] run s
execute at @a[gamemode=!spectator,gamemode=!creative,scores={health=1..4}] run setblock ~ ~-2 ~ tnt

execute as @a run function dfl:tick/things_to_xp {name:"tnt",xp:"1"}
function dfl:tick/kill_tnt {num:"30"}
function dfl:tick/kill_tnt {num:"50"}
execute at @a run function dfl:tick/change_block {new:"air",old:"fire",num:"30"}
function dfl:lib/entity
function dfl:tick/show_entity
Expand Down

0 comments on commit 1990040

Please sign in to comment.