Shuffle packages around to make more sense (and so I can find things)

This commit is contained in:
Sollace 2018-07-15 00:18:53 +02:00
parent fc0920ce15
commit 0393945904
32 changed files with 60 additions and 44 deletions

View file

@ -22,13 +22,14 @@ import com.mojang.util.UUIDTypeAdapter;
import com.mumfrey.liteloader.core.LiteLoader;
import com.mumfrey.liteloader.util.log.LiteLoaderLogger;
import com.voxelmodpack.hdskins.gui.GuiSkins;
import com.voxelmodpack.hdskins.resource.SkinResourceManager;
import com.voxelmodpack.hdskins.skins.AsyncCacheLoader;
import com.voxelmodpack.hdskins.skins.BethlehemSkinServer;
import com.voxelmodpack.hdskins.skins.LegacySkinServer;
import com.voxelmodpack.hdskins.skins.ServerType;
import com.voxelmodpack.hdskins.skins.SkinServer;
import com.voxelmodpack.hdskins.skins.ValhallaSkinServer;
import com.voxelmodpack.hdskins.resources.SkinResourceManager;
import com.voxelmodpack.hdskins.server.BethlehemSkinServer;
import com.voxelmodpack.hdskins.server.LegacySkinServer;
import com.voxelmodpack.hdskins.server.ServerType;
import com.voxelmodpack.hdskins.server.SkinServer;
import com.voxelmodpack.hdskins.server.ValhallaSkinServer;
import com.voxelmodpack.hdskins.util.AsyncCacheLoader;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.IImageBuffer;
import net.minecraft.client.renderer.texture.ITextureObject;

View file

@ -9,6 +9,7 @@ import com.voxelmodpack.hdskins.HDSkinManager;
import com.voxelmodpack.hdskins.ImageBufferDownloadHD;
import com.voxelmodpack.hdskins.PreviewTexture;
import com.voxelmodpack.hdskins.PreviewTextureManager;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.texture.DynamicTexture;
import net.minecraft.client.renderer.texture.TextureManager;

View file

@ -1,7 +1,7 @@
package com.voxelmodpack.hdskins.gui;
import com.google.common.collect.Lists;
import com.voxelmodpack.hdskins.upload.awt.FileDropper;
import com.voxelmodpack.hdskins.upload.FileDropper;
import net.minecraft.client.Minecraft;
import net.minecraft.client.resources.DefaultResourcePack;

View file

@ -10,9 +10,11 @@ import com.mojang.authlib.GameProfile;
import com.mojang.authlib.minecraft.MinecraftProfileTexture;
import com.mumfrey.liteloader.util.log.LiteLoaderLogger;
import com.voxelmodpack.hdskins.HDSkinManager;
import com.voxelmodpack.hdskins.skins.SkinServer;
import com.voxelmodpack.hdskins.skins.SkinUploadResponse;
import com.voxelmodpack.hdskins.upload.awt.ThreadOpenFilePNG;
import com.voxelmodpack.hdskins.server.SkinServer;
import com.voxelmodpack.hdskins.server.SkinUploadResponse;
import com.voxelmodpack.hdskins.upload.FileDropListener;
import com.voxelmodpack.hdskins.upload.ThreadOpenFilePNG;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.Gui;
import net.minecraft.client.gui.GuiButton;

View file

@ -13,8 +13,9 @@ import com.voxelmodpack.hdskins.gui.EntityPlayerModel;
import com.voxelmodpack.hdskins.gui.GLWindow;
import com.voxelmodpack.hdskins.gui.HDSkinsConfigPanel;
import com.voxelmodpack.hdskins.gui.RenderPlayerModel;
import com.voxelmodpack.hdskins.skins.SkinServer;
import com.voxelmodpack.hdskins.skins.SkinServerSerializer;
import com.voxelmodpack.hdskins.server.SkinServer;
import com.voxelmodpack.hdskins.server.SkinServerSerializer;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.ScaledResolution;
import net.minecraft.client.resources.IReloadableResourceManager;

View file

@ -1,4 +1,4 @@
package com.voxelmodpack.hdskins.resource;
package com.voxelmodpack.hdskins.resources;
import com.voxelmodpack.hdskins.DynamicTextureImage;
import com.voxelmodpack.hdskins.ImageBufferDownloadHD;

