mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-22 21:20:04 +00:00
More Changes Attempted
Attempting to figure out how to render 2 versions of one EntityCustomNpc, all attempts failed thus far.
This commit is contained in:
1 parent
e7424227e8
commit
51b8e34c02
7 files changed
+14
-10
No files matched your search
@@ -42,7 +42,13 @@ public class ImageBufferDownloadAlt extends ImageBufferDownload
|
||||
g.dispose();
|
||||
imageData = ((DataBufferInt)bufferedimage1.getRaster().getDataBuffer()).getData();
|
||||
|
||||
setAreaTransparent(imageWidth / 2, 0, imageWidth, imageHeight / 2);
|
||||
if(NPC64){
|
||||
setAreaTransparent(imageWidth / 2, 0, imageWidth, imageHeight / 4);
|
||||
}
|
||||
else{
|
||||
setAreaTransparent(imageWidth / 2, 0, imageWidth, imageHeight / 2);
|
||||
}
|
||||
|
||||
|
||||
return bufferedimage1;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user