Skip to content

Commit

Permalink
Remove model loading from Angelica (#610)
Browse files Browse the repository at this point in the history
  • Loading branch information
ah-OOG-ah authored Aug 21, 2024
1 parent 260d57e commit 1588c70
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/main/java/com/gtnewhorizons/angelica/proxy/ClientProxy.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package com.gtnewhorizons.angelica.proxy;

import com.google.common.base.Objects;
import com.gtnewhorizon.gtnhlib.client.model.ModelLoader;
import com.gtnewhorizon.gtnhlib.client.renderer.vertex.DefaultVertexFormat;
import com.gtnewhorizon.gtnhlib.client.renderer.vertex.VertexFormat;
import com.gtnewhorizons.angelica.compat.ModStatus;
Expand Down Expand Up @@ -56,13 +55,11 @@
import java.util.Locale;
import java.util.concurrent.ConcurrentHashMap;


import static com.gtnewhorizons.angelica.loading.AngelicaTweaker.LOGGER;

public class ClientProxy extends CommonProxy {

final Minecraft mc = Minecraft.getMinecraft();
private static boolean baked = false;

@Override
public void preInit(FMLPreInitializationEvent event) {
Expand Down Expand Up @@ -169,9 +166,6 @@ public void postInit(FMLPostInitializationEvent event) {
LOGGER.error("Could not replace LOTR handle render code with thread safe version");
}
}

Minecraft.getMinecraft().refreshResources();
ModelLoader.loadModels();
}

float lastIntegratedTickTime;
Expand Down Expand Up @@ -302,11 +296,6 @@ public void onTick(TickEvent.ClientTickEvent event) {
if (event.phase == TickEvent.Phase.END && mc.theWorld != null) {
CloudRenderer.getCloudRenderer().checkSettings();
}

if (!baked) {
ModelLoader.bakeModels();
baked = true;
}
}

// This is a bit of a hack to prevent the FOV from being modified by other mods
Expand Down

0 comments on commit 1588c70

Please sign in to comment.