Commit b69587af82e99db9e3fc4798c16a1d2bc54bb77a

Authored by Mumfrey
1 parent 219c0602

Add copyright headers to all source files

Showing 100 changed files with 645 additions and 146 deletions

Too many changes to show.

To preserve performance only 100 of 310 files are displayed.

src/client/java/com/mumfrey/liteloader/ChatFilter.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader;
2 7  
3 8 import com.mumfrey.liteloader.core.LiteLoaderEventBroker.ReturnValue;
... ...
src/client/java/com/mumfrey/liteloader/ChatListener.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader;
2 7  
3 8 import net.minecraft.util.text.ITextComponent;
... ...
src/client/java/com/mumfrey/liteloader/ChatRenderListener.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader;
2 7  
3 8 import net.minecraft.client.gui.GuiNewChat;
... ...
src/client/java/com/mumfrey/liteloader/EntityRenderListener.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader;
2 7  
3 8 import net.minecraft.client.renderer.entity.Render;
... ...
src/client/java/com/mumfrey/liteloader/FrameBufferListener.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader;
2 7  
3 8 import net.minecraft.client.shader.Framebuffer;
... ...
src/client/java/com/mumfrey/liteloader/GameLoopListener.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader;
2 7  
3 8 import net.minecraft.client.Minecraft;
... ...
src/client/java/com/mumfrey/liteloader/HUDRenderListener.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader;
2 7  
3 8 /**
... ...
src/client/java/com/mumfrey/liteloader/InitCompleteListener.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader;
2 7  
3   -import net.minecraft.client.Minecraft;
4   -
5 8 import com.mumfrey.liteloader.core.LiteLoader;
6 9  
  10 +import net.minecraft.client.Minecraft;
  11 +
7 12 /**
8 13 * Interface for mods which need to initialise stuff once the game
9 14 * initialisation is completed, for example mods which need to register new
... ...
src/client/java/com/mumfrey/liteloader/JoinGameListener.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader;
2 7  
  8 +import com.mojang.realmsclient.dto.RealmsServer;
  9 +
3 10 import net.minecraft.client.multiplayer.ServerData;
4 11 import net.minecraft.network.INetHandler;
5 12 import net.minecraft.network.play.server.SPacketJoinGame;
6 13  
7   -import com.mojang.realmsclient.dto.RealmsServer;
8   -
9 14  
10 15 /**
11 16 * Interface for mods which wish to be notified when the player connects to a
... ...
src/client/java/com/mumfrey/liteloader/OutboundChatFilter.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader;
2 7  
3 8 /**
... ...
src/client/java/com/mumfrey/liteloader/OutboundChatListener.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader;
2 7  
3 8 import net.minecraft.network.play.client.CPacketChatMessage;
... ...
src/client/java/com/mumfrey/liteloader/PostLoginListener.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader;
2 7  
3 8 import net.minecraft.network.login.INetHandlerLoginClient;
... ...
src/client/java/com/mumfrey/liteloader/PostRenderListener.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader;
2 7  
3 8 /**
... ...
src/client/java/com/mumfrey/liteloader/PreRenderListener.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader;
2 7  
3 8 import net.minecraft.client.renderer.RenderGlobal;
... ...
src/client/java/com/mumfrey/liteloader/RenderListener.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader;
2 7  
3 8 import net.minecraft.client.gui.GuiScreen;
... ...
src/client/java/com/mumfrey/liteloader/ScreenshotListener.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader;
2 7  
  8 +import com.mumfrey.liteloader.core.LiteLoaderEventBroker.ReturnValue;
  9 +
3 10 import net.minecraft.client.shader.Framebuffer;
4 11 import net.minecraft.util.text.ITextComponent;
5 12  
6   -import com.mumfrey.liteloader.core.LiteLoaderEventBroker.ReturnValue;
7   -
8 13 /**
9 14 * Interface for mods which want to handle or inhibit the saving of screenshots
10 15 *
... ...
src/client/java/com/mumfrey/liteloader/Tickable.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader;
2 7  
3 8 import net.minecraft.client.Minecraft;
... ...
src/client/java/com/mumfrey/liteloader/ViewportListener.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader;
2 7  
3 8 import net.minecraft.client.gui.ScaledResolution;
... ...
src/client/java/com/mumfrey/liteloader/client/ClientPluginChannelsClient.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client;
2 7  
3 8 import com.mumfrey.liteloader.client.ducks.IClientNetLoginHandler;
... ... @@ -12,8 +17,8 @@ import net.minecraft.network.login.INetHandlerLoginClient;
12 17 import net.minecraft.network.login.server.SPacketLoginSuccess;
13 18 import net.minecraft.network.play.INetHandlerPlayClient;
14 19 import net.minecraft.network.play.client.CPacketCustomPayload;
15   -import net.minecraft.network.play.server.SPacketJoinGame;
16 20 import net.minecraft.network.play.server.SPacketCustomPayload;
  21 +import net.minecraft.network.play.server.SPacketJoinGame;
17 22  
18 23 /**
19 24 * Handler for client plugin channels
... ...
src/client/java/com/mumfrey/liteloader/client/ClientProxy.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client;
2 7  
3 8 import java.io.File;
... ...
src/client/java/com/mumfrey/liteloader/client/GameEngineClient.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client;
2 7  
  8 +import java.util.ArrayList;
3 9 import java.util.Arrays;
4   -import java.util.LinkedList;
5 10 import java.util.List;
6 11  
  12 +import com.mumfrey.liteloader.client.overlays.IMinecraft;
  13 +import com.mumfrey.liteloader.common.GameEngine;
  14 +import com.mumfrey.liteloader.common.Resources;
  15 +
7 16 import net.minecraft.client.Minecraft;
8 17 import net.minecraft.client.audio.SoundHandler;
9 18 import net.minecraft.client.gui.GuiNewChat;
... ... @@ -14,10 +23,6 @@ import net.minecraft.client.settings.KeyBinding;
14 23 import net.minecraft.profiler.Profiler;
15 24 import net.minecraft.server.integrated.IntegratedServer;
16 25  
17   -import com.mumfrey.liteloader.client.overlays.IMinecraft;
18   -import com.mumfrey.liteloader.common.GameEngine;
19   -import com.mumfrey.liteloader.common.Resources;
20   -
21 26 /**
22 27 *
23 28 * @author Adam Mummery-Smith
... ... @@ -142,7 +147,7 @@ public class GameEngineClient implements GameEngine<Minecraft, IntegratedServer>
142 147 @Override
143 148 public List<KeyBinding> getKeyBindings()
144 149 {
145   - LinkedList<KeyBinding> keyBindings = new LinkedList<KeyBinding>();
  150 + ArrayList<KeyBinding> keyBindings = new ArrayList<KeyBinding>();
146 151 keyBindings.addAll(Arrays.asList(this.engine.gameSettings.keyBindings));
147 152 return keyBindings;
148 153 }
... ...
src/client/java/com/mumfrey/liteloader/client/LiteLoaderCoreProviderClient.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client;
2 7  
3   -import net.minecraft.client.audio.SoundHandler;
4   -import net.minecraft.client.resources.IResourceManager;
5   -import net.minecraft.client.resources.IResourcePack;
6   -import net.minecraft.client.resources.SimpleReloadableResourceManager;
7   -import net.minecraft.network.INetHandler;
8   -import net.minecraft.network.play.server.SPacketJoinGame;
9   -import net.minecraft.world.World;
10   -
11 8 import com.mumfrey.liteloader.api.CoreProvider;
12 9 import com.mumfrey.liteloader.common.GameEngine;
13 10 import com.mumfrey.liteloader.common.Resources;
... ... @@ -16,6 +13,14 @@ import com.mumfrey.liteloader.core.LiteLoaderMods;
16 13 import com.mumfrey.liteloader.launch.LoaderProperties;
17 14 import com.mumfrey.liteloader.resources.InternalResourcePack;
18 15  
  16 +import net.minecraft.client.audio.SoundHandler;
  17 +import net.minecraft.client.resources.IResourceManager;
  18 +import net.minecraft.client.resources.IResourcePack;
  19 +import net.minecraft.client.resources.SimpleReloadableResourceManager;
  20 +import net.minecraft.network.INetHandler;
  21 +import net.minecraft.network.play.server.SPacketJoinGame;
  22 +import net.minecraft.world.World;
  23 +
19 24 /**
20 25 * CoreProvider which fixes SoundManager derping up at startup
21 26 *
... ...
src/client/java/com/mumfrey/liteloader/client/LiteLoaderEventBrokerClient.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client;
2 7  
3 8 import org.lwjgl.input.Mouse;
... ...
src/client/java/com/mumfrey/liteloader/client/LiteLoaderPanelManager.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client;
2 7  
3   -import net.minecraft.client.Minecraft;
4   -import net.minecraft.client.gui.GuiIngameMenu;
5   -import net.minecraft.client.gui.GuiMainMenu;
6   -import net.minecraft.client.gui.GuiOptions;
7   -import net.minecraft.client.gui.GuiScreen;
8   -import net.minecraft.client.resources.I18n;
9   -
10 8 import org.lwjgl.input.Keyboard;
11 9  
12 10 import com.mumfrey.liteloader.client.gui.GuiLiteLoaderPanel;
... ... @@ -20,6 +18,13 @@ import com.mumfrey.liteloader.launch.LoaderProperties;
20 18 import com.mumfrey.liteloader.modconfig.ConfigManager;
21 19 import com.mumfrey.liteloader.util.log.LiteLoaderLogger;
22 20  
  21 +import net.minecraft.client.Minecraft;
  22 +import net.minecraft.client.gui.GuiIngameMenu;
  23 +import net.minecraft.client.gui.GuiMainMenu;
  24 +import net.minecraft.client.gui.GuiOptions;
  25 +import net.minecraft.client.gui.GuiScreen;
  26 +import net.minecraft.client.resources.I18n;
  27 +
23 28 /**
24 29 * Observer which handles the display of the mod panel
25 30 *
... ...
src/client/java/com/mumfrey/liteloader/client/PacketEventsClient.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client;
2 7  
3 8 import com.mojang.realmsclient.dto.RealmsServer;
4   -import com.mumfrey.liteloader.*;
  9 +import com.mumfrey.liteloader.ChatFilter;
  10 +import com.mumfrey.liteloader.ChatListener;
  11 +import com.mumfrey.liteloader.JoinGameListener;
  12 +import com.mumfrey.liteloader.PostLoginListener;
  13 +import com.mumfrey.liteloader.PreJoinGameListener;
5 14 import com.mumfrey.liteloader.common.ducks.IChatPacket;
6 15 import com.mumfrey.liteloader.common.transformers.PacketEventInfo;
7 16 import com.mumfrey.liteloader.core.ClientPluginChannels;
... ... @@ -23,11 +32,11 @@ import net.minecraft.network.Packet;
23 32 import net.minecraft.network.login.INetHandlerLoginClient;
24 33 import net.minecraft.network.login.server.SPacketLoginSuccess;
25 34 import net.minecraft.network.play.INetHandlerPlayClient;
26   -import net.minecraft.network.play.server.SPacketJoinGame;
27 35 import net.minecraft.network.play.server.SPacketChat;
28   -import net.minecraft.util.text.TextComponentString;
29   -import net.minecraft.util.text.ITextComponent;
  36 +import net.minecraft.network.play.server.SPacketJoinGame;
30 37 import net.minecraft.util.IThreadListener;
  38 +import net.minecraft.util.text.ITextComponent;
  39 +import net.minecraft.util.text.TextComponentString;
31 40  
32 41 /**
33 42 * Client-side packet event handlers
... ...
src/client/java/com/mumfrey/liteloader/client/ResourceObserver.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client;
2 7  
3 8 import java.io.File;
4 9 import java.util.HashMap;
5 10 import java.util.Map;
6 11  
7   -import net.minecraft.client.resources.IResourceManager;
8   -import net.minecraft.client.resources.IResourcePack;
9   -
10 12 import com.mumfrey.liteloader.LiteMod;
11 13 import com.mumfrey.liteloader.api.ModLoadObserver;
12 14 import com.mumfrey.liteloader.common.Resources;
... ... @@ -17,6 +19,9 @@ import com.mumfrey.liteloader.resources.ModResourcePack;
17 19 import com.mumfrey.liteloader.resources.ModResourcePackDir;
18 20 import com.mumfrey.liteloader.util.log.LiteLoaderLogger;
19 21  
  22 +import net.minecraft.client.resources.IResourceManager;
  23 +import net.minecraft.client.resources.IResourcePack;
  24 +
20 25 /**
21 26 * Observer which handles registering mods on the client as resource packs
22 27 *
... ...
src/client/java/com/mumfrey/liteloader/client/ResourcesClient.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client;
2 7  
3 8 import java.util.HashMap;
4 9 import java.util.List;
5 10 import java.util.Map;
6 11  
7   -import net.minecraft.client.Minecraft;
8   -import net.minecraft.client.resources.IResourceManager;
9   -import net.minecraft.client.resources.IResourcePack;
10   -
11 12 import com.mumfrey.liteloader.client.overlays.IMinecraft;
12 13 import com.mumfrey.liteloader.common.LoadingProgress;
13 14 import com.mumfrey.liteloader.common.Resources;
14 15  
  16 +import net.minecraft.client.Minecraft;
  17 +import net.minecraft.client.resources.IResourceManager;
  18 +import net.minecraft.client.resources.IResourcePack;
  19 +
15 20 public class ResourcesClient implements Resources<IResourceManager, IResourcePack>
16 21 {
17 22 private final Minecraft engine = Minecraft.getMinecraft();
... ...
src/client/java/com/mumfrey/liteloader/client/SoundHandlerReloadInhibitor.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client;
2 7  
3 8 import java.util.List;
... ...
src/client/java/com/mumfrey/liteloader/client/Translator.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client;
2 7  
3   -import net.minecraft.client.resources.I18n;
4   -
5 8 import com.mumfrey.liteloader.api.TranslationProvider;
6 9  
  10 +import net.minecraft.client.resources.I18n;
  11 +
7 12 public class Translator implements TranslationProvider
8 13 {
9 14 /* (non-Javadoc)
... ...
src/client/java/com/mumfrey/liteloader/client/api/LiteLoaderBrandingProvider.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.api;
2 7  
3 8 import java.net.URI;
4 9  
5   -import net.minecraft.client.resources.I18n;
6   -import net.minecraft.util.ResourceLocation;
7   -
8 10 import com.mumfrey.liteloader.api.BrandingProvider;
9 11 import com.mumfrey.liteloader.client.util.render.IconAbsolute;
10 12 import com.mumfrey.liteloader.core.LiteLoader;
11 13 import com.mumfrey.liteloader.util.render.Icon;
12 14  
  15 +import net.minecraft.client.resources.I18n;
  16 +import net.minecraft.util.ResourceLocation;
  17 +
13 18 /**
14 19 * LiteLoader's branding provider
15 20 *
... ...
src/client/java/com/mumfrey/liteloader/client/api/LiteLoaderCoreAPIClient.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.api;
2 7  
3 8 import java.util.List;
4 9  
5   -import net.minecraft.client.Minecraft;
6   -import net.minecraft.server.integrated.IntegratedServer;
7   -
8 10 import com.google.common.collect.ImmutableList;
9 11 import com.google.common.collect.ObjectArrays;
10 12 import com.mumfrey.liteloader.api.CoreProvider;
... ... @@ -20,6 +22,9 @@ import com.mumfrey.liteloader.interfaces.ObjectFactory;
20 22 import com.mumfrey.liteloader.messaging.MessageBus;
21 23 import com.mumfrey.liteloader.transformers.event.json.ModEvents;
22 24  
  25 +import net.minecraft.client.Minecraft;
  26 +import net.minecraft.server.integrated.IntegratedServer;
  27 +
23 28 /**
24 29 * Client side of the core API
25 30 *
... ...
src/client/java/com/mumfrey/liteloader/client/api/LiteLoaderModInfoDecorator.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.api;
2 7  
3 8 import java.util.List;
4 9  
5   -import net.minecraft.client.resources.I18n;
6   -
7 10 import com.mumfrey.liteloader.api.ModInfoDecorator;
8 11 import com.mumfrey.liteloader.client.gui.GuiLiteLoaderPanel;
9 12 import com.mumfrey.liteloader.client.gui.modlist.GuiModListPanel;
... ... @@ -12,6 +15,8 @@ import com.mumfrey.liteloader.client.util.render.IconAbsoluteClickable;
12 15 import com.mumfrey.liteloader.core.ModInfo;
13 16 import com.mumfrey.liteloader.util.render.IconTextured;
14 17  
  18 +import net.minecraft.client.resources.I18n;
  19 +
15 20 /**
16 21 * ModInfo decorator
17 22 *
... ...
src/client/java/com/mumfrey/liteloader/client/api/ObjectFactoryClient.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.api;
2 7  
3   -import net.minecraft.client.Minecraft;
4   -import net.minecraft.client.gui.GuiScreen;
5   -import net.minecraft.launchwrapper.Launch;
6   -import net.minecraft.server.integrated.IntegratedServer;
7   -
8   -import com.mumfrey.liteloader.client.LiteLoaderEventBrokerClient;
9 8 import com.mumfrey.liteloader.client.ClientPluginChannelsClient;
10 9 import com.mumfrey.liteloader.client.GameEngineClient;
  10 +import com.mumfrey.liteloader.client.LiteLoaderEventBrokerClient;
11 11 import com.mumfrey.liteloader.client.LiteLoaderPanelManager;
12 12 import com.mumfrey.liteloader.client.PacketEventsClient;
13 13 import com.mumfrey.liteloader.client.gui.startup.LoadingBar;
14 14 import com.mumfrey.liteloader.common.GameEngine;
15 15 import com.mumfrey.liteloader.core.ClientPluginChannels;
16   -import com.mumfrey.liteloader.core.LiteLoaderEventBroker;
17 16 import com.mumfrey.liteloader.core.LiteLoader;
  17 +import com.mumfrey.liteloader.core.LiteLoaderEventBroker;
18 18 import com.mumfrey.liteloader.core.PacketEvents;
19 19 import com.mumfrey.liteloader.core.ServerPluginChannels;
20   -import com.mumfrey.liteloader.interfaces.PanelManager;
21 20 import com.mumfrey.liteloader.interfaces.ObjectFactory;
  21 +import com.mumfrey.liteloader.interfaces.PanelManager;
22 22 import com.mumfrey.liteloader.launch.LoaderEnvironment;
23 23 import com.mumfrey.liteloader.launch.LoaderProperties;
24 24 import com.mumfrey.liteloader.permissions.PermissionsManagerClient;
... ... @@ -26,6 +26,11 @@ import com.mumfrey.liteloader.permissions.PermissionsManagerServer;
26 26 import com.mumfrey.liteloader.util.Input;
27 27 import com.mumfrey.liteloader.util.InputManager;
28 28  
  29 +import net.minecraft.client.Minecraft;
  30 +import net.minecraft.client.gui.GuiScreen;
  31 +import net.minecraft.launchwrapper.Launch;
  32 +import net.minecraft.server.integrated.IntegratedServer;
  33 +
29 34 /**
30 35 * Factory for lifetime loader objects for the client side
31 36 *
... ...
src/client/java/com/mumfrey/liteloader/client/ducks/IClientNetLoginHandler.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.ducks;
2 7  
3 8 import net.minecraft.network.NetworkManager;
... ...
src/client/java/com/mumfrey/liteloader/client/ducks/IFramebuffer.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.ducks;
2 7  
3 8 public interface IFramebuffer
... ...
src/client/java/com/mumfrey/liteloader/client/ducks/IMutableRegistry.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.ducks;
2 7  
3 8 public interface IMutableRegistry<K, V>
... ...
src/client/java/com/mumfrey/liteloader/client/ducks/IReloadable.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.ducks;
2 7  
3 8 import java.util.List;
... ...
src/client/java/com/mumfrey/liteloader/client/ducks/IRenderManager.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.ducks;
2 7  
3 8 import java.util.Map;
... ...
src/client/java/com/mumfrey/liteloader/client/ducks/ITileEntityRendererDispatcher.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.ducks;
2 7  
3 8 import java.util.Map;
... ...
src/client/java/com/mumfrey/liteloader/client/gui/GuiCheckbox.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.gui;
2 7  
3 8 import static com.mumfrey.liteloader.gl.GL.*;
4   -import net.minecraft.client.Minecraft;
5   -import net.minecraft.client.gui.GuiButton;
6 9  
7 10 import com.mumfrey.liteloader.client.api.LiteLoaderBrandingProvider;
8 11  
  12 +import net.minecraft.client.Minecraft;
  13 +import net.minecraft.client.gui.GuiButton;
  14 +
9 15 /**
10 16 * Super-simple implementation of a checkbox control
11 17 *
... ...
src/client/java/com/mumfrey/liteloader/client/gui/GuiHoverLabel.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.gui;
2 7  
3 8 import com.mumfrey.liteloader.client.api.LiteLoaderBrandingProvider;
... ...
src/client/java/com/mumfrey/liteloader/client/gui/GuiLiteLoaderPanel.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.gui;
2 7  
3 8 import static com.mumfrey.liteloader.gl.GL.*;
... ... @@ -811,4 +816,4 @@ public class GuiLiteLoaderPanel extends GuiScreen
811 816 {
812 817 glDrawTexturedRect(x, y, icon.getIconWidth(), icon.getIconHeight(), icon.getMinU(), icon.getMinV(), icon.getMaxU(), icon.getMaxV(), alpha);
813 818 }
814   -}
815 819 \ No newline at end of file
  820 +}
... ...
src/client/java/com/mumfrey/liteloader/client/gui/GuiPanel.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.gui;
2 7  
3 8 import static com.mumfrey.liteloader.gl.GL.*;
4 9  
5   -import java.util.LinkedList;
  10 +import java.util.ArrayList;
6 11 import java.util.List;
7 12  
  13 +import com.mumfrey.liteloader.client.api.LiteLoaderBrandingProvider;
  14 +
8 15 import net.minecraft.client.Minecraft;
9 16 import net.minecraft.client.gui.Gui;
10 17 import net.minecraft.client.gui.GuiButton;
11 18  
12   -import com.mumfrey.liteloader.client.api.LiteLoaderBrandingProvider;
13   -
14 19 /**
15 20 * Base class for panels
16 21 *
... ... @@ -30,7 +35,7 @@ public abstract class GuiPanel extends Gui
30 35 /**
31 36 * Buttons
32 37 */
33   - protected List<GuiButton> controls = new LinkedList<GuiButton>();
  38 + protected List<GuiButton> controls = new ArrayList<GuiButton>();
