Skip to content

Commit 404f0aa

Browse files
committed
Change gui
1 parent a9adde1 commit 404f0aa

28 files changed

+59
-43
lines changed

data/Functions.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Init
5050

5151

5252
Settings
53-
{"command":"tellraw @a[tag=VTP] %s","jobject":[{"text":"Settings:\\n"},{"text":"Fast paintbrush: "},{"text":"[On] ","color":"green","clickEvent":{"action":"run_command","value":"/function raytracer:settings/fastpaintbrush_Off"}},{"text":"[Off]","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:settings/fastpaintbrush_Off"}}],"jtemplate":"tellraw"}
53+
{"command":"tellraw @s %s","jobject":[{"text":"Settings:\\n"},{"text":"Fast paintbrush: "},{"text":"[On] ","color":"green","clickEvent":{"action":"run_command","value":"/function raytracer:settings/fastpaintbrush_Off"}},{"text":"[Off]","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:settings/fastpaintbrush_Off"}}],"jtemplate":"tellraw"}
5454

5555
Option
56-
{"command":"tellraw @a[tag=VTP] %s","jobject":[{"text":"==================================\\n","color":"dark_gray"},{"text":"Mask & Material "},{"text":"[Teleport]\\n","color":"red","clickEvent":{"action":"run_command","value":"/tag @s add TpOption"}},{"text":"Paintbrush mode "},{"text":"[Normal] ","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:paintmode/normal"}},{"text":"[Ground] ","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:paintmode/ground"}},{"text":"[Above Ground]","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:paintmode/up"}},{"text":"\\n----------------------------------\\n"},{"text":"Brush radius\\n"},{"text":"Current radius:","clickEvent":{"action":"run_command","value":"/function vtp:option"}},{"score":{"name":"@s","objective":"brushRad"},"color":"red"},{"text":"\\nRadius: "},{"text":"[1] ","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:brushsizeoption/1"}},{"text":"[2] ","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:brushsizeoption/2"}},{"text":"[3] ","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:brushsizeoption/3"}},{"text":"[5] ","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:brushsizeoption/5"}},{"text":"[7] ","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:brushsizeoption/7"}},{"text":"\\n----------------------------------\\n"},{"text":"Items \\n"},{"text":"[All] ","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:getitem"}},{"text":"[Clean] ","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:getitem/clean"}},{"text":"[Push] ","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:getitem/push"}},{"text":"[Pull]\\n ","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:getitem/pull"}},{"text":"[Smooth] ","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:getitem/smooth"}},{"text":"[Melt] ","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:getitem/melt"}},{"text":"[Lift] ","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:getitem/lift"}},{"text":"[Paintbrush] ","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:getitem/paintbrush"}},{"text":"[Tree] ","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:getitem/tree"}},{"text":"\\n----------------------------------\\n"},{"text":"Tree\\n"},{"text":"Oak:","color":"white","clickEvent":{"action":"run_command","value":"/function raytracer:treemode/oak"}},{"text":" [Custom] ","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:treemode/oak_custom"}},{"text":"[Small] ","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:treemode/oak_small"}},{"text":"[Big] ","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:treemode/oak_big"}},{"text":"[All]\\n","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:treemode/oak"},"hoverEvent":{"action":"show_text","value":{"text":"","extra":[{"text":"Big and small"}]}}},{"text":"Birch: "},{"text":"[Custom] ","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:treemode/birch_custom"}},{"text":"[Vanilla]\\n","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:treemode/birch"}},{"text":"Spruce: "},{"text":"[Custom] ","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:treemode/spruce_custom"}},{"text":"[Vanilla]\\n","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:treemode/spruce"}},{"text":"Acacia: "},{"text":"[Vanilla]\\n","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:treemode/acacia"}},{"text":"Dark oak: "},{"text":"[Vanilla]\\n","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:treemode/dark_oak"}},{"text":"Jungle: "},{"text":"[Small] ","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:treemode/jungle_small"}},{"text":"[Big] ","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:treemode/jungle_big"}},{"text":"[All]","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:treemode/jungle"},"hoverEvent":{"action":"show_text","value":{"text":"","extra":[{"text":"Big and small"}]}}},{"text":"\\n----------------------------------\\n"},{"text":"[Settings]","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:settings/settings"}},{"text":"\\n==================================\\n","color":"dark_gray"}],"jtemplate":"tellraw"}
56+
{"command":"tellraw @a[tag=VTP] %s","jobject":[{"text":"==================================","color":"dark_gray"},{"text":"\\n----------Mask & Material-----------\\n"},{"text":"[Teleport]\\n","color":"red","clickEvent":{"action":"run_command","value":"/tag @s add TpOption"}},{"text":"Paintbrush mode: "},{"text":"[Normal] ","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:paintmode/normal"}},{"text":"[Ground] ","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:paintmode/ground"}},{"text":"[Above Ground]","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:paintmode/up"}},{"text":"\\n----------Brush radius-------------\\n"},{"text":"Current radius:","clickEvent":{"action":"run_command","value":"/function vtp:option"}},{"score":{"name":"@s","objective":"brushRad"},"color":"red"},{"text":"\\nRadius: "},{"text":"[1] ","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:brushsizeoption/1"}},{"text":"[2] ","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:brushsizeoption/2"}},{"text":"[3] ","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:brushsizeoption/3"}},{"text":"[5] ","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:brushsizeoption/5"}},{"text":"[7] ","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:brushsizeoption/7"}},{"text":"\\n-------------Items-----------------\\n"},{"text":"[All] ","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:getitem"}},{"text":"[Clean] ","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:getitem/clean"}},{"text":"[Push] ","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:getitem/push"}},{"text":"[Pull]\\n ","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:getitem/pull"}},{"text":"[Smooth] ","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:getitem/smooth"}},{"text":"[Melt] ","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:getitem/melt"}},{"text":"[Lift] ","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:getitem/lift"}},{"text":"[Paintbrush] ","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:getitem/paintbrush"}},{"text":"[Tree] ","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:getitem/tree"}},{"text":"\\n-------------Tree-----------------\\n"},{"text":"Oak:","color":"white","clickEvent":{"action":"run_command","value":"/function raytracer:treemode/oak"}},{"text":" [Custom] ","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:treemode/oak_custom"}},{"text":"[Small] ","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:treemode/oak_small"}},{"text":"[Big] ","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:treemode/oak_big"}},{"text":"[All]\\n","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:treemode/oak"},"hoverEvent":{"action":"show_text","value":{"text":"","extra":[{"text":"Big and small"}]}}},{"text":"Birch: "},{"text":"[Custom] ","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:treemode/birch_custom"}},{"text":"[Vanilla]\\n","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:treemode/birch"}},{"text":"Spruce: "},{"text":"[Custom] ","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:treemode/spruce_custom"}},{"text":"[Vanilla]\\n","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:treemode/spruce"}},{"text":"Acacia: "},{"text":"[Vanilla]\\n","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:treemode/acacia"}},{"text":"Dark oak: "},{"text":"[Vanilla]\\n","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:treemode/dark_oak"}},{"text":"Jungle: "},{"text":"[Small] ","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:treemode/jungle_small"}},{"text":"[Big] ","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:treemode/jungle_big"}},{"text":"[All]","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:treemode/jungle"},"hoverEvent":{"action":"show_text","value":{"text":"","extra":[{"text":"Big and small"}]}}},{"text":"\\n----------------------------------\\n"},{"text":"[Settings]","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:settings/settings"}},{"text":"\\n==================================\\n","color":"dark_gray"}],"jtemplate":"tellraw"}

