From 2efd3019c01407f83303c2ad391ffde8db5c0366 Mon Sep 17 00:00:00 2001 From: Jaxydog <32988901+Jaxydog@users.noreply.github.com> Date: Tue, 11 Jun 2024 16:07:57 -0400 Subject: [PATCH] Update readme (x3) --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index a5b76ec..d71c44f 100644 --- a/README.md +++ b/README.md @@ -65,12 +65,16 @@ Lodestone also provides an abstract class and two annotations for automatic regi ```java public final class ItemLoader extends AutoLoader { + @LoadingPriority(-1) // Controls the loading order. In this case, this loads last. public static final LoadedItem ITEM_1 = new LoadedItem("item_1", new Settings()); public static final LoadedItem ITEM_2 = new LoadedItem("item_2", new Settings()); public static final LoadedItem ITEM_3 = new LoadedItem("item_3", new Settings()); public static final LoadedItem ITEM_4 = new LoadedItem("item_4", new Settings()); public static final LoadedItem ITEM_5 = new LoadedItem("item_5", new Settings()); + @IgnoreLoading({ }) // Prevents this value from being loaded. + public static final LoadedItem NULL = null; + @Override public Identifier getLoaderId() { return Identifier.of("your_mod", "items");