From bff000cd419db9b7f55026b21e13622906186ddf Mon Sep 17 00:00:00 2001 From: Zontreck Date: Tue, 6 Feb 2024 22:34:20 -0700 Subject: [PATCH] Apply CI/CD built version of LibZontreck and LibAC --- gradle.properties | 4 ++-- .../zontreck/essentials/rtp/RTPCaches.java | 20 +++++++++++++++++++ 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/gradle.properties b/gradle.properties index de5f4a7..d471b8f 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,7 +3,7 @@ org.gradle.jvmargs=-Xmx3G org.gradle.daemon=false -libzontreck=1.10.013124.1729 +libzontreck=1.10.020624.2226 ## Environment Properties @@ -49,7 +49,7 @@ mod_name=Aria's Essentials # The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default. mod_license=GPLv3 # The mod version. See https://semver.org/ -mod_version=1.2.013124.1836 +mod_version=1.2.020624.2232 # The group ID for the mod. It is only important when publishing as an artifact to a Maven repository. # This should match the base package used for the mod sources. # See https://maven.apache.org/guides/mini/guide-naming-conventions.html diff --git a/src/main/java/dev/zontreck/essentials/rtp/RTPCaches.java b/src/main/java/dev/zontreck/essentials/rtp/RTPCaches.java index 0751638..1dd2893 100644 --- a/src/main/java/dev/zontreck/essentials/rtp/RTPCaches.java +++ b/src/main/java/dev/zontreck/essentials/rtp/RTPCaches.java @@ -1,11 +1,31 @@ package dev.zontreck.essentials.rtp; +import dev.zontreck.essentials.events.RTPFoundEvent; +import dev.zontreck.essentials.util.EssentialsDatastore; import dev.zontreck.libzontreck.vectors.WorldPosition; +import net.minecraft.nbt.CompoundTag; +import net.minecraftforge.eventbus.api.SubscribeEvent; +import java.nio.file.Path; import java.util.ArrayList; import java.util.List; public class RTPCaches { public static List Locations = new ArrayList<>(); + + + public static final Path BASE = EssentialsDatastore.of("rtp.nbt", false); + + + @SubscribeEvent + public static void onRTPFound(RTPFoundEvent found) + { + + } + + public static void deserialize(CompoundTag tag) + { + + } }