Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.0.0, including structure interpreter API #1

Open
wants to merge 74 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
fd28a6b
Initial work on structures system
lukebemish Jun 29, 2024
597157b
Add StreamCodecInterpreter and tests
lukebemish Jun 29, 2024
eeb99cb
Add MapCodecInterpreter
lukebemish Jun 29, 2024
fc625fb
Apply spotless
lukebemish Jun 29, 2024
c7f8d2b
Structured comment support and StreamCodec fixes
lukebemish Jun 29, 2024
2b5b513
Partial record structures and optional fields
lukebemish Jul 4, 2024
177dde7
Default interpret methods on all built-in interpreters
lukebemish Jul 4, 2024
87147e4
Add json schema interpreter
lukebemish Jul 4, 2024
2b5cd00
Make structure test test fieldOf
lukebemish Jul 4, 2024
39411ce
Change how comment annotations are handled to be more flexible going …
lukebemish Jul 5, 2024
342f9b4
Add description and title annotation keys, with description falling b…
lukebemish Jul 5, 2024
a8192e3
Refactor where description and title annotation keys are stored and a…
lukebemish Jul 5, 2024
e6ce21a
Merge branch 'main' into feature/structures
lukebemish Jul 5, 2024
440a310
Merge branch 'main' into feature/structures
lukebemish Jul 5, 2024
da80d7e
Merge branch 'main' into feature/structures
lukebemish Jul 7, 2024
829bf5c
Update formatting
lukebemish Jul 7, 2024
0fb63fe
Merge branch 'main' into feature/structures
lukebemish Jul 7, 2024
5524896
Merge branch 'refs/heads/main' into feature/structures
lukebemish Jul 23, 2024
3c59a1b
First attempt at parametric keys
lukebemish Jul 23, 2024
10d2bef
Add parametric keys test
lukebemish Jul 23, 2024
3390fbb
Fix ordering of keys in map codec interpreter's nested codec interpreter
lukebemish Jul 23, 2024
2d1ffa2
Simplify ParametricKeyedValue
lukebemish Jul 23, 2024
2497c74
Make accidental instantiation of various Mu impossible
lukebemish Jul 23, 2024
3f8b1e5
Built-in MC structures
lukebemish Jul 23, 2024
6a6ad1a
Fix type inference
lukebemish Jul 23, 2024
99671a0
Refactor some minor things
lukebemish Jul 23, 2024
a506215
Structure-specific parametric keys
lukebemish Jul 23, 2024
6e3bc3e
Rename Raised to Flip
lukebemish Jul 23, 2024
99f676e
Implement dispatch for everything except JSON schema
lukebemish Jul 23, 2024
c8aea64
Implement lazy structure
lukebemish Jul 23, 2024
c3b31cc
Avoid needless memoized supplier
lukebemish Jul 23, 2024
e512f7d
Easier creation of interpreters
lukebemish Jul 24, 2024
99befe2
Fix formatting
lukebemish Jul 24, 2024
bb23f3e
Lazy structures and registry dispatch structure
lukebemish Jul 24, 2024
a68d436
Make approach to laziness of dispatch structures a bit more sensible
lukebemish Jul 24, 2024
9594d2f
Some more basic types for conversion between K1 and K2
lukebemish Jul 31, 2024
ae3d85d
Dispatch changes and references in schemas, plus prepare for 1.21.2
lukebemish Aug 29, 2024
44d7063
Default values in schemas
lukebemish Aug 29, 2024
30043a7
Merge branch 'main' into feature/structures
lukebemish Aug 29, 2024
e3236e8
Apply formatting
lukebemish Aug 29, 2024
74b2475
More vanilla structure types
lukebemish Aug 29, 2024
3fc8b72
Initial config screen interpreter work
lukebemish Aug 30, 2024
ae4e514
Some refactors
lukebemish Aug 30, 2024
0ac8ada
More work on config screen interpretation
lukebemish Aug 30, 2024
32de9d6
Missing/optional values, primitives, lists, and tooltips for config s…
lukebemish Aug 31, 2024
9e2ae31
Dispatch in config screens
lukebemish Sep 1, 2024
78e02a2
Remove unneeded annotation
lukebemish Sep 1, 2024
892da0d
Add identity interpreter
lukebemish Sep 1, 2024
5e02a6c
Shared test mod and test with modmenu
lukebemish Sep 1, 2024
be06ac0
Work on more types
lukebemish Sep 1, 2024
f601e66
Working range sliders in configs
lukebemish Sep 1, 2024
7cb8de9
Color pickers in configs
lukebemish Sep 2, 2024
e0a45a9
Support multiple config screens in one mod
lukebemish Sep 2, 2024
4d08e7e
Some javadoc work
lukebemish Sep 2, 2024
d8be8ee
Fix edge case for missing values
lukebemish Sep 2, 2024
2bc3603
string-representable values and resource key support in config screens
lukebemish Sep 2, 2024
1147a34
Slight tweak for better visibility in color pick widget
lukebemish Sep 2, 2024
6168d5b
Either and unbounded map support in structures
lukebemish Sep 2, 2024
d075cd5
[no ci] initial work on dispatch maps and data components
lukebemish Sep 3, 2024
95e808e
Better dispatch behaviour, custom bounds behaviour, and work on items…
lukebemish Sep 5, 2024
10325f7
Working component patch key config
lukebemish Sep 6, 2024
c8f74cc
Better error confirmation screens and data components
lukebemish Sep 8, 2024
457330a
Hopefully working ItemStack codecs and restructure interpreter keys
lukebemish Sep 9, 2024
b8852de
Fix up itemstack configuration
lukebemish Sep 10, 2024
3b169d6
Apply formatting
lukebemish Sep 10, 2024
3acb786
Add remaining features
lukebemish Sep 10, 2024
e6832a7
Slight fixes for lenient fields and bounded values
lukebemish Sep 10, 2024
12538a9
Hopefully get accompanied ops working with registry ops
lukebemish Sep 10, 2024
49fb1b0
Give main codecextras module a proper module-info
lukebemish Sep 10, 2024
f91729f
More docs work and cleanup
lukebemish Sep 11, 2024
05c66b6
Fix tabs
lukebemish Sep 11, 2024
20f7b98
Fix javadoc
lukebemish Sep 11, 2024
54fad2e
Bump multisource
lukebemish Sep 12, 2024
742c60c
Make config type test more explicit
lukebemish Sep 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ insert_final_newline = true
charset = utf-8
indent_size = 4
trim_trailing_whitespace = true
indent_style = tab
indent_style = space

[*.{json,json5,mcmeta}]
indent_size = 2
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ build

# other
eclipse
run
runs
Loading