cleanup, change dye colors

This commit is contained in:
Sen 2025-06-30 20:48:53 +02:00
parent a73901a584
commit 1fe5003028
Signed by: sen
GPG key ID: 3AC50A6F47D1B722
77 changed files with 409 additions and 1004 deletions

View file

@ -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);

View file

@ -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)