mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-25 13:57:59 +01:00
don't desaturate the colors.
This commit is contained in:
parent
22d2c18e79
commit
cbe19c4732
2 changed files with 6 additions and 1 deletions
|
@ -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")
|
||||||
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue