Skip to content

Commit

Permalink
0.1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
burningtnt committed Jan 5, 2025
1 parent ee7c42d commit b39920b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
16 changes: 8 additions & 8 deletions src/main/java/cn/zbx1425/projectme/client/ProjectMeClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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);
}
}
}

0 comments on commit b39920b

Please sign in to comment.