From ed0db5391df1a71b41faf7e68bb91adb02a2537c Mon Sep 17 00:00:00 2001 From: Marc Baloup Date: Sat, 15 Jun 2024 13:29:41 +0200 Subject: [PATCH] Added missing @ConcreteWrapper --- .../reflect/wrapper/minecraft/core/HolderLookupProvider.java | 2 ++ .../paper/reflect/wrapper/minecraft/core/RegistryAccess.java | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pandalib-paper/src/main/java/fr/pandacube/lib/paper/reflect/wrapper/minecraft/core/HolderLookupProvider.java b/pandalib-paper/src/main/java/fr/pandacube/lib/paper/reflect/wrapper/minecraft/core/HolderLookupProvider.java index 52cbeb2..63e19a2 100644 --- a/pandalib-paper/src/main/java/fr/pandacube/lib/paper/reflect/wrapper/minecraft/core/HolderLookupProvider.java +++ b/pandalib-paper/src/main/java/fr/pandacube/lib/paper/reflect/wrapper/minecraft/core/HolderLookupProvider.java @@ -2,11 +2,13 @@ package fr.pandacube.lib.paper.reflect.wrapper.minecraft.core; import fr.pandacube.lib.reflect.Reflect; import fr.pandacube.lib.reflect.ReflectClass; +import fr.pandacube.lib.reflect.wrapper.ConcreteWrapper; import fr.pandacube.lib.reflect.wrapper.ReflectWrapper; import fr.pandacube.lib.reflect.wrapper.ReflectWrapperI; import static fr.pandacube.lib.util.ThrowableUtil.wrapEx; +@ConcreteWrapper(HolderLookupProvider.__concrete.class) public interface HolderLookupProvider extends ReflectWrapperI { ReflectClass REFLECT = wrapEx(() -> Reflect.ofClass("net.minecraft.core.HolderLookup.Provider")); diff --git a/pandalib-paper/src/main/java/fr/pandacube/lib/paper/reflect/wrapper/minecraft/core/RegistryAccess.java b/pandalib-paper/src/main/java/fr/pandacube/lib/paper/reflect/wrapper/minecraft/core/RegistryAccess.java index 0295e62..919f9ee 100644 --- a/pandalib-paper/src/main/java/fr/pandacube/lib/paper/reflect/wrapper/minecraft/core/RegistryAccess.java +++ b/pandalib-paper/src/main/java/fr/pandacube/lib/paper/reflect/wrapper/minecraft/core/RegistryAccess.java @@ -1,12 +1,13 @@ package fr.pandacube.lib.paper.reflect.wrapper.minecraft.core; -import fr.pandacube.lib.paper.reflect.wrapper.minecraft.network.protocol.custom.CustomPacketPayload; import fr.pandacube.lib.reflect.Reflect; import fr.pandacube.lib.reflect.ReflectClass; +import fr.pandacube.lib.reflect.wrapper.ConcreteWrapper; import fr.pandacube.lib.reflect.wrapper.ReflectWrapper; import static fr.pandacube.lib.util.ThrowableUtil.wrapEx; +@ConcreteWrapper(RegistryAccess.__concrete.class) public interface RegistryAccess extends HolderLookupProvider { ReflectClass REFLECT = wrapEx(() -> Reflect.ofClass("net.minecraft.core.RegistryAccess"));