-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdependencies.json
More file actions
58 lines (58 loc) · 2.19 KB
/
dependencies.json
File metadata and controls
58 lines (58 loc) · 2.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
# This is a list of protected namespaces that should not be cleaned.
# Files in these namespaces will be deleted and replaced only when a new file exsits,
# instead of deleting the entire namespace ahead of time.
# This may leave dangleing files if libraries using these spaces rename or remove files.
"namespaces": [
"test_pack",
"minecraft"
],
# A list of dependencies to install
"dependencies": [
{
# The name of the dependency. Mostely for you own identification purposes.
"name": "Lantern Load",
# URL to download the dependency. Can be a github repo, or a zip file.
# If you need a specific version instead of the latest, you will need to get the zip file link.
"url": "https://github.com/LanternMC/load"
},
{
# local specifies a path to copy the library from locally instead of downloading it,
# relitive to where the python script is run. Can handle zip files and folders.
"name": "ChunkScan",
"local": "libraries/chunk_scan.zip"
},
{
# Here is an example dependency that depends on another dependency (ChunkScan)
"name": "ChunkScan.Ores",
"url": "https://github.com/ICY105/ChunkScan.Ores"
},
{
"name": "Smithed Crafting",
"url": "https://github.com/Smithed-MC/Libraries",
# The path value is optional and indicates where to start looking for the dependency.
# Needed for repos with multiple datapacks to determine which to install
"path": "libs/crafter"
}
],
# A list of functions to append to function tags, after building has occured.
# Existing function tags will be removed and replaced, so this automates appending your functions.
"append_function_tags": [
{
# Function tag to append to (no '#')
"tag": "load:load",
# Value to append ('#' is accepted)
"value": "test_pack:load"
},
{
"tag": "chunk_scan:v2/generate",
"value": "test_pack:generate"
}
],
# Optional: Ignored files to avoid copying/modifying. Note: .git is added by default
"ignored_files": [
".git"
],
# Optional: Current datapack version. When using --upgrade flag, this is the version that gets replaced.
"version":"v1.0"
}