From e2fc9df53a046802f83ba68099567921f50036eb Mon Sep 17 00:00:00 2001 From: Sollace Date: Sat, 6 Feb 2021 21:37:27 +0200 Subject: [PATCH] Add an entrypoint for mods that want to do something if MineLP is present --- src/main/java/com/minelittlepony/client/MineLittlePony.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/minelittlepony/client/MineLittlePony.java b/src/main/java/com/minelittlepony/client/MineLittlePony.java index e9357277..008aa22e 100644 --- a/src/main/java/com/minelittlepony/client/MineLittlePony.java +++ b/src/main/java/com/minelittlepony/client/MineLittlePony.java @@ -86,6 +86,8 @@ public class MineLittlePony implements ClientModInitializer { config.load(); ModelType.bootstrap(); + + FabricLoader.getInstance().getEntrypoints("minelittlepony", ClientModInitializer.class).forEach(ClientModInitializer::onInitializeClient); } private void onClientReady(MinecraftClient client) {