aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorboubou19 <miisterunknown@gmail.com>2022-11-17 18:33:41 +0100
committerGitHub <noreply@github.com>2022-11-17 18:33:41 +0100
commit58c7446c8525d8d5056f98dcc4507ea5d7ac3e7b (patch)
treec42c818e7ff6f783a71968124e01b8123befe5fd /src
parent4f9df097a7b25251f8d085081fcf95a0fec05219 (diff)
downloadGT5-Unofficial-58c7446c8525d8d5056f98dcc4507ea5d7ac3e7b.tar.gz
GT5-Unofficial-58c7446c8525d8d5056f98dcc4507ea5d7ac3e7b.tar.bz2
GT5-Unofficial-58c7446c8525d8d5056f98dcc4507ea5d7ac3e7b.zip
added new capes, credit to @Jimbno (#1519)
Diffstat (limited to 'src')
-rw-r--r--src/main/java/gregtech/common/render/GT_CapeRenderer.java16
-rw-r--r--src/main/resources/assets/gregtech/textures/Steam.pngbin0 -> 12169 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/TecCape.pngbin1576004 -> 0 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/neutronium.pngbin0 -> 8377 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/stargate.pngbin0 -> 186205 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/titanium.pngbin0 -> 10273 bytes
6 files changed, 14 insertions, 2 deletions
diff --git a/src/main/java/gregtech/common/render/GT_CapeRenderer.java b/src/main/java/gregtech/common/render/GT_CapeRenderer.java
index 0ec2778165..2d946efd04 100644
--- a/src/main/java/gregtech/common/render/GT_CapeRenderer.java
+++ b/src/main/java/gregtech/common/render/GT_CapeRenderer.java
@@ -22,7 +22,10 @@ public class GT_CapeRenderer extends RenderPlayer {
new ResourceLocation("gregtech:textures/GregoriusCape.png"),
new ResourceLocation("gregtech:textures/DonorCape.png"),
new ResourceLocation("gregtech:textures/DevCape.png"),
- new ResourceLocation("gregtech:textures/TecCape.png")
+ new ResourceLocation("gregtech:textures/Steam.png"),
+ new ResourceLocation("gregtech:textures/Titanium.png"),
+ new ResourceLocation("gregtech:textures/Neutronium.png"),
+ new ResourceLocation("gregtech:textures/Stargate.png")
};
private final Collection<String> mCapeList;
@@ -64,9 +67,18 @@ public class GT_CapeRenderer extends RenderPlayer {
if (this.mCapeList.contains(aPlayer.getDisplayName().toLowerCase() + ":capedev")) {
tResource = this.mCapes[5];
}
- if (this.mCapeList.contains(aPlayer.getDisplayName().toLowerCase() + ":capetec")) {
+ if (this.mCapeList.contains(aPlayer.getDisplayName().toLowerCase() + ":cape_steam")) {
tResource = this.mCapes[6];
}
+ if (this.mCapeList.contains(aPlayer.getDisplayName().toLowerCase() + ":cape_titanium")) {
+ tResource = this.mCapes[7];
+ }
+ if (this.mCapeList.contains(aPlayer.getDisplayName().toLowerCase() + ":cape_neutronium")) {
+ tResource = this.mCapes[8];
+ }
+ if (this.mCapeList.contains(aPlayer.getDisplayName().toLowerCase() + ":cape_stargate")) {
+ tResource = this.mCapes[9];
+ }
if ((tResource != null) && (!aPlayer.getHideCape())) {
bindTexture(tResource);
diff --git a/src/main/resources/assets/gregtech/textures/Steam.png b/src/main/resources/assets/gregtech/textures/Steam.png
new file mode 100644
index 0000000000..f3cc27bbb6
--- /dev/null
+++ b/src/main/resources/assets/gregtech/textures/Steam.png
Binary files differ
diff --git a/src/main/resources/assets/gregtech/textures/TecCape.png b/src/main/resources/assets/gregtech/textures/TecCape.png
deleted file mode 100644
index fff0cc22a7..0000000000
--- a/src/main/resources/assets/gregtech/textures/TecCape.png
+++ /dev/null
Binary files differ
diff --git a/src/main/resources/assets/gregtech/textures/neutronium.png b/src/main/resources/assets/gregtech/textures/neutronium.png
new file mode 100644
index 0000000000..3e8df261b0
--- /dev/null
+++ b/src/main/resources/assets/gregtech/textures/neutronium.png
Binary files differ
diff --git a/src/main/resources/assets/gregtech/textures/stargate.png b/src/main/resources/assets/gregtech/textures/stargate.png
new file mode 100644
index 0000000000..c19ffe8cca
--- /dev/null
+++ b/src/main/resources/assets/gregtech/textures/stargate.png
Binary files differ
diff --git a/src/main/resources/assets/gregtech/textures/titanium.png b/src/main/resources/assets/gregtech/textures/titanium.png
new file mode 100644
index 0000000000..acb4f0ddab
--- /dev/null
+++ b/src/main/resources/assets/gregtech/textures/titanium.png
Binary files differ