don't desaturate the colors.

This commit is contained in:
Matthew Messinger 2015-12-13 03:30:27 -05:00
parent 22d2c18e79
commit cbe19c4732
2 changed files with 6 additions and 1 deletions

View file

@ -87,3 +87,8 @@ reobf{
jar.task.enabled = false jar.task.enabled = false
standaloneJar{} standaloneJar{}
} }
task installMod(type: Copy, dependsOn: build) {
from standaloneJar.archivePath
into file("$System.env.APPDATA/.minecraft/mods")
}

View file

@ -113,7 +113,7 @@ public class LayerHeldPonyItem implements LayerRenderer {
disableLighting(); disableLighting();
enableBlend(); enableBlend();
blendFunc(GL11.GL_CONSTANT_COLOR, 1); blendFunc(GL11.GL_CONSTANT_COLOR, 1);
GL14.glBlendColor(red / 2, green / 2, blue / 2, alpha); GL14.glBlendColor(red, green, blue, alpha);
IBakedModel model = getItemModel(Minecraft.getMinecraft().getRenderItem(), entity, drop); IBakedModel model = getItemModel(Minecraft.getMinecraft().getRenderItem(), entity, drop);
if (model.isGui3d()) { if (model.isGui3d()) {
// disabling textures for items messes up bounds // disabling textures for items messes up bounds