mirror of
https://github.com/GTNewHorizons/AE2FluidCraft-Rework.git
synced 2026-11-22 21:09:43 +00:00
Optimize Walrus (#437)
This commit is contained in:
1 parent
0a84d208f3
commit
44dfa4d551
5 files changed
+32
-24
No files matched your search
@@ -4,8 +4,6 @@ import static com.glodblock.github.common.Config.reStockTime;
|
||||
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraftforge.client.model.AdvancedModelLoader;
|
||||
import net.minecraftforge.client.model.IModelCustom;
|
||||
|
||||
import org.apache.commons.lang3.tuple.ImmutablePair;
|
||||
|
||||
@@ -26,7 +24,6 @@ public class ClientProxy extends CommonProxy {
|
||||
|
||||
private static final Minecraft mc = Minecraft.getMinecraft();
|
||||
private static long refreshTick = System.currentTimeMillis();
|
||||
private static IModelCustom modelWalrus;
|
||||
|
||||
@Override
|
||||
public void preInit(FMLPreInitializationEvent event) {
|
||||
@@ -39,7 +36,6 @@ public class ClientProxy extends CommonProxy {
|
||||
(new ListenerLoader()).run();
|
||||
(new RenderLoader()).run();
|
||||
(new KeybindLoader()).run();
|
||||
modelWalrus = AdvancedModelLoader.loadModel(FluidCraft.resource("models/walrus.obj"));
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -58,8 +54,4 @@ public class ClientProxy extends CommonProxy {
|
||||
refreshTick = System.currentTimeMillis();
|
||||
}
|
||||
}
|
||||
|
||||
public static IModelCustom getWalrusModel() {
|
||||
return modelWalrus;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user