mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-27 03:52:55 +00:00
Proper Reformating
This commit is contained in:
1 parent
ce75880aba
commit
180d257024
1179 files changed
+59847
-61583
No files matched your search
@@ -34,7 +34,7 @@ public class ItemBannerWallRenderer implements IItemRenderer {
|
||||
TextureManager manager = Minecraft.getMinecraft().getTextureManager();
|
||||
|
||||
GL11.glPushMatrix();
|
||||
if (type == ItemRenderType.EQUIPPED || type == ItemRenderType.EQUIPPED_FIRST_PERSON){
|
||||
if (type == ItemRenderType.EQUIPPED || type == ItemRenderType.EQUIPPED_FIRST_PERSON) {
|
||||
GL11.glTranslatef(0.5F, 0.5F, 0.5F);
|
||||
}
|
||||
|
||||
@@ -46,7 +46,7 @@ public class ItemBannerWallRenderer implements IItemRenderer {
|
||||
GL11.glPushAttrib(GL11.GL_ALL_ATTRIB_BITS);
|
||||
GL11.glEnable(GL11.GL_ALPHA_TEST);
|
||||
|
||||
if(ConfigClient.LegacyBanner){
|
||||
if (ConfigClient.LegacyBanner) {
|
||||
BlockWallBannerRenderer.setMaterialTexture(meta);
|
||||
GL11.glColor3f(1, 1, 1);
|
||||
BlockWallBannerRenderer.modelLegacyWallBanner.render(null, 0, 0, 0, 0, 0.0F, 0.0625F);
|
||||
@@ -54,8 +54,7 @@ public class ItemBannerWallRenderer implements IItemRenderer {
|
||||
manager.bindTexture(BlockBannerRenderer.legacyFlagResource);
|
||||
GL11.glColor3f(color[0], color[1], color[2]);
|
||||
BlockWallBannerRenderer.modelLegacyWallBannerFlag.render(null, 0, 0, 0, 0, 0.0F, 0.0625F);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
BlockWallBannerRenderer.flag.BannerFlag.rotateAngleX = 0;
|
||||
BlockBannerRenderer.setBannerMaterial(meta);
|
||||
BlockWallBannerRenderer.model.render(null, 0, 0, 0, 0, 0.0F, 0.0625F);
|
||||
|
||||
Reference in new issue
Block a user