Skip to content

Commit 3d7d45d

Browse files
author
repl.it user
committed
Merge remote-tracking branch 'origin/master'
2 parents 32c1ebf + 22c8c6e commit 3d7d45d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Format example:
6060
#This is a comment.
6161
+ minecraft:armor_stand #This is also a comment.
6262

63-
There is an alternate way to define tags that can be used if you have a list of all entries that should be included. You may insert a "txt" file in the directory "./.saved/tags/[type]" that contains either a line separated or comma separated list of the specific entries that should be included (default namespace is "minecraft"). You may not specify other tags or filter entries - This format only accepts literal entry specifications.
63+
There is an alternate way to define tags that can be used if you have a list of all entries that should be included. You may insert a "txt" file in the directory "./.saved/tags/[type]" that contains either a line separated or comma separated list of the specific entries that should be included (default namespace is "minecraft"). For the file name, use an underscore instead of a colon. You may specify other tags, but not filter entries.
6464

6565
Format example:
6666

main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ def main():
252252
os.makedirs(f'.generated/packs/{packName}/data/{packId}/tags/functions', exist_ok = True)
253253
os.makedirs(f'.generated/packs/{packName}/data/{packId}/tags/items', exist_ok = True)
254254
with open(f".generated/packs/{packName}/pack.mcmeta", "w+") as file:
255-
json.dump({"pack":{"pack-format":7 if useSnapshots else 6,"description": packDesc}}, file,indent=4)
255+
json.dump({"pack":{"pack_format":7 if useSnapshots else 6,"description": packDesc}}, file,indent=4)
256256
with open(f".generated/packs/{packName}/data/minecraft/tags/functions/load.json", "w+") as file:
257257
json.dump({"replace": False, "values":[f"{packId}:internal/{initFunction.name}"]}, file,indent=4)
258258
with open(f".generated/packs/{packName}/data/minecraft/tags/functions/tick.json", "w+") as file:
@@ -274,4 +274,4 @@ def main():
274274
main()
275275
#tags.start()
276276
#convert.start()
277-
#regex_test.start()
277+
#regex_test.start()

0 commit comments

Comments
 (0)