Skip to content
This repository has been archived by the owner on Jan 3, 2020. It is now read-only.

Commit

Permalink
update to v1.3-dev3
Browse files Browse the repository at this point in the history
  • Loading branch information
RecursiveG committed Apr 28, 2015
1 parent 1373935 commit 07659f2
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 23 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
### Universal Skin Mod
This is a mod for Minecraft, allowing players to select any "SkinServer" they like.

Latest version is v1.3-dev2 for Minecraft 1.8
Current version is v1.3-dev3 for Minecraft 1.8

### Features

Expand All @@ -10,6 +10,7 @@ Latest version is v1.3-dev2 for Minecraft 1.8
- Transparent pixels allowed (v1.2-dev2)
- Skull support (v1.2-dev4)
- UniSkinAPI support (v1.3-dev1)
- SkinMe added as pre-configured server (Can be removed from cfg)
- *Legacy style link NO LONGER supported* (1.3-dev2)

### Configure
Expand All @@ -19,10 +20,9 @@ Latest version is v1.3-dev2 for Minecraft 1.8
- Line starts with `Root: ` indicates a "Root" URL
- All servers will be queried in that order.
- Server in front has higher priority
- Official server has the highest priority
- Official server has the lowest priority
- For more info about the "Root" URL, visit [UniSkinAPI Document](https://github.com/RecursiveG/UniSkinServer/blob/master/doc/UniSkinAPI_zh-CN.md) please!
- **No more legacy style link support!**

### License
Licensed under GPLv2

6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ buildscript {

apply plugin: 'forge'

version = "1.3-dev2"
version = "1.3-dev3"
group= "org.devinprogress.uniskinmod"
archivesBaseName = "UniSkinMod-1.8"

Expand Down Expand Up @@ -46,11 +46,11 @@ processResources
// replace stuff in mcmod.info, nothing else
from(sourceSets.main.resources.srcDirs) {
include 'mcmod.info'

// replace version and mcversion
expand 'version':project.version, 'mcversion':project.minecraft.version
}

// copy everything else, thats not the mcmod.info
from(sourceSets.main.resources.srcDirs) {
exclude 'mcmod.info'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public ModContainer(){
ModMetadata meta = getMetadata();
meta.modId = "uniskinmod";
meta.name = "UniSkinMod";
meta.version = "1.3-dev2";
meta.version = "1.3-dev3";
meta.authorList = Arrays.asList("RecursiveG");
meta.description = "This mod makes it possible to load skins & capes from servers besides the official one.";
meta.url = "https://github.com/RecursiveG/UniSkinMod";
Expand Down
16 changes: 0 additions & 16 deletions src/main/java/org/devinprogress/uniskinmod/UniSkinMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,14 @@

import com.google.common.cache.Cache;
import com.google.common.cache.CacheBuilder;
import com.google.common.cache.CacheStats;
import com.google.common.cache.LoadingCache;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.Iterables;
import com.mojang.authlib.GameProfile;
import com.mojang.authlib.minecraft.MinecraftProfileTexture;
import com.mojang.authlib.properties.Property;
import com.mojang.authlib.properties.PropertyMap;
import com.mojang.authlib.yggdrasil.response.MinecraftProfilePropertiesResponse;
import com.mojang.authlib.yggdrasil.response.MinecraftTexturesPayload;
import com.mojang.authlib.yggdrasil.response.ProfileSearchResultsResponse;
import org.apache.commons.codec.Charsets;
import org.apache.commons.codec.binary.Base64;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

import javax.annotation.Nullable;
import java.lang.reflect.Field;
import java.util.*;
import java.util.concurrent.Callable;
import java.util.concurrent.ConcurrentMap;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.TimeUnit;

/**
Expand All @@ -46,7 +32,6 @@ public class UniSkinMod {
public static final List<String> roots=new ArrayList<String>();
private static Cache<String, Property> cache = CacheBuilder.newBuilder().expireAfterWrite(30, TimeUnit.MINUTES).build();


/** Hijack the GameProfile in NetworkPlayerInfo & Skull renderer*/
public static GameProfile fillGameProfile(final GameProfile gameProfileIn) {
if (gameProfileIn==null) return null;
Expand Down Expand Up @@ -82,5 +67,4 @@ public Property call() throws Exception {
gameProfileIn.getProperties().put("textures", finalP);
return gameProfileIn;
}

}

0 comments on commit 07659f2

Please sign in to comment.