data/raytracer/functions/brushsize/smooth_r7.mcfunction

-12
Original file line numberDiff line numberDiff line change
@@ -2115,16 +2115,4 @@ execute if entity @s[tag=lift] as @e[type=armor_stand,name=smooth] at @s if enti
21152115

21162116

21172117

2118-
2119-
2120-
2121-
2122-
2123-
2124-
21252118
kill @e[type=armor_stand,name=smooth]
2126-
2127-
2128-
2129-
2130-
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
scoreboard players set @s brushRad 1
2-
tellraw @s {"text":"Radius: 1","color":"yellow"}
2+
#tellraw @s {"text":"Radius: 1","color":"yellow"}
3+
title @s actionbar ["",{"text":"Radius: 1","color":"dark_aqua"}]
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
scoreboard players set @s brushRad 2
2-
tellraw @s {"text":"Radius: 2","color":"yellow"}
2+
#tellraw @s {"text":"Radius: 2","color":"yellow"}
3+
title @s actionbar ["",{"text":"Radius: 2","color":"dark_aqua"}]
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
scoreboard players set @s brushRad 3
2-
tellraw @s {"text":"Radius: 3","color":"yellow"}
2+
#tellraw @s {"text":"Radius: 3","color":"yellow"}
3+
title @s actionbar ["",{"text":"Radius: 3","color":"dark_aqua"}]
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
scoreboard players set @s brushRad 5
2-
tellraw @s {"text":"Radius: 5","color":"yellow"}
3-
playsound minecraft:block.note.bass master @s ~ ~ ~ 1 1
4-
tellraw @s {"text":"warning, large brush size can make huge lags","color":"dark_red"}
2+
#tellraw @s {"text":"Radius: 5","color":"yellow"}
3+
#title @s actionbar ["",{"text":"Radius: 5","color":"dark_aqua"}]
4+
title @s actionbar ["",{"text":"Radius: 5 ","color":"dark_aqua"},{"text":"--- ","color":"none"},{"text":"Warning possibility of lag","color":"red"}]
5+
#playsound minecraft:block.note.bass master @s ~ ~ ~ 1 1
6+
#tellraw @s {"text":"warning, large brush size can make huge lags","color":"dark_red"}
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
scoreboard players set @s brushRad 7
2-
tellraw @s {"text":"Radius: 7","color":"yellow"}
3-
playsound minecraft:block.note.bass master @s ~ ~ ~ 1 1
4-
tellraw @s {"text":"warning, large brush size can make huge lags","color":"dark_red"}
2+
#tellraw @s {"text":"Radius: 7","color":"yellow"}
3+
title @s actionbar ["",{"text":"Radius: 7 ","color":"dark_aqua"},{"text":"--- ","color":"none"},{"text":"Warning possibility of lag","color":"red"}]
4+
#playsound minecraft:block.note.bass master @s ~ ~ ~ 1 1
5+
#tellraw @s {"text":"warning, large brush size can make huge lags","color":"dark_red"}
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
tag @s remove up
22
tag @s add ground
3-
tellraw @s {"text":"ground mode selected","color":"yellow"}
3+
#tellraw @s {"text":"ground mode selected","color":"yellow"}
4+
title @s actionbar ["",{"text":"Ground mode selected","color":"dark_aqua"}]
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
tag @s remove up
22
tag @s remove ground
3-
tellraw @s {"text":"normal mode selected","color":"yellow"}
3+
#tellraw @s {"text":"normal mode selected","color":"yellow"}
4+
title @s actionbar ["",{"text":"Normal mode selected","color":"dark_aqua"}]
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
tag @s remove ground
22
tag @s add up
3-
tellraw @s {"text":"above ground mode selected","color":"yellow"}
3+
#tellraw @s {"text":"above ground mode selected","color":"yellow"}
4+
title @s actionbar ["",{"text":"Above ground mode selected","color":"dark_aqua"}]
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
tag @s remove paintbrush_fast
2-
tellraw @s {"text":"Fast paitnbrush mode off","color":"yellow"}
2+
#tellraw @s {"text":"Fast paintbrush mode off","color":"yellow"}
3+
title @s actionbar ["",{"text":"Fast paintbrush mode off","color":"dark_aqua"}]
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
tag @s add paintbrush_fast
2-
tellraw @s {"text":"Fast paintbrush mode on","color":"yellow"}
2+
#tellraw @s {"text":"Fast paintbrush mode on","color":"yellow"}
3+
title @s actionbar ["",{"text":"Fast paintbrush mode on","color":"dark_aqua"}]
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
tellraw @a[tag=VTP] ["",{"text":"Settings:\n"},{"text":"Fast paintbrush: "},{"text":"[On] ","color":"green","clickEvent":{"action":"run_command","value":"/function raytracer:settings/fastpaintbrush_on"}},{"text":"[Off]","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:settings/fastpaintbrush_off"}}]
1+
tellraw @s ["",{"text":"Settings:\n"},{"text":"Fast paintbrush: "},{"text":"[On] ","color":"green","clickEvent":{"action":"run_command","value":"/function raytracer:settings/fastpaintbrush_on"}},{"text":"[Off]","color":"red","clickEvent":{"action":"run_command","value":"/function raytracer:settings/fastpaintbrush_off"}}]

data/raytracer/functions/treemode/acacia.mcfunction

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ tag @s remove jungle_big
1212
tag @s remove jungle_small
1313

1414
tag @s add acacia
15-
tellraw @s {"text":"Acacia selected","color":"yellow"}
15+
#tellraw @s {"text":"Acacia selected","color":"yellow"}
16+
title @s actionbar ["",{"text":"Acacia selected","color":"dark_aqua"}]

data/raytracer/functions/treemode/birch.mcfunction

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ tag @s remove jungle_big
1212
tag @s remove jungle_small
1313

1414
tag @s add birch
15-
tellraw @s {"text":"Birch selected","color":"yellow"}
15+
#tellraw @s {"text":"Birch selected","color":"yellow"}
16+
title @s actionbar ["",{"text":"Birch selected","color":"dark_aqua"}]

data/raytracer/functions/treemode/birch_custom.mcfunction

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ tag @s remove jungle_big
1212
tag @s remove jungle_small
1313

1414
tag @s add birch_custom
15-
tellraw @s {"text":"Birch custom selected","color":"yellow"}
15+
#tellraw @s {"text":"Birch custom selected","color":"yellow"}
16+
title @s actionbar ["",{"text":"Birch custom selected","color":"dark_aqua"}]

data/raytracer/functions/treemode/dark_oak.mcfunction

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ tag @s remove jungle_big
1313
tag @s remove jungle_small
1414

1515
tag @s add dark_oak
16-
tellraw @s {"text":"Dark oak selected","color":"yellow"}
16+
#tellraw @s {"text":"Dark oak selected","color":"yellow"}
17+
title @s actionbar ["",{"text":"Dark oak selected","color":"dark_aqua"}]

data/raytracer/functions/treemode/jungle.mcfunction

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ tag @s remove jungle_big
1111
tag @s remove jungle_small
1212

1313
tag @s add jungle
14-
tellraw @s {"text":"Jungle selected","color":"yellow"}
14+
#tellraw @s {"text":"Jungle selected","color":"yellow"}
15+
title @s actionbar ["",{"text":"Jungle selected","color":"dark_aqua"}]

data/raytracer/functions/treemode/jungle_big.mcfunction

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ tag @s remove jungle
1212
tag @s remove jungle_small
1313

1414
tag @s add jungle_big
15-
tellraw @s {"text":"Jungle big selected","color":"yellow"}
15+
#tellraw @s {"text":"Jungle big selected","color":"yellow"}
16+
title @s actionbar ["",{"text":"Jungle big selected","color":"dark_aqua"}]

data/raytracer/functions/treemode/jungle_small.mcfunction

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ tag @s remove jungle
1212
tag @s remove jungle_big
1313

1414
tag @s add jungle_small
15-
tellraw @s {"text":"Jungle small selected","color":"yellow"}
15+
#tellraw @s {"text":"Jungle small selected","color":"yellow"}
16+
title @s actionbar ["",{"text":"Jungle small selected","color":"dark_aqua"}]

data/raytracer/functions/treemode/oak.mcfunction

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ tag @s remove jungle_small
1313

1414
tag @s add oak
1515

16-
tellraw @s {"text":"Oak selected","color":"yellow"}
16+
#tellraw @s {"text":"Oak selected","color":"yellow"}
17+
title @s actionbar ["",{"text":"Oak selected","color":"dark_aqua"}]

data/raytracer/functions/treemode/oak_big.mcfunction

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ tag @s remove jungle_big
1212
tag @s remove jungle_small
1313

1414
tag @s add oak_big
15-
tellraw @s {"text":"Oak big selected","color":"yellow"}
15+
#tellraw @s {"text":"Oak big selected","color":"yellow"}
16+
title @s actionbar ["",{"text":"Oak big selected","color":"dark_aqua"}]

data/raytracer/functions/treemode/oak_custom.mcfunction

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ tag @s remove jungle_big
1212
tag @s remove jungle_small
1313

1414
tag @s add oak_custom
15-
tellraw @s {"text":"Oak custom selected","color":"yellow"}
15+
#tellraw @s {"text":"Oak custom selected","color":"yellow"}
16+
title @s actionbar ["",{"text":"Oak custom selected","color":"dark_aqua"}]

data/raytracer/functions/treemode/oak_small.mcfunction

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ tag @s remove jungle_big
1212
tag @s remove jungle_small
1313

1414
tag @s add oak_small
15-
tellraw @s {"text":"Oak small selected","color":"yellow"}
15+
#tellraw @s {"text":"Oak small selected","color":"yellow"}
16+
title @s actionbar ["",{"text":"Oak small selected","color":"dark_aqua"}]

data/raytracer/functions/treemode/spruce.mcfunction

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ tag @s remove jungle_big
1212
tag @s remove jungle_small
1313

1414
tag @s add spruce
15-
tellraw @s {"text":"Spruce selected","color":"yellow"}
15+
#tellraw @s {"text":"Spruce selected","color":"yellow"}
16+
title @s actionbar ["",{"text":"Spruce selected","color":"dark_aqua"}]

data/raytracer/functions/treemode/spruce_custom.mcfunction

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ tag @s remove jungle_big
1212
tag @s remove jungle_small
1313

1414
tag @s add spruce_custom
15-
tellraw @s {"text":"Spruce custom selected","color":"yellow"}
15+
#tellraw @s {"text":"Spruce custom selected","color":"yellow"}
16+
title @s actionbar ["",{"text":"Spruce custom selected","color":"dark_aqua"}]

0 commit comments

Comments
 (0)