Skip to content

Commit 4014717

Browse files
committed
initial commit
0 parents  commit 4014717

File tree

15 files changed

+59
-0
lines changed

15 files changed

+59
-0
lines changed

Diff for: .gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.zip
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
say Hello, world!
2+
say Try typing "/function fennifith:animals/spawn" in the chat to summon some animals!
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
summon cow
2+
summon sheep
3+
summon pig
4+
summon goat
5+
summon llama
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# say Hello, world!
+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"values": ["fennifith:animals/load"]
3+
}
+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"values": ["fennifith:animals/tick"]
3+
}

Diff for: 1-introduction/pack.mcmeta

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"pack": {
3+
"pack_format": 10,
4+
"description": "Spawns a bunch of animals around the player"
5+
}
6+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
say Hello, world!
2+
say This datapack makes the game scream when you jump!
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
summon cow
2+
summon sheep
3+
summon pig
4+
summon goat
5+
summon llama
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# at each player position...
2+
# | if the block below is air...
3+
# | | print "aaaaa" in the chat!
4+
execute at @a if block ~ ~-1 ~ air run say "aaaaaaaaaaaaaaaaaaaa!"
5+
6+
# Uncomment this line for obnoxious screaming sounds!
7+
# execute as @a at @s if block ~ ~-1 ~ air run playsound minecraft:entity.goat.screaming.ambient neutral @s
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"values": ["fennifith:animals/load"]
3+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"values": ["fennifith:animals/tick"]
3+
}

Diff for: 2-command-syntax/pack.mcmeta

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"pack": {
3+
"pack_format": 10,
4+
"description": "Spawns a bunch of animals around the player"
5+
}
6+
}

Diff for: README.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This repository is intended to follow along with the Unicorn Utterances series on [Minecraft Data Pack Programming](https://unicorn-utterances.com/collections/minecraft-data-packs).

Diff for: mkzips.sh

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/bash
2+
3+
# Clear existing zip files
4+
rm ./*.zip
5+
6+
# Create new zips from directories
7+
for dir in */; do
8+
pushd $dir;
9+
zip -r ../"${dir/\//}.zip" ./*;
10+
popd;
11+
done

0 commit comments

Comments
 (0)