PaperMC / docs

Documentation for all projects under the PaperMC umbrella.
https://docs.papermc.io/
BSD 2-Clause "Simplified" License
43 stars 112 forks source link

Add documentation for list persistent data types #321

Closed lynxplay closed 8 months ago

lynxplay commented 8 months ago

The PDC API recently was expanded to cover list types. This commit adds a simple example for developer that either a) Want to store a list of a custom pdt b) Want to store a list of strings or other api defined types

The commit also provides a quick example of retrieving the data as the implementation allows fully type-safe access to the data.

Also drops some unneeded spaces at EOL.