diff --git a/gradle.properties b/gradle.properties index 241cbcc..ba88eff 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,7 +3,7 @@ org.gradle.jvmargs=-Xmx1G loom.platform = neoforge # Mod properties -mod_version = 0.1.5 +mod_version = 0.1.6 maven_group = cn.zbx1425 archives_name = project_me diff --git a/src/main/java/cn/zbx1425/projectme/client/ProjectMeClient.java b/src/main/java/cn/zbx1425/projectme/client/ProjectMeClient.java index eebf03b..81f0d52 100644 --- a/src/main/java/cn/zbx1425/projectme/client/ProjectMeClient.java +++ b/src/main/java/cn/zbx1425/projectme/client/ProjectMeClient.java @@ -60,14 +60,6 @@ public static void onAttackEntity(AttackEntityEvent event) { event.setCanceled(true); } } - } - - public static class ModEventBusListener { - - @SubscribeEvent - public static void registerRenderers(EntityRenderersEvent.RegisterRenderers event) { - event.registerEntityRenderer(ProjectMe.ENTITY_PROJECTION.get(), EntityProjectionRenderer::new); - } @SubscribeEvent public static void registerCommands(RegisterClientCommandsEvent event) { @@ -97,4 +89,12 @@ public static void registerCommands(RegisterClientCommandsEvent event) { )); } } + + public static class ModEventBusListener { + + @SubscribeEvent + public static void registerRenderers(EntityRenderersEvent.RegisterRenderers event) { + event.registerEntityRenderer(ProjectMe.ENTITY_PROJECTION.get(), EntityProjectionRenderer::new); + } + } }