Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
Grabsky committed Nov 7, 2024
2 parents edd12ab + 769e983 commit bfa3ba9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
11 changes: 10 additions & 1 deletion PAPER_MODULE.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This module adds serializers for common Bukkit objects. Check out **[Adapters](#
<br />

## Requirements
Requires **Java 17** (or higher) and **Paper 1.20.1** (or higher).
Requires **Java 21** (or higher) and **Paper 1.21.3** (or higher).

<br />

Expand Down Expand Up @@ -145,7 +145,11 @@ This is an example of what serializers are capable of:
// optional (defaults to none, empty meta)
"meta": {
"name": "<red>You can use <rainbow>MiniMessage<red> here!",
// custom name can be changed in the anvil
"custom_name": "<rainbow>MiniMessage<red> is also supported here!",
"lore": ["<red>and here too."],
Expand All @@ -162,6 +166,8 @@ This is an example of what serializers are capable of:
"custom_model_data": 7,
"model": "my_namespace:my_model_key",
"persistent_data_container":[
{ "key": "configuration:a", "type": "byte", "value": 0 },
{ "key": "configuration:b", "type": "byte_array", "value": [-120, 0, 120 ] },
Expand All @@ -180,6 +186,9 @@ This is an example of what serializers are capable of:
// exclusive to 'damageable' items like tools and armor
"durability": 1,
// food component
"food": { "nutrition": 1, "saturation": 0.2, "can_always_eat": true },
// exclusive to player heads
"skull_texture": "BASE64_ENCODED_VALUE",
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ Small configuration library based on **[square/moshi](https://github.com/square/

## Requirements
### [Core](#usage)
Requires **Java 17** (or higher).
Requires **Java 21** (or higher).

### [Paper Module](https://github.com/Grabsky/configuration/blob/main/PAPER_MODULE.md)
Requires **Java 17** (or higher) and **Paper 1.20.1** (or higher).
Requires **Java 21** (or higher) and **Paper 1.21.3** (or higher).

<br />

Expand Down

0 comments on commit bfa3ba9

Please sign in to comment.