Skip to content

Commit

Permalink
added priority
Browse files Browse the repository at this point in the history
  • Loading branch information
NSPC911 committed Oct 25, 2024
1 parent 43a49c1 commit 5245f17
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
15 changes: 13 additions & 2 deletions docs/jsons/pack-jsons.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Here is a template on the pack json
"pack_description": "description of pack",
"message": ["warn (red)/error (orange)/info (cyan)", "message for it"],
"icon": "gif/apng/*",
"priority": true,
"conflict": ["packid of conflicting pack"],
"compatibility": ["packid of compatible pack"]
}
Expand Down Expand Up @@ -89,16 +90,26 @@ Icon: Allows you to set a pack icon extension. Default is `png`, so you can set
```json
"message": ["warn (red)/error (orange)/info (cyan)", "message for it"],
"icon": "gif/apng/*", // [!code focus]
"conflict": ["packid of conflicting pack"],
"priority": true,
```
> [!TIP]
>
> You can use any image file extensions! You aren't limited to just `gif` or `apng`.
> However, make sure you do not add the period <kbd>.</kbd>
---
Conflict: List of PackIDs of packs that conflict with the current one.
Priority: Sets the pack as the higher priority and overwrites conflicting textures.
```json
"icon": "gif/apng/*",
"priority": true,
"conflict": ["packid of conflicting pack"],
```
> [!TIP]
>
> Default is `false`, so you don't have to specify it.
---
Conflict: List of PackIDs of packs that conflict with the current one.
```json
"priority": true,
"conflict": ["packid of conflicting pack"], // [!code focus]
"compatibility": ["packid of compatible pack"]
```
Expand Down
8 changes: 4 additions & 4 deletions docs/to-do.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ next: false
Stuff to do or in progress.<br>Feel free to help me with these!
## Incomplete
- General
- Make a proper footer aside from the credits footer
- Make priority a thing as well
- Probably like if `"priority": true` then replace any already-existing files
- Make a proper footer aside from the credits footer(
- docs
- Finish it up! <!--too lazy-->
- resource-packs
Expand Down Expand Up @@ -59,5 +57,7 @@ Stuff to do or in progress.<br>Feel free to help me with these!
- Make Credits Footer use white text
- Fix crafting tweaks not showing pack icons
- Update backend with stuff from resource-packs [#1](https://github.com/BEComTweaks/crafting-tweaks/pull/1)

- server-backend
- Make priority a thing
- Probably like if `"priority": true` then replace any already-existing files [`@e03e28`](https://github.com/BEComTweaks/server-backend/commit/e03e282ad75fa4cd8f3de1b3dc6d972d506faabf)
<sub>Yes, I am using docs as a to-do tracker. Any issues?</sub>

0 comments on commit 5245f17

Please sign in to comment.