mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-17 13:25:10 +00:00
Added setAlpha to skin overlays
This commit is contained in:
1 parent
6f9358c1ca
commit
83fbccdf55
5 files changed
+19
-7
No files matched your search
@@ -5,6 +5,7 @@ import noppes.npcs.scripted.interfaces.ISkinOverlay;
|
||||
public class ScriptSkinOverlay implements ISkinOverlay {
|
||||
public String texture;
|
||||
public boolean glow;
|
||||
public float alpha = 1.0F;
|
||||
|
||||
public ScriptSkinOverlay(String texture) {
|
||||
this.texture = texture;
|
||||
@@ -23,4 +24,11 @@ public class ScriptSkinOverlay implements ISkinOverlay {
|
||||
public boolean getGlow() {
|
||||
return glow;
|
||||
}
|
||||
|
||||
public void setAlpha(float alpha) {
|
||||
this.alpha = alpha;
|
||||
}
|
||||
public float getAlpha() {
|
||||
return alpha;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user