View file

@ -1,4 +1,4 @@
package com.voxelmodpack.hdskins.resource;
package com.voxelmodpack.hdskins.resources;
import net.minecraft.util.ResourceLocation;
@ -7,7 +7,6 @@ import java.util.UUID;
@SuppressWarnings("unused")
class SkinData {
List<Skin> skins;
}

View file

@ -1,4 +1,4 @@
package com.voxelmodpack.hdskins.resource;
package com.voxelmodpack.hdskins.resources;
import com.google.common.collect.Maps;
import com.google.gson.Gson;

View file

@ -1,6 +1,6 @@
@MethodsReturnNonnullByDefault
@ParametersAreNonnullByDefault
package com.voxelmodpack.hdskins.upload.awt;
package com.voxelmodpack.hdskins.resources;
import mcp.MethodsReturnNonnullByDefault;

View file

@ -1,4 +1,4 @@
package com.voxelmodpack.hdskins.skins;
package com.voxelmodpack.hdskins.server;
import java.net.URI;
import java.util.Locale;
@ -16,6 +16,10 @@ import com.mojang.authlib.minecraft.MinecraftProfileTexture.Type;
import com.mojang.authlib.yggdrasil.response.MinecraftTexturesPayload;
import com.mojang.util.UUIDTypeAdapter;
import com.voxelmodpack.hdskins.HDSkinManager;
import com.voxelmodpack.hdskins.util.CallableFutures;
import com.voxelmodpack.hdskins.util.IndentedToStringStyle;
import com.voxelmodpack.hdskins.util.NetClient;
import net.minecraft.util.Session;
@ServerType("bethlehem")

View file

@ -1,4 +1,4 @@
package com.voxelmodpack.hdskins.skins;
package com.voxelmodpack.hdskins.server;
import com.google.common.base.Strings;
import com.google.common.collect.ImmutableMap;
@ -8,7 +8,10 @@ import com.mojang.authlib.minecraft.MinecraftProfileTexture;
import com.mojang.authlib.yggdrasil.response.MinecraftTexturesPayload;
import com.mojang.util.UUIDTypeAdapter;
import com.voxelmodpack.hdskins.HDSkinManager;
import com.voxelmodpack.hdskins.upload.ThreadMultipartPostUpload;
import com.voxelmodpack.hdskins.util.CallableFutures;
import com.voxelmodpack.hdskins.util.IndentedToStringStyle;
import com.voxelmodpack.hdskins.util.ThreadMultipartPostUpload;
import net.minecraft.util.Session;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.logging.log4j.LogManager;

View file

@ -1,4 +1,4 @@
package com.voxelmodpack.hdskins.skins;
package com.voxelmodpack.hdskins.server;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;

View file

@ -1,4 +1,4 @@
package com.voxelmodpack.hdskins.skins;
package com.voxelmodpack.hdskins.server;
import com.google.common.collect.Lists;
import com.google.gson.Gson;

View file

@ -1,4 +1,4 @@
package com.voxelmodpack.hdskins.skins;
package com.voxelmodpack.hdskins.server;
import com.google.gson.JsonDeserializationContext;
import com.google.gson.JsonDeserializer;

View file

@ -1,4 +1,4 @@
package com.voxelmodpack.hdskins.skins;
package com.voxelmodpack.hdskins.server;
import com.google.common.base.MoreObjects;

View file

