Skip to content

Commit 2742e97

Browse files
committed
docs: pics and more ;)
1 parent b504278 commit 2742e97

File tree

3 files changed

+53
-2
lines changed

3 files changed

+53
-2
lines changed

Diff for: README.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@
33
> **Warning**
44
> This repo is heavily under construction and is targeting the 1.20.2 (23w31a snapshot)
55
6-
## Download
6+
![demo](imgs/demo.png)
77

8-
See releases tab!
98
## Goals
109

1110
The aim of this repo is to provide a general, feature complete language spec for Minecraft commands. It is **not** geared towards error checking or the specific commands.
@@ -17,6 +16,12 @@ The aim of this repo is to provide a general, feature complete language spec for
1716
- [ ] Fix issues on resource names versus keywords
1817
- [ ] Likely will need to combine them to some extent
1918

19+
## Download
20+
21+
Checkout the latest releases [here](https://github.com/rx-modules/language-mcfunction/releases).
22+
23+
Proper releases to VSCode, Sublime Text, and other text editors *coming soon*!
24+
2025
## Acknowledgements
2126

2227
This repo is entirely dedicated to our beloved community member and friend, [Arcensoth](https://github.com/Arcensoth). His work on the original [language-mcfunction](https://github.com/Arcensoth/language-mcfunction) and overall contributions to the Minecraft Commands community was invaluable and he will be missed.

Diff for: imgs/demo.png

398 KB
Loading

Diff for: tests/demo.mcfunction

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
#> Example of base game commands
2+
# Normal comment
3+
# @annotation $scoreboard.variable #resource:location
4+
5+
setblock ~ ~ ~ minecraft:dispenser[facing=up]{Items: [{id: "minecraft:diamond", Count: 1}]}
6+
$data modify storage $(id) $(path) set value "with random $(string1) stuff $(string2)"
7+
tellraw @a [{"text": "hello", "color": "blue"}, {"text": "world", "color": "blue"}]
8+
random roll 2..45
9+
10+
# multiline
11+
execute \
12+
as @a \
13+
at @s \
14+
if entity @s[distance=..0.6] \
15+
say bar
16+
17+
# bolt
18+
infinite_invisibility = {
19+
Id: 14,
20+
Duration: 999999,
21+
Amplifier: 1,
22+
ShowParticles: false,
23+
}
24+
25+
def summon_chicken_army(n):
26+
for i in range(n):
27+
summon chicken ~i ~ ~ {
28+
Tags: [f"quack{i}"],
29+
IsChickenJockey: true,
30+
Passengers: [{
31+
id: zombie,
32+
IsBaby: true,
33+
ActiveEffects: [infinite_invisibility]
34+
}]
35+
}
36+
37+
say Go forth, my minions!
38+
summon_chicken_army(16)
39+
40+
# mcbuild
41+
LOOP(1000,i){
42+
execute summon marker run mud:register {command:"function tests:a/target",setup:""}
43+
summon marker 0 0 0 {Tags:["a.i"]}
44+
}
45+
46+

0 commit comments

Comments
 (0)