adjust selection color values, as in 1.22 the whole block selection color changes, instead of the single selection box
This commit is contained in:
@@ -527,9 +527,9 @@ public class BlockReusableBeehive : Block
|
||||
return baseColor;
|
||||
|
||||
if (IsFilledFeedFrame(be.Inventory[slotIndex].Itemstack))
|
||||
return new Vec4f(0.8f, 0.2f, 0f, baseColor.A);
|
||||
return new Vec4f(0.8f / 3f, 0.2f / 3f, 0f, baseColor.A);
|
||||
|
||||
return new Vec4f(0.6f, 0.3f, 0f, baseColor.A);
|
||||
return new Vec4f(0.2f, 0.1f, 0f, baseColor.A);
|
||||
}
|
||||
|
||||
private static bool IsFrame(ItemStack? stack)
|
||||
|
||||
Reference in New Issue
Block a user