@ -1,4 +1,4 @@
package com.voxelmodpack.hdskins.skins;
package com.voxelmodpack.hdskins.server;
import com.google.common.collect.Maps;
import com.google.gson.Gson;
@ -17,6 +17,7 @@ import java.util.UUID;
* required because it has no useful constructor. This uses reflection
* via Gson to create a new instance and populate the fields.
*/
@Deprecated
@SuppressWarnings("unused")
public class TexturesPayloadBuilder {

View file

@ -1,4 +1,4 @@
package com.voxelmodpack.hdskins.skins;
package com.voxelmodpack.hdskins.server;
import com.google.common.base.Preconditions;
import com.google.gson.JsonObject;
@ -9,6 +9,9 @@ import com.mojang.authlib.minecraft.MinecraftProfileTexture;
import com.mojang.authlib.yggdrasil.response.MinecraftTexturesPayload;
import com.mojang.util.UUIDTypeAdapter;
import com.voxelmodpack.hdskins.HDSkinManager;
import com.voxelmodpack.hdskins.util.CallableFutures;
import com.voxelmodpack.hdskins.util.IndentedToStringStyle;
import net.minecraft.client.Minecraft;
import net.minecraft.util.Session;
import org.apache.commons.lang3.builder.ToStringBuilder;

View file

@ -1,6 +1,6 @@
@MethodsReturnNonnullByDefault
@ParametersAreNonnullByDefault
package com.voxelmodpack.hdskins.resource;
package com.voxelmodpack.hdskins.server;
import mcp.MethodsReturnNonnullByDefault;

View file

@ -1,4 +1,4 @@
package com.voxelmodpack.hdskins.gui;
package com.voxelmodpack.hdskins.upload;
import java.awt.datatransfer.DataFlavor;
import java.awt.datatransfer.UnsupportedFlavorException;

View file

@ -1,4 +1,4 @@
package com.voxelmodpack.hdskins.upload.awt;
package com.voxelmodpack.hdskins.upload;
import java.awt.Color;
import java.awt.dnd.DropTarget;

View file

@ -1,4 +1,4 @@
package com.voxelmodpack.hdskins.upload.awt;
package com.voxelmodpack.hdskins.upload;
import javax.swing.JFileChooser;

View file

@ -1,4 +1,4 @@
package com.voxelmodpack.hdskins.upload.awt;
package com.voxelmodpack.hdskins.upload;
import javax.swing.JFrame;

View file

@ -1,4 +1,4 @@
package com.voxelmodpack.hdskins.upload.awt;
package com.voxelmodpack.hdskins.upload;
import net.minecraft.client.Minecraft;

View file

@ -1,4 +1,4 @@
package com.voxelmodpack.hdskins.upload.awt;
package com.voxelmodpack.hdskins.upload;
import net.minecraft.client.Minecraft;

View file

@ -1,4 +1,4 @@
package com.voxelmodpack.hdskins.skins;
package com.voxelmodpack.hdskins.util;
import com.google.common.cache.CacheLoader;
import com.google.common.util.concurrent.ListenableFuture;

View file

@ -1,4 +1,4 @@
package com.voxelmodpack.hdskins.skins;
package com.voxelmodpack.hdskins.util;
import java.util.concurrent.Callable;
import java.util.concurrent.CompletableFuture;

View file

@ -1,4 +1,4 @@
package com.voxelmodpack.hdskins.skins;
package com.voxelmodpack.hdskins.util;
import org.apache.commons.lang3.SystemUtils;
import org.apache.commons.lang3.builder.ToStringStyle;

View file

@ -1,4 +1,4 @@
package com.voxelmodpack.hdskins;
package com.voxelmodpack.hdskins.util;
public final class Later extends Thread {

View file

@ -1,4 +1,4 @@
package com.voxelmodpack.hdskins.skins;
package com.voxelmodpack.hdskins.util;
import java.io.BufferedReader;
import java.io.File;

View file

@ -1,4 +1,4 @@
package com.voxelmodpack.hdskins.upload;
package com.voxelmodpack.hdskins.util;
import org.apache.commons.io.IOUtils;

View file

@ -1,6 +1,6 @@
@MethodsReturnNonnullByDefault
@ParametersAreNonnullByDefault
package com.voxelmodpack.hdskins.skins;
package com.voxelmodpack.hdskins.util;
import mcp.MethodsReturnNonnullByDefault;

View file

@ -7,8 +7,9 @@ import com.minelittlepony.pony.data.PonyDataSerialzier;
import com.minelittlepony.render.PonySkullRenderer;
import com.mumfrey.liteloader.core.LiteLoader;
import com.voxelmodpack.hdskins.HDSkinManager;
import com.voxelmodpack.hdskins.skins.LegacySkinServer;
import com.voxelmodpack.hdskins.skins.SkinServer;
import com.voxelmodpack.hdskins.server.LegacySkinServer;
import com.voxelmodpack.hdskins.server.SkinServer;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.entity.RenderManager;
import net.minecraft.client.resources.IReloadableResourceManager;