Skip to content

Commit 667e2fd

Browse files
committed
Update README some more
1 parent 4daa4a4 commit 667e2fd

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

README.md

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,26 @@
11
# Chit
2+
23
A vanilla-like implementation of Optifine's CIT, shaped how I believe it would be/like.
34

45
## Types
6+
57
#### Conditional:
6-
- has_enchantment
8+
9+
- has_enchantment (if stack has the enchantment)
710
- fields:
8-
- enchantment id (required)
9-
- level (not required, will work on any level)
10-
11+
- enchantment: Enchantment Identifier [REQUIRED]
12+
- level [OPTIONAL]
13+
1114
#### Range Dispatch:
12-
- enchantment_level
13-
- value based on enchantment level
15+
16+
- enchantment_level (value based on enchantment level)
1417
- fields:
15-
- enchantment id (required)
18+
- enchantment: Enchantment Identifier [REQUIRED]
1619

1720
## Examples
21+
1822
diamond_sword.json
23+
1924
```json
2025
{
2126
"model": {
@@ -33,7 +38,9 @@ diamond_sword.json
3338
}
3439
}
3540
```
41+
3642
enchanted_book.json
43+
3744
```json
3845
{
3946
"model": {

0 commit comments

Comments
 (0)