cleanup, change dye colors
This commit is contained in:
parent
a73901a584
commit
1fe5003028
77 changed files with 409 additions and 1004 deletions
|
@ -22,7 +22,7 @@ public class LayerWolfCollar implements LayerRenderer<EntityWolf>
|
|||
if (entitylivingbaseIn.isTamed()) // && !entitylivingbaseIn.isInvisible())
|
||||
{
|
||||
this.wolfRenderer.bindTexture(WOLF_COLLAR);
|
||||
DyeColor enumdyecolor = DyeColor.byMetadata(entitylivingbaseIn.getCollarColor().getMetadata());
|
||||
DyeColor enumdyecolor = entitylivingbaseIn.getCollarColor();
|
||||
float[] afloat = EntitySheep.getDyeRgb(enumdyecolor);
|
||||
GlState.color(afloat[0], afloat[1], afloat[2], 1.0F);
|
||||
this.wolfRenderer.getMainModel().render(entitylivingbaseIn, p_177141_2_, p_177141_3_, p_177141_5_, p_177141_6_, p_177141_7_, scale);
|
||||
|
|
|
@ -3,9 +3,9 @@ package client.renderer.particle;
|
|||
import client.Client;
|
||||
import client.renderer.RenderBuffer;
|
||||
import client.world.WorldClient;
|
||||
import common.color.DyeColor;
|
||||
import common.entity.Entity;
|
||||
import common.init.SoundEvent;
|
||||
import common.item.material.ItemDye;
|
||||
import common.tags.TagObject;
|
||||
import java.util.List;
|
||||
import common.util.BoundingBox;
|
||||
|
@ -277,7 +277,7 @@ public class EntityFirework
|
|||
|
||||
if (aint.length == 0)
|
||||
{
|
||||
aint = new int[] {ItemDye.FIREWORK_COLORS[0]};
|
||||
aint = new int[] {DyeColor.WHITE.getColor()};
|
||||
}
|
||||
|
||||
if (l == 1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue