Skip to content

Commit db7a608

Browse files
committed
v0.2 examples
1 parent b8db60c commit db7a608

30 files changed

+126
-95
lines changed

examples/functions/advanced_modal.mcfunction

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#######
2-
# Compiled from /examples/functions/advanced Modal.mcscript
3-
# to .//examples/functions/advanced_modal.mcfunction
2+
# Compiled from .//functions/advanced Modal.mcscript
3+
# to .//functions/advanced_modal.mcfunction
44
#
55
# Generated by Minecraft Script for 1.13
66
######

examples/functions/basic_loop.mcfunction

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#######
2-
# Compiled from /examples/functions/basic Loop.mcscript
3-
# to .//examples/functions/basic_loop.mcfunction
2+
# Compiled from .//functions/basic Loop.mcscript
3+
# to .//functions/basic_loop.mcfunction
44
#
55
# Generated by Minecraft Script for 1.13
66
######

examples/functions/basic_modal.mcfunction

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#######
2-
# Compiled from /examples/functions/basic Modal.mcscript
3-
# to .//examples/functions/basic_modal.mcfunction
2+
# Compiled from .//functions/basic Modal.mcscript
3+
# to .//functions/basic_modal.mcfunction
44
#
55
# Generated by Minecraft Script for 1.13
66
######

examples/functions/boolean.mcfunction

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#######
2-
# Compiled from /examples/functions/boolean.mcscript
3-
# to .//examples/functions/boolean.mcfunction
2+
# Compiled from .//functions/boolean.mcscript
3+
# to .//functions/boolean.mcfunction
44
#
55
# Generated by Minecraft Script for 1.13
66
######
@@ -11,3 +11,10 @@ execute if entity @e[tag=mcscriptTags,tag=isCool] run say he is cool
1111
tag @s add isBad
1212
tag @s remove isBad
1313
execute if entity @s[tag=isBad] run say he is bad
14+
15+
# Extended from .//functions/boolean.mcscript
16+
# to .//functions/boolean.mcfunction
17+
functions/mcscript/load
18+
# please do not touch this file!
19+
# it is used by the compiler!
20+
execute unless entity @e[tag=mcscriptTags] at @p run summon armor_stand ~ ~ ~ {Tags:[mcscriptTags],Invisible:1,Invulnerable:1,NoGravity:1}
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
#######
2-
# Compiled from /examples/functions/comments.mcscript
3-
# to .//examples/functions/comments.mcfunction
2+
# Compiled from .//functions/comments.mcscript
3+
# to .//functions/comments.mcfunction
44
#
55
# Generated by Minecraft Script for 1.13
66
######
77
#file ./comments
88
# this file is contentless, it is just a demonstration for comments
9-
# single line transfare comment. This comment will be transfared to the compiled result function
9+
# single line transfare comment. This comment will be transfared to the compiled result function
10+
say hey
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#######
2-
# Compiled from /examples/functions/consts.mcscript
3-
# to .//examples/functions/consts.mcfunction
2+
# Compiled from .//functions/consts.mcscript
3+
# to .//functions/consts.mcfunction
44
#
55
# Generated by Minecraft Script for 1.13
66
######
77

8-
say some value here
8+
say some string here
99
say some value here
1010

1111
execute if score @s matches 5 run tellraw @a [{"text":"console => ","color":"aqua"},{"text":"is five","color":"white"}]
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#######
2-
# Compiled from /examples/functions/do-while-Loops.mcscript
3-
# to .//examples/functions/dowhile.mcfunction
2+
# Compiled from .//functions/do-while-Loops.mcscript
3+
# to .//functions/dowhile.mcfunction
44
#
55
# Generated by Minecraft Script for 1.13
66
######
7-
function examples:mcscript/dowhile1
7+
function :mcscript/dowhile1

examples/functions/fileloop/1.mcfunction

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#######
2-
# Compiled from /examples/functions/file Loop.mcscript
3-
# to .//examples/functions/fileloop/1.mcfunction
2+
# Compiled from .//functions/file Loop.mcscript
3+
# to .//functions/fileloop/1.mcfunction
44
#
55
# Generated by Minecraft Script for 1.13
66
######

examples/functions/fileloop/2.mcfunction

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#######
2-
# Compiled from /examples/functions/file Loop.mcscript
3-
# to .//examples/functions/fileloop/2.mcfunction
2+
# Compiled from .//functions/file Loop.mcscript
3+
# to .//functions/fileloop/2.mcfunction
44
#
55
# Generated by Minecraft Script for 1.13
66
######

examples/functions/fileloop/3.mcfunction

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#######
2-
# Compiled from /examples/functions/file Loop.mcscript
3-
# to .//examples/functions/fileloop/3.mcfunction
2+
# Compiled from .//functions/file Loop.mcscript
3+
# to .//functions/fileloop/3.mcfunction
44
#
55
# Generated by Minecraft Script for 1.13
66
######

0 commit comments

Comments
 (0)