-
-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add builtin pack helper for AddPackFindersEvent to make registering p…
…acks easier (#928)
- Loading branch information
1 parent
86876fa
commit 85c9d49
Showing
10 changed files
with
107 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
8 changes: 8 additions & 0 deletions
8
tests/src/main/resources/test_always_enabled_resource_pack/pack.mcmeta
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"pack": { | ||
"pack_format": 12, | ||
"description": "Forced-Enabled-Always ResourcePack", | ||
"forge:resource_pack_format": 12, | ||
"forge:data_pack_format": 10 | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
...main/resources/test_disabled_data_pack/data/test_disabled_data_pack/tags/blocks/dirt.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"replace": false, | ||
"values": [ | ||
"minecraft:end_stone" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"pack": { | ||
"pack_format": 12, | ||
"description": "Disabled-By-Default DataPack", | ||
"forge:resource_pack_format": 12, | ||
"forge:data_pack_format": 10 | ||
} | ||
} |
5 changes: 5 additions & 0 deletions
5
tests/src/main/resources/test_disabled_resource_pack/assets/minecraft/blockstates/dirt.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"variants": { | ||
"": {"model": "block/diamond_block"} | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
tests/src/main/resources/test_disabled_resource_pack/pack.mcmeta
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"pack": { | ||
"pack_format": 12, | ||
"description": "Disabled-By-Default ResourcePack", | ||
"forge:resource_pack_format": 12, | ||
"forge:data_pack_format": 10 | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
.../main/resources/test_enabled_data_pack/data/test_disabled_data_pack/tags/blocks/dirt.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"replace": false, | ||
"values": [ | ||
"minecraft:end_stone" | ||
] | ||
} |
2 changes: 1 addition & 1 deletion
2
...ces/test_nested_resource_pack/pack.mcmeta → ...ources/test_enabled_data_pack/pack.mcmeta
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters