Home›Java›Mods›PersistLib
ModsJava

PersistLib

Java mod listed for Minecraft 1.9–1.20. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot
PersistLib is a Java library that simplifies the process of persisting data. It provides an intuitive API that allows developers to easily manage data storage and retrieval. The library is flexible, allowing for customization of data storage methods to suit specific project needs. It also ensures reliable and secure data storage, minimizing the risk of data loss.

Description for version: 1.0-SNAPSHOT


The library, based on the BasePersist class, provides a framework for persisting Java objects to and from YAML files. It offers a set of annotations and classes to simplify and beautify the writing process.

The PersistField annotation is used to mark a field for persistence operations. It indicates that the value of the annotated field should be saved and loaded during persistence operations.

The Constructor annotation is used to mark a constructor for persistence operations. It indicates that the annotated constructor should be used when creating a new instance of the class during the load operation.

The PersistResult annotation is used to mark a method for persistence operations. It indicates that the annotated method should be invoked during save and load operations. The behavior of the method depends on

The Parameter annotation is used to mark a parameter for persistence operations.

See also:

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

PersistLib is a free Minecraft Java mod. Compatible with Minecraft 1.9, 1.12, 1.13, 1.14 and newer. Downloaded 173 times (via Spigot). Download it and open it directly in the game.

Explore more