Cleanup
This commit is contained in:
parent
31df8c0a69
commit
9d396f1c45
4 changed files with 1 additions and 27 deletions
|
@ -13,10 +13,8 @@ import net.minecraft.client.Minecraft;
|
||||||
import net.minecraft.client.gui.GuiButton;
|
import net.minecraft.client.gui.GuiButton;
|
||||||
import net.minecraft.client.gui.GuiButtonLanguage;
|
import net.minecraft.client.gui.GuiButtonLanguage;
|
||||||
import net.minecraft.client.gui.GuiLanguage;
|
import net.minecraft.client.gui.GuiLanguage;
|
||||||
import net.minecraft.client.gui.GuiMultiplayer;
|
|
||||||
import net.minecraft.client.gui.GuiOptions;
|
import net.minecraft.client.gui.GuiOptions;
|
||||||
import net.minecraft.client.gui.GuiScreen;
|
import net.minecraft.client.gui.GuiScreen;
|
||||||
import net.minecraft.client.gui.GuiWorldSelection;
|
|
||||||
import net.minecraft.client.renderer.GlStateManager;
|
import net.minecraft.client.renderer.GlStateManager;
|
||||||
import net.minecraft.client.resources.IResource;
|
import net.minecraft.client.resources.IResource;
|
||||||
import net.minecraft.util.ResourceLocation;
|
import net.minecraft.util.ResourceLocation;
|
||||||
|
@ -119,7 +117,7 @@ public class GuiAetherMainMenu extends GuiScreen
|
||||||
{
|
{
|
||||||
if (this.mc.thePlayer != null)
|
if (this.mc.thePlayer != null)
|
||||||
{
|
{
|
||||||
AetherNetworkingManager.sendToServer(new PacketGameType(GameType.SURVIVAL));
|
AetherNetworkingManager.sendToServer(new PacketGameType(GameType.SPECTATOR));
|
||||||
}
|
}
|
||||||
|
|
||||||
Calendar calendar = Calendar.getInstance();
|
Calendar calendar = Calendar.getInstance();
|
||||||
|
|
|
@ -14,10 +14,8 @@ import net.minecraft.client.gui.GuiButtonLanguage;
|
||||||
import net.minecraft.client.gui.GuiConfirmOpenLink;
|
import net.minecraft.client.gui.GuiConfirmOpenLink;
|
||||||
import net.minecraft.client.gui.GuiLanguage;
|
import net.minecraft.client.gui.GuiLanguage;
|
||||||
import net.minecraft.client.gui.GuiMainMenu;
|
import net.minecraft.client.gui.GuiMainMenu;
|
||||||
import net.minecraft.client.gui.GuiMultiplayer;
|
|
||||||
import net.minecraft.client.gui.GuiOptions;
|
import net.minecraft.client.gui.GuiOptions;
|
||||||
import net.minecraft.client.gui.GuiScreen;
|
import net.minecraft.client.gui.GuiScreen;
|
||||||
import net.minecraft.client.gui.GuiWorldSelection;
|
|
||||||
import net.minecraft.client.gui.GuiYesNoCallback;
|
import net.minecraft.client.gui.GuiYesNoCallback;
|
||||||
import net.minecraft.client.renderer.GlStateManager;
|
import net.minecraft.client.renderer.GlStateManager;
|
||||||
import net.minecraft.client.renderer.OpenGlHelper;
|
import net.minecraft.client.renderer.OpenGlHelper;
|
||||||
|
|
|
@ -6,7 +6,6 @@ import net.minecraft.block.Block;
|
||||||
import net.minecraft.block.state.IBlockState;
|
import net.minecraft.block.state.IBlockState;
|
||||||
import net.minecraft.init.Blocks;
|
import net.minecraft.init.Blocks;
|
||||||
import net.minecraft.util.math.BlockPos;
|
import net.minecraft.util.math.BlockPos;
|
||||||
import net.minecraft.util.math.BlockPos.MutableBlockPos;
|
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
import net.minecraft.world.gen.feature.WorldGenerator;
|
import net.minecraft.world.gen.feature.WorldGenerator;
|
||||||
|
|
||||||
|
|
|
@ -1,21 +0,0 @@
|
||||||
package com.legacy.aether.universal;
|
|
||||||
|
|
||||||
import net.minecraftforge.fml.common.Loader;
|
|
||||||
|
|
||||||
public class AetherCompatibility
|
|
||||||
{
|
|
||||||
|
|
||||||
public static void initialization()
|
|
||||||
{
|
|
||||||
if (isLoaded("jei"))
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public static boolean isLoaded(String modId)
|
|
||||||
{
|
|
||||||
return Loader.isModLoaded(modId);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
Loading…
Reference in a new issue