34 39  
35 40 /**
36 41 * Current available width
... ... @@ -100,7 +105,9 @@ public abstract class GuiPanel extends Gui
100 105 void draw(int mouseX, int mouseY, float partialTicks)
101 106 {
102 107 for (GuiButton control : this.controls)
  108 + {
103 109 control.drawButton(this.mc, mouseX, mouseY);
  110 + }
104 111 }
105 112  
106 113 /**
... ... @@ -206,4 +213,4 @@ public abstract class GuiPanel extends Gui
206 213 glAlphaFunc(GL_GREATER, 0.1F);
207 214 glDisableBlend();
208 215 }
209   -}
210 216 \ No newline at end of file
  217 +}
... ...
src/client/java/com/mumfrey/liteloader/client/gui/GuiPanelAbout.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.gui;
2 7  
3 8 import java.net.URI;
... ... @@ -6,12 +11,6 @@ import java.util.List;
6 11 import java.util.Set;
7 12 import java.util.TreeSet;
8 13  
9   -import net.minecraft.client.Minecraft;
10   -import net.minecraft.client.gui.FontRenderer;
11   -import net.minecraft.client.gui.GuiButton;
12   -import net.minecraft.client.resources.I18n;
13   -import net.minecraft.util.ResourceLocation;
14   -
15 14 import org.lwjgl.input.Keyboard;
16 15  
17 16 import com.mumfrey.liteloader.api.BrandingProvider;
... ... @@ -22,6 +21,12 @@ import com.mumfrey.liteloader.core.LiteLoader;
22 21 import com.mumfrey.liteloader.util.SortableValue;
23 22 import com.mumfrey.liteloader.util.render.Icon;
24 23  
  24 +import net.minecraft.client.Minecraft;
  25 +import net.minecraft.client.gui.FontRenderer;
  26 +import net.minecraft.client.gui.GuiButton;
  27 +import net.minecraft.client.resources.I18n;
  28 +import net.minecraft.util.ResourceLocation;
  29 +
25 30 /**
26 31 * "About LiteLoader" panel which docks in the mod info screen and lists
27 32 * information about the installed APIs.
... ...
src/client/java/com/mumfrey/liteloader/client/gui/GuiPanelConfigContainer.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.gui;
2 7  
3 8 import static com.mumfrey.liteloader.gl.GL.*;
4 9 import static com.mumfrey.liteloader.gl.GLClippingPlanes.*;
5   -import net.minecraft.client.Minecraft;
6   -import net.minecraft.client.gui.GuiButton;
7   -import net.minecraft.client.resources.I18n;
8 10  
9 11 import com.mumfrey.liteloader.LiteMod;
10 12 import com.mumfrey.liteloader.modconfig.ConfigPanel;
11 13 import com.mumfrey.liteloader.modconfig.ConfigPanelHost;
12 14  
  15 +import net.minecraft.client.Minecraft;
  16 +import net.minecraft.client.gui.GuiButton;
  17 +import net.minecraft.client.resources.I18n;
  18 +
13 19 /**
14 20 * Config panel container, this handles drawing the configuration panel chrome
15 21 * and also hosts the configuration panels themselves to support scrolling and
... ...
src/client/java/com/mumfrey/liteloader/client/gui/GuiPanelError.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.gui;
2 7  
3 8 import java.io.PrintWriter;
... ...
src/client/java/com/mumfrey/liteloader/client/gui/GuiPanelLiteLoaderLog.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.gui;
2 7  
3 8 import static com.mumfrey.liteloader.gl.GL.*;
... ... @@ -6,18 +11,18 @@ import java.net.URI;
6 11 import java.util.ArrayList;
7 12 import java.util.List;
8 13  
9   -import net.minecraft.client.Minecraft;
10   -import net.minecraft.client.gui.GuiButton;
11   -import net.minecraft.client.gui.ScaledResolution;
12   -import net.minecraft.client.resources.I18n;
13   -import net.minecraft.util.Session;
14   -
15 14 import org.lwjgl.input.Keyboard;
16 15  
17 16 import com.mumfrey.liteloader.core.LiteLoader;
18 17 import com.mumfrey.liteloader.util.log.LiteLoaderLogger;
19 18 import com.mumfrey.liteloader.util.net.LiteLoaderLogUpload;
20 19  
  20 +import net.minecraft.client.Minecraft;
  21 +import net.minecraft.client.gui.GuiButton;
  22 +import net.minecraft.client.gui.ScaledResolution;
  23 +import net.minecraft.client.resources.I18n;
  24 +import net.minecraft.util.Session;
  25 +
21 26 /**
22 27 *
23 28 * @author Adam Mummery-Smith
... ...
src/client/java/com/mumfrey/liteloader/client/gui/GuiPanelMods.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.gui;
2 7  
3 8 import static com.mumfrey.liteloader.gl.GL.*;
... ... @@ -5,10 +10,6 @@ import static com.mumfrey.liteloader.gl.GLClippingPlanes.*;
5 10  
6 11 import java.util.List;
7 12  
8   -import net.minecraft.client.Minecraft;
9   -import net.minecraft.client.gui.GuiButton;
10   -import net.minecraft.client.resources.I18n;
11   -
12 13 import org.lwjgl.input.Keyboard;
13 14  
14 15 import com.mumfrey.liteloader.LiteMod;
... ... @@ -20,6 +21,10 @@ import com.mumfrey.liteloader.launch.LoaderEnvironment;
20 21 import com.mumfrey.liteloader.modconfig.ConfigManager;
21 22 import com.mumfrey.liteloader.modconfig.ConfigPanel;
22 23  
  24 +import net.minecraft.client.Minecraft;
  25 +import net.minecraft.client.gui.GuiButton;
  26 +import net.minecraft.client.resources.I18n;
  27 +
23 28 /**
24 29 * Mods panel
25 30 *
... ...
src/client/java/com/mumfrey/liteloader/client/gui/GuiPanelSettings.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.gui;
2 7  
3 8 import org.lwjgl.input.Keyboard;
... ...
src/client/java/com/mumfrey/liteloader/client/gui/GuiPanelUpdateCheck.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.gui;
2 7  
3 8 import java.net.URI;
4 9  
5   -import net.minecraft.client.Minecraft;
6   -import net.minecraft.client.gui.FontRenderer;
7   -import net.minecraft.client.gui.GuiButton;
8   -import net.minecraft.client.gui.ScaledResolution;
9   -import net.minecraft.client.resources.I18n;
10   -
11 10 import org.lwjgl.input.Keyboard;
12 11  
13 12 import com.mumfrey.liteloader.core.LiteLoaderUpdateSite;
... ... @@ -15,6 +14,12 @@ import com.mumfrey.liteloader.launch.ClassPathUtilities;
15 14 import com.mumfrey.liteloader.launch.LoaderProperties;
16 15 import com.mumfrey.liteloader.update.UpdateSite;
17 16  
  17 +import net.minecraft.client.Minecraft;
  18 +import net.minecraft.client.gui.FontRenderer;
  19 +import net.minecraft.client.gui.GuiButton;
  20 +import net.minecraft.client.gui.ScaledResolution;
  21 +import net.minecraft.client.resources.I18n;
  22 +
18 23 /**
19 24 * "Check for updates" panel which docks in the mod info screen
20 25 *
... ...
src/client/java/com/mumfrey/liteloader/client/gui/GuiScrollPanel.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.gui;
2 7  
3 8 import static com.mumfrey.liteloader.gl.GL.*;
4 9 import static com.mumfrey.liteloader.gl.GLClippingPlanes.*;
5   -import net.minecraft.client.Minecraft;
6   -import net.minecraft.client.gui.GuiButton;
7 10  
8 11 import org.lwjgl.input.Keyboard;
9 12  
  13 +import net.minecraft.client.Minecraft;
  14 +import net.minecraft.client.gui.GuiButton;
  15 +
10 16 /**
11 17 * Basic non-interactive scrollable panel using OpenGL clipping planes
12 18 *
... ...
src/client/java/com/mumfrey/liteloader/client/gui/GuiSimpleScrollBar.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.gui;
2 7  
3 8 import net.minecraft.client.gui.Gui;
... ...
src/client/java/com/mumfrey/liteloader/client/gui/ScrollPanelContent.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.gui;
2 7  
3 8 import net.minecraft.client.gui.GuiButton;
... ...
src/client/java/com/mumfrey/liteloader/client/gui/modlist/GuiModInfoPanel.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.gui.modlist;
2 7  
3 8 import static com.mumfrey.liteloader.gl.GL.*;
4 9 import static com.mumfrey.liteloader.gl.GLClippingPlanes.*;
5   -import net.minecraft.client.Minecraft;
6   -import net.minecraft.client.gui.FontRenderer;
7   -import net.minecraft.client.gui.Gui;
8   -import net.minecraft.client.resources.I18n;
9 10  
10 11 import com.google.common.base.Strings;
11 12 import com.mumfrey.liteloader.client.api.LiteLoaderBrandingProvider;
... ... @@ -14,6 +15,11 @@ import com.mumfrey.liteloader.client.util.render.IconAbsolute;
14 15 import com.mumfrey.liteloader.core.ModInfo;
15 16 import com.mumfrey.liteloader.util.render.IconTextured;
16 17  
  18 +import net.minecraft.client.Minecraft;
  19 +import net.minecraft.client.gui.FontRenderer;
  20 +import net.minecraft.client.gui.Gui;
  21 +import net.minecraft.client.resources.I18n;
  22 +
17 23 public class GuiModInfoPanel extends Gui
18 24 {
19 25 private static final int TITLE_COLOUR = GuiModListPanel.WHITE;
... ...
src/client/java/com/mumfrey/liteloader/client/gui/modlist/GuiModListPanel.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.gui.modlist;
2 7  
3 8 import static com.mumfrey.liteloader.gl.GL.*;
... ... @@ -6,16 +11,16 @@ import static com.mumfrey.liteloader.gl.GLClippingPlanes.*;
6 11 import java.util.ArrayList;
7 12 import java.util.List;
8 13  
9   -import net.minecraft.client.Minecraft;
10   -import net.minecraft.client.gui.FontRenderer;
11   -import net.minecraft.client.gui.Gui;
12   -
13 14 import com.mumfrey.liteloader.api.ModInfoDecorator;
14 15 import com.mumfrey.liteloader.client.gui.GuiLiteLoaderPanel;
15 16 import com.mumfrey.liteloader.core.ModInfo;
16 17 import com.mumfrey.liteloader.util.render.IconClickable;
17 18 import com.mumfrey.liteloader.util.render.IconTextured;
18 19  
  20 +import net.minecraft.client.Minecraft;
  21 +import net.minecraft.client.gui.FontRenderer;
  22 +import net.minecraft.client.gui.Gui;
  23 +
19 24 public class GuiModListPanel extends Gui
20 25 {
21 26 static final int BLACK = 0xFF000000;
... ...
src/client/java/com/mumfrey/liteloader/client/gui/modlist/GuiModListPanelInvalid.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.gui.modlist;
2 7  
3 8 import java.util.List;
4 9  
5   -import net.minecraft.client.gui.FontRenderer;
6   -
7 10 import com.mumfrey.liteloader.api.ModInfoDecorator;
8 11 import com.mumfrey.liteloader.core.ModInfo;
9 12  
  13 +import net.minecraft.client.gui.FontRenderer;
  14 +
10 15 public class GuiModListPanelInvalid extends GuiModListPanel
11 16 {
12 17 private static final int BAD_PANEL_HEIGHT = 22;
... ...
src/client/java/com/mumfrey/liteloader/client/gui/modlist/ModList.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.gui.modlist;
2 7  
3 8 import java.util.ArrayList;
... ... @@ -5,9 +10,6 @@ import java.util.List;
5 10 import java.util.Map;
6 11 import java.util.TreeMap;
7 12  
8   -import net.minecraft.client.Minecraft;
9   -import net.minecraft.client.resources.I18n;
10   -
11 13 import org.lwjgl.input.Keyboard;
12 14  
13 15 import com.mumfrey.liteloader.LiteMod;
... ... @@ -20,6 +22,9 @@ import com.mumfrey.liteloader.interfaces.LoadableMod;
20 22 import com.mumfrey.liteloader.launch.LoaderEnvironment;
21 23 import com.mumfrey.liteloader.modconfig.ConfigManager;
22 24  
  25 +import net.minecraft.client.Minecraft;
  26 +import net.minecraft.client.resources.I18n;
  27 +
23 28 public class ModList
24 29 {
25 30 private final ModListContainer container;
... ...
src/client/java/com/mumfrey/liteloader/client/gui/modlist/ModListContainer.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.gui.modlist;
2 7  
3 8 import com.mumfrey.liteloader.client.gui.GuiLiteLoaderPanel;
... ...
src/client/java/com/mumfrey/liteloader/client/gui/modlist/ModListEntry.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.gui.modlist;
2 7  
3 8 import java.util.List;
4 9 import java.util.Set;
5 10  
6   -import net.minecraft.client.gui.FontRenderer;
7   -import net.minecraft.client.resources.I18n;
8   -
9 11 import com.mumfrey.liteloader.LiteMod;
10 12 import com.mumfrey.liteloader.api.ModInfoDecorator;
11 13 import com.mumfrey.liteloader.core.LiteLoaderMods;
... ... @@ -14,6 +16,9 @@ import com.mumfrey.liteloader.interfaces.Loadable;
14 16 import com.mumfrey.liteloader.interfaces.LoadableMod;
15 17 import com.mumfrey.liteloader.launch.LoaderEnvironment;
16 18  
  19 +import net.minecraft.client.gui.FontRenderer;
  20 +import net.minecraft.client.resources.I18n;
  21 +
17 22 /**
18 23 * Represents a mod in the mod info screen, keeps track of mod information and
19 24 * provides methods for displaying the mod in the mod list and drawing the
... ...
src/client/java/com/mumfrey/liteloader/client/gui/startup/LoadingBar.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.gui.startup;
2 7  
3 8 import static com.mumfrey.liteloader.gl.GL.*;
... ... @@ -10,6 +15,11 @@ import java.util.List;
10 15  
11 16 import javax.imageio.ImageIO;
12 17  
  18 +import org.lwjgl.opengl.Display;
  19 +
  20 +import com.mumfrey.liteloader.common.LoadingProgress;
  21 +import com.mumfrey.liteloader.util.log.LiteLoaderLogger;
  22 +
13 23 import net.minecraft.client.Minecraft;
14 24 import net.minecraft.client.gui.FontRenderer;
15 25 import net.minecraft.client.gui.ScaledResolution;
... ... @@ -23,11 +33,6 @@ import net.minecraft.client.resources.IResourceManager;
23 33 import net.minecraft.client.shader.Framebuffer;
24 34 import net.minecraft.util.ResourceLocation;
25 35  
26   -import org.lwjgl.opengl.Display;
27   -
28   -import com.mumfrey.liteloader.common.LoadingProgress;
29   -import com.mumfrey.liteloader.util.log.LiteLoaderLogger;
30   -
31 36 /**
32 37 * Crappy implementation of a "Mojang Screen" loading bar
33 38 *
... ...
src/client/java/com/mumfrey/liteloader/client/mixin/MixinEntityPlayerSP.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.mixin;
2 7  
3 8 import org.spongepowered.asm.mixin.Mixin;
... ...
src/client/java/com/mumfrey/liteloader/client/mixin/MixinEntityRenderer.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.mixin;
2 7  
3 8 import org.spongepowered.asm.mixin.Mixin;
... ...
src/client/java/com/mumfrey/liteloader/client/mixin/MixinFramebuffer.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.mixin;
2 7  
3 8 import org.spongepowered.asm.mixin.Mixin;
... ...
src/client/java/com/mumfrey/liteloader/client/mixin/MixinGuiIngame.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.mixin;
2 7  
3 8 import org.spongepowered.asm.mixin.Final;
... ...
src/client/java/com/mumfrey/liteloader/client/mixin/MixinIntegratedServer.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.mixin;
2 7  
3 8 import org.spongepowered.asm.mixin.Mixin;
... ...
src/client/java/com/mumfrey/liteloader/client/mixin/MixinMinecraft.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.mixin;
2 7  
3 8 import java.util.List;
... ...
src/client/java/com/mumfrey/liteloader/client/mixin/MixinNetHandlerLoginClient.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.mixin;
2 7  
3 8 import org.spongepowered.asm.mixin.Mixin;
... ...
src/client/java/com/mumfrey/liteloader/client/mixin/MixinRealmsMainScreen.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.mixin;
2 7  
3 8 import org.spongepowered.asm.mixin.Mixin;
... ...
src/client/java/com/mumfrey/liteloader/client/mixin/MixinRegistryNamespaced.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.mixin;
2 7  
3 8 import org.spongepowered.asm.mixin.Final;
... ...
src/client/java/com/mumfrey/liteloader/client/mixin/MixinRegistrySimple.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.mixin;
2 7  
3 8 import java.util.Map;
... ...
src/client/java/com/mumfrey/liteloader/client/mixin/MixinRenderManager.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.mixin;
2 7  
3 8 import java.util.Map;
... ...
src/client/java/com/mumfrey/liteloader/client/mixin/MixinScreenShotHelper.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.mixin;
2 7  
3 8 import java.io.File;
... ... @@ -10,8 +15,8 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;
10 15 import com.mumfrey.liteloader.client.ClientProxy;
11 16  
12 17 import net.minecraft.client.shader.Framebuffer;
13   -import net.minecraft.util.text.ITextComponent;
14 18 import net.minecraft.util.ScreenShotHelper;
  19 +import net.minecraft.util.text.ITextComponent;
15 20  
16 21 @Mixin(ScreenShotHelper.class)
17 22 public abstract class MixinScreenShotHelper
... ...
src/client/java/com/mumfrey/liteloader/client/mixin/MixinSession.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.mixin;
2 7  
3 8 import java.util.UUID;
... ...
src/client/java/com/mumfrey/liteloader/client/mixin/MixinSimpleReloadableResourceManager.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.mixin;
2 7  
3 8 import java.util.List;
... ...
src/client/java/com/mumfrey/liteloader/client/mixin/MixinTileEntityRendererDispatcher.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.mixin;
2 7  
3 8 import java.util.Map;
... ...
src/client/java/com/mumfrey/liteloader/client/overlays/IEntityRenderer.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.overlays;
2 7  
3 8 import net.minecraft.util.ResourceLocation;
... ...
src/client/java/com/mumfrey/liteloader/client/overlays/IGuiTextField.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.overlays;
2 7  
3 8 /**
... ...
src/client/java/com/mumfrey/liteloader/client/overlays/IMinecraft.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.overlays;
2 7  
3 8 import java.util.List;
... ...
src/client/java/com/mumfrey/liteloader/client/overlays/ISoundHandler.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.overlays;
2 7  
3 8 import net.minecraft.client.audio.SoundList;
... ...
src/client/java/com/mumfrey/liteloader/client/transformers/CrashReportTransformer.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.transformers;
2 7  
3 8 import java.util.ListIterator;
... ...
src/client/java/com/mumfrey/liteloader/client/transformers/MinecraftTransformer.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.transformers;
2 7  
3 8 import java.util.Iterator;
... ...
src/client/java/com/mumfrey/liteloader/client/util/PrivateFieldsClient.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.util;
2 7  
3 8 import java.util.Map;
... ... @@ -19,4 +24,4 @@ public final class PrivateFieldsClient&lt;P, T&gt; extends PrivateFields&lt;P, T&gt;
19 24  
20 25 public static final PrivateFieldsClient<TileEntity, Map> tileEntityNameToClassMap = new PrivateFieldsClient<TileEntity, Map>(TileEntity.class, Obf.tileEntityNameToClassMap);
21 26 public static final PrivateFieldsClient<TileEntity, Map> tileEntityClassToNameMap = new PrivateFieldsClient<TileEntity, Map>(TileEntity.class, Obf.tileEntityClassToNameMap);
22   -}
23 27 \ No newline at end of file
  28 +}
... ...
src/client/java/com/mumfrey/liteloader/client/util/render/IconAbsolute.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.util.render;
2 7  
3 8 import com.mumfrey.liteloader.util.render.IconTextured;
... ...
src/client/java/com/mumfrey/liteloader/client/util/render/IconAbsoluteClickable.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.util.render;
2 7  
3   -import net.minecraft.util.ResourceLocation;
4   -
5 8 import com.mumfrey.liteloader.util.render.IconClickable;
6 9  
  10 +import net.minecraft.util.ResourceLocation;
  11 +
7 12 public abstract class IconAbsoluteClickable extends IconAbsolute implements IconClickable
8 13 {
9 14 public IconAbsoluteClickable(ResourceLocation textureResource, String displayText, int width, int height, float uCoord, float vCoord,
... ...
src/client/java/com/mumfrey/liteloader/client/util/render/IconTiled.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.client.util.render;
2 7  
3 8 import com.mumfrey.liteloader.util.render.Icon;
... ...
src/client/java/com/mumfrey/liteloader/gl/GL.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.gl;
2 7  
3 8 import java.nio.ByteBuffer;
... ... @@ -5,6 +10,9 @@ import java.nio.DoubleBuffer;
5 10 import java.nio.FloatBuffer;
6 11 import java.nio.IntBuffer;
7 12  
  13 +import org.lwjgl.opengl.GL11;
  14 +import org.lwjgl.util.glu.GLU;
  15 +
8 16 import net.minecraft.client.renderer.GlStateManager;
9 17 import net.minecraft.client.renderer.GlStateManager.CullFace;
10 18 import net.minecraft.client.renderer.GlStateManager.FogMode;
... ... @@ -12,9 +20,6 @@ import net.minecraft.client.renderer.GlStateManager.TexGen;
12 20 import net.minecraft.client.renderer.vertex.DefaultVertexFormats;
13 21 import net.minecraft.client.renderer.vertex.VertexFormat;
14 22  
15   -import org.lwjgl.opengl.GL11;
16   -import org.lwjgl.util.glu.GLU;
17   -
18 23 /**
19 24 * Convenience class for working with Mojang's GLStateManager:
20 25 *
... ...
src/client/java/com/mumfrey/liteloader/gl/GLClippingPlanes.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.gl;
2 7  
3 8 import static org.lwjgl.opengl.GL11.*;
... ...
src/client/java/com/mumfrey/liteloader/resources/InternalResourcePack.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.resources;
2 7  
3 8 import java.awt.image.BufferedImage;
... ... @@ -47,7 +52,9 @@ public class InternalResourcePack implements IResourcePack
47 52 this.resourceClass = resourceClass;
48 53  
49 54 for (String domain : domains)
  55 + {
50 56 this.resourceDomains.add(domain);
  57 + }
51 58 }
52 59  
53 60 /* (non-Javadoc)
... ...
src/client/java/com/mumfrey/liteloader/resources/ModResourcePack.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.resources;
2 7  
3 8 import java.io.File;
... ...
src/client/java/com/mumfrey/liteloader/resources/ModResourcePackDir.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.resources;
2 7  
3 8 import java.io.File;
... ...
src/client/java/com/mumfrey/liteloader/util/InputManager.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.util;
2 7  
3 8 import java.io.File;
... ... @@ -12,6 +17,12 @@ import java.util.Map;
12 17 import java.util.Properties;
13 18 import java.util.Set;
14 19  
  20 +import com.mumfrey.liteloader.common.GameEngine;
  21 +import com.mumfrey.liteloader.core.LiteLoader;
  22 +import com.mumfrey.liteloader.launch.LoaderEnvironment;
  23 +import com.mumfrey.liteloader.launch.LoaderProperties;
  24 +import com.mumfrey.liteloader.util.jinput.ComponentRegistry;
  25 +
15 26 import net.java.games.input.Component;
16 27 import net.java.games.input.Controller;
17 28 import net.java.games.input.Event;
... ... @@ -19,12 +30,6 @@ import net.java.games.input.EventQueue;
19 30 import net.minecraft.client.settings.KeyBinding;
20 31 import net.minecraft.profiler.Profiler;
21 32  
22   -import com.mumfrey.liteloader.common.GameEngine;
23   -import com.mumfrey.liteloader.core.LiteLoader;
24   -import com.mumfrey.liteloader.launch.LoaderEnvironment;
25   -import com.mumfrey.liteloader.launch.LoaderProperties;
26   -import com.mumfrey.liteloader.util.jinput.ComponentRegistry;
27   -
28 33 /**
29 34 * Mod input class, aggregates functionality from LiteLoader's mod key
30 35 * registration functions and JInputLib.
... ... @@ -324,7 +329,9 @@ public final class InputManager extends Input
324 329 {
325 330 Set<Controller> allControllers = new HashSet<Controller>();
326 331 for (Controller controller : this.pollControllers)
  332 + {
327 333 allControllers.add(controller);
  334 + }
328 335 return allControllers;
329 336 }
330 337  
... ...
src/client/java/com/mumfrey/liteloader/util/ModUtilities.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader.util;
2 7  
3 8 import java.lang.reflect.Field;
... ...
src/debug/java/com/mumfrey/liteloader/debug/Start.java
... ... @@ -123,7 +123,6 @@ public abstract class Start
123 123  
124 124 File gameDir = new File(System.getProperty("user.dir"));
125 125 File assetsDir = new File(gameDir, "assets");
126   - File assetIndexDir = new File(assetsDir, "indexes");
127 126  
128 127 Start.addArg(qualifiedArgs, "--tweakClass", LiteLoaderTweaker.class.getName());
129 128 Start.addArg(qualifiedArgs, "--username", loginManager.getProfileName());
... ... @@ -131,10 +130,10 @@ public abstract class Start
131 130 Start.addArg(qualifiedArgs, "--accessToken", loginManager.getAuthenticatedToken());
132 131 Start.addArg(qualifiedArgs, "--userType", loginManager.getUserType());
133 132 Start.addArg(qualifiedArgs, "--userProperties", loginManager.getUserProperties());
134   - Start.addArg(qualifiedArgs, "--version", "mcp", true);
135   - Start.addArg(qualifiedArgs, "--gameDir", gameDir.getAbsolutePath(), true);
136   - Start.addArg(qualifiedArgs, "--assetIndex", LiteLoaderTweaker.VERSION, true);
137   - Start.addArg(qualifiedArgs, "--assetsDir", assetsDir.getAbsolutePath(), !assetIndexDir.exists());
  133 + Start.addArg(qualifiedArgs, "--version", "mcp");
  134 + Start.addArg(qualifiedArgs, "--gameDir", gameDir.getAbsolutePath());
  135 + Start.addArg(qualifiedArgs, "--assetIndex", LiteLoaderTweaker.VERSION);
  136 + Start.addArg(qualifiedArgs, "--assetsDir", assetsDir.getAbsolutePath());
138 137 }
139 138  
140 139 private static void addRequiredArgsServer(String[] args, List<String> unqualifiedArgs, Map<String, Set<String>> qualifiedArgs)
... ... @@ -163,22 +162,13 @@ public abstract class Start
163 162  
164 163 private static void addArg(Map<String, Set<String>> qualifiedArgs, String qualifier, String arg)
165 164 {
166   - Start.addArg(qualifiedArgs, qualifier, arg, false);
167   - }
168   -
169   - private static void addArg(Map<String, Set<String>> qualifiedArgs, String qualifier, String arg, boolean skipExisting)
170   - {
171 165 Set<String> args = qualifiedArgs.get(qualifier);
172   -
  166 +
173 167 if (args == null)
174 168 {
175 169 args = new HashSet<String>();
176 170 qualifiedArgs.put(qualifier, args);
177 171 }
178   - else if (skipExisting)
179   - {
180   - return;
181   - }
182 172  
183 173 if (!Start.MULTI_VALUE_ARGS.contains(qualifier))
184 174 {
... ...
src/main/java/com/mumfrey/liteloader/Configurable.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader;
2 7  
3 8 import com.mumfrey.liteloader.modconfig.ConfigPanel;
... ...
src/main/java/com/mumfrey/liteloader/LiteMod.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader;
2 7  
3 8 import java.io.File;
... ...
src/main/java/com/mumfrey/liteloader/PacketHandler.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader;
2 7  
3 8 import java.util.List;
... ...
src/main/java/com/mumfrey/liteloader/Permissible.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader;
2 7  
3 8 import com.mumfrey.liteloader.permissions.PermissionsManager;
... ...
src/main/java/com/mumfrey/liteloader/PlayerInteractionListener.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader;
2 7  
3 8 import net.minecraft.entity.player.EntityPlayerMP;
4 9 import net.minecraft.item.ItemStack;
5   -import net.minecraft.util.math.BlockPos;
6 10 import net.minecraft.util.EnumFacing;
7 11 import net.minecraft.util.EnumHand;
  12 +import net.minecraft.util.math.BlockPos;
8 13 import net.minecraft.util.math.RayTraceResult.Type;
9 14  
10 15 /**
... ...
src/main/java/com/mumfrey/liteloader/PlayerMoveListener.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader;
2 7  
3   -import net.minecraft.entity.player.EntityPlayerMP;
4   -
5 8 import com.mumfrey.liteloader.core.LiteLoaderEventBroker.ReturnValue;
6 9 import com.mumfrey.liteloader.util.Position;
7 10  
  11 +import net.minecraft.entity.player.EntityPlayerMP;
  12 +
8 13 /**
9 14 * Interface for mods which want to monitor or control player movements
10 15 *
... ...
src/main/java/com/mumfrey/liteloader/PluginChannelListener.java
  1 +/*
  2 + * This file is part of LiteLoader.
  3 + * Copyright (C) 2012-16 Adam Mummery-Smith
  4 + * All Rights Reserved.
  5 + */
1 6 package com.mumfrey.liteloader;
2 7  
3   -import net.minecraft.network.PacketBuffer;
4   -
5 8 import com.mumfrey.liteloader.core.CommonPluginChannelListener;
6 9  
  10 +import net.minecraft.network.PacketBuffer;
  11 +
7 12 /**
8 13 * Interface for mods which want to use plugin channels
9 14 *
... ...