Skip to content

Commit

Permalink
Added WrappersYAGLParser note
Browse files Browse the repository at this point in the history
  • Loading branch information
fulminazzo committed Dec 8, 2024
1 parent 19ef5dc commit 84943a0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion item/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,9 @@ and [Recipes](https://github.com/Fulminazzo/YAGL/wiki/Item-For-Developers#recipe
### Serializer
The `serializer` submodule is entitled to **saving and loading** all the **items related objects**.
A developer **should not be concerned** with the **contents** of this module as it should **never be used explicitly**.
However, for it to work properly, it is required to execute `ItemYAGLParser#addAllParser()` **before any serialization operation**.
However, for it to work properly, it is required to execute `ItemYAGLParser#addAllParsers()` **before any serialization operation**.
Note that this **will include calls to `WrappersYAGLParser#addAllParsers()`**,
therefore it is **not necessary** to include it later.

### Bukkit
`bukkit` allows the direct **conversion** from a **YAGL `Item`** to a **Bukkit `ItemStack`**.
Expand Down

0 comments on commit 84943a0

Please sign in to comment.