more cape handouts

This commit is contained in:
Bob 2020-07-14 00:27:46 +02:00
parent 371105a0f7
commit d07f769926
6 changed files with 23 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 995 B

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -1,9 +1,12 @@
package com.hbm.lib; package com.hbm.lib;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.HashSet;
import java.util.List; import java.util.List;
import java.util.Random; import java.util.Random;
import java.util.Set;
import com.google.common.collect.Sets;
import com.hbm.blocks.ModBlocks; import com.hbm.blocks.ModBlocks;
import com.hbm.calc.UnionOfTileEntitiesAndBooleans; import com.hbm.calc.UnionOfTileEntitiesAndBooleans;
import com.hbm.calc.UnionOfTileEntitiesAndBooleansForFluids; import com.hbm.calc.UnionOfTileEntitiesAndBooleansForFluids;
@ -70,6 +73,13 @@ public class Library {
public static String GOD___TM = "57146e3f-16b5-4e9f-b0b8-139bec2ca2cb"; public static String GOD___TM = "57146e3f-16b5-4e9f-b0b8-139bec2ca2cb";
public static String ZippySqrl = "03c20435-a229-489a-a1a1-671b803f7017"; public static String ZippySqrl = "03c20435-a229-489a-a1a1-671b803f7017";
public static String Schrabby = "3a4a1944-5154-4e67-b80a-b6561e8630b7"; public static String Schrabby = "3a4a1944-5154-4e67-b80a-b6561e8630b7";
public static String SweatySwiggs = "5544aa30-b305-4362-b2c1-67349bb499d5";
public static String Drillgon = "41ebd03f-7a12-42f3-b037-0caa4d6f235b";
public static Set<String> contributors = Sets.newHashSet(new String[] {
"06ab7c03-55ce-43f8-9d3c-2850e3c652de", //mustang_rudolf
"5bf069bc-5b46-4179-aafe-35c0a07dee8b", //JMF781
});
//the old list that allowed superuser mode for the ZOMG //the old list that allowed superuser mode for the ZOMG
//currently unused //currently unused

View File

@ -26,6 +26,8 @@ public class RenderAccessoryUtility {
private static ResourceLocation zippy = new ResourceLocation(RefStrings.MODID + ":textures/models/capes/CapeZippySqrl.png"); private static ResourceLocation zippy = new ResourceLocation(RefStrings.MODID + ":textures/models/capes/CapeZippySqrl.png");
private static ResourceLocation test = new ResourceLocation(RefStrings.MODID + ":textures/models/capes/CapeTest.png"); private static ResourceLocation test = new ResourceLocation(RefStrings.MODID + ":textures/models/capes/CapeTest.png");
private static ResourceLocation schrabby = new ResourceLocation(RefStrings.MODID + ":textures/models/capes/CapeSchrabbyAlt.png"); private static ResourceLocation schrabby = new ResourceLocation(RefStrings.MODID + ":textures/models/capes/CapeSchrabbyAlt.png");
private static ResourceLocation swiggs = new ResourceLocation(RefStrings.MODID + ":textures/models/capes/CapeSweatySwiggs.png");
private static ResourceLocation wiki = new ResourceLocation(RefStrings.MODID + ":textures/models/capes/CapeWiki.png");
public static ResourceLocation getCloakFromPlayer(EntityPlayer player) { public static ResourceLocation getCloakFromPlayer(EntityPlayer player) {
@ -39,6 +41,10 @@ public class RenderAccessoryUtility {
else else
return hbm2; return hbm2;
} }
if(uuid.equals(Library.Drillgon)) {
return hbm;
}
if(uuid.equals(Library.Dafnik)) { if(uuid.equals(Library.Dafnik)) {
return dafnik; return dafnik;
} }
@ -82,6 +88,12 @@ public class RenderAccessoryUtility {
if(uuid.equals(Library.Schrabby)) { if(uuid.equals(Library.Schrabby)) {
return schrabby; return schrabby;
} }
if(uuid.equals(Library.SweatySwiggs)) {
return swiggs;
}
if(Library.contributors.contains(uuid)) {
return wiki;
}
if(name.startsWith("Player")) { if(name.startsWith("Player")) {
return test; return test;
} }