mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-26 06:18:00 +01:00
Fixed seaponies messing with transparency effects
This commit is contained in:
parent
0226743f31
commit
cd27adb14e
1 changed files with 4 additions and 0 deletions
|
@ -12,6 +12,8 @@ import net.minecraft.entity.Entity;
|
||||||
import net.minecraft.entity.EntityLivingBase;
|
import net.minecraft.entity.EntityLivingBase;
|
||||||
import net.minecraft.util.math.MathHelper;
|
import net.minecraft.util.math.MathHelper;
|
||||||
|
|
||||||
|
import org.lwjgl.opengl.GL11;
|
||||||
|
|
||||||
public class ModelSeapony extends ModelUnicorn {
|
public class ModelSeapony extends ModelUnicorn {
|
||||||
|
|
||||||
PonyRenderer bodyCenter;
|
PonyRenderer bodyCenter;
|
||||||
|
@ -125,6 +127,7 @@ public class ModelSeapony extends ModelUnicorn {
|
||||||
|
|
||||||
tail.renderPart(scale);
|
tail.renderPart(scale);
|
||||||
|
|
||||||
|
GL11.glPushAttrib(GL11.GL_ALL_ATTRIB_BITS);
|
||||||
GlStateManager.enableBlend();
|
GlStateManager.enableBlend();
|
||||||
|
|
||||||
|
|
||||||
|
@ -133,6 +136,7 @@ public class ModelSeapony extends ModelUnicorn {
|
||||||
rightFin.render(scale);
|
rightFin.render(scale);
|
||||||
|
|
||||||
GlStateManager.disableBlend();
|
GlStateManager.disableBlend();
|
||||||
|
GL11.glPopAttrib();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue