final test
This commit is contained in:
9
README
9
README
@@ -1,9 +0,0 @@
|
||||
# Icons Enhanced
|
||||
|
||||
Icons Enhanced mejora la lectura de encantamientos y la UI sin cambiar el gameplay.
|
||||
|
||||
## Caracteristicas
|
||||
- Iconos y colores por encantamiento en los tooltips.
|
||||
- Descripciones de encantamientos.
|
||||
- Bordes en slots de inventario y contenedores.
|
||||
- Orden de encantamientos mejorado.
|
||||
9
README.md
Normal file
9
README.md
Normal file
@@ -0,0 +1,9 @@
|
||||
# Icons & Tooltips Enhanced
|
||||
|
||||
Icons & Tooltips Enhanced mejora la lectura de encantamientos y la UI sin cambiar el gameplay.
|
||||
|
||||
## Caracteristicas
|
||||
- Iconos y colores por encantamiento en los tooltips.
|
||||
- Descripciones de encantamientos.
|
||||
- Bordes en slots de inventario y contenedores.
|
||||
- Orden de encantamientos mejorado.
|
||||
5
assets/minecraft/textures/block/glass.png.mcmeta
Normal file
5
assets/minecraft/textures/block/glass.png.mcmeta
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"texture": {
|
||||
"mipmap_strategy": "mean"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"gui": {
|
||||
"scaling": {
|
||||
"type": "nine_slice",
|
||||
"width": 100,
|
||||
"height": 100,
|
||||
"border": 9
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"texture": {
|
||||
"blur": true
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@ loom_version=1.14-SNAPSHOT
|
||||
|
||||
# Mod metadata
|
||||
mod.id=iconsenhanced
|
||||
mod.name=Icons Enhanced
|
||||
mod.name=Icons & Tooltips Enhanced
|
||||
mod.version=1.0.0
|
||||
mod.group=dev.dekin
|
||||
mod.description=Client-only suite of enchantment and UI improvements.
|
||||
|
||||
@@ -19,7 +19,7 @@ private static final int TEXT_PADDING = 4;
|
||||
private static final int DETAIL_COLOR = 0xFFAAAAAA;
|
||||
private static final int TEXT_COLOR = 0xFFFFFFFF;
|
||||
private static final float DETAIL_SCALE = 0.85f;
|
||||
private static final int ICON_Y_OFFSET = -1;
|
||||
private static final int ICON_Y_OFFSET = -2;
|
||||
//? if <1.21.6 {
|
||||
/*private static final int FULL_BRIGHT = 0xF000F0;
|
||||
*///?}
|
||||
@@ -179,9 +179,9 @@ private static final int ICON_Y_OFFSET = -1;
|
||||
int r = (color >>> 16) & 0xFF;
|
||||
int g = (color >>> 8) & 0xFF;
|
||||
int b = color & 0xFF;
|
||||
r = (int) (r * 0.35f);
|
||||
g = (int) (g * 0.35f);
|
||||
b = (int) (b * 0.35f);
|
||||
r = (int) (r * 0.25f);
|
||||
g = (int) (g * 0.25f);
|
||||
b = (int) (b * 0.25f);
|
||||
return (a << 24) | (r << 16) | (g << 8) | b;
|
||||
}
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ public final class EnchantTooltipComponent implements ClientTooltipComponent {
|
||||
private static final int TEXT_PADDING = 4;
|
||||
private static final int BADGE_BG = 0xAA000000;
|
||||
private static final int BADGE_TEXT = 0xFFFFFFFF;
|
||||
private static final int ICON_Y_OFFSET = -1;
|
||||
private static final int ICON_Y_OFFSET = -2;
|
||||
//? if <1.21.6 {
|
||||
/*private static final int FULL_BRIGHT = 0xF000F0;
|
||||
*///?}
|
||||
@@ -234,9 +234,9 @@ private static final int ICON_Y_OFFSET = -1;
|
||||
int r = (color >>> 16) & 0xFF;
|
||||
int g = (color >>> 8) & 0xFF;
|
||||
int b = color & 0xFF;
|
||||
r = (int) (r * 0.35f);
|
||||
g = (int) (g * 0.35f);
|
||||
b = (int) (b * 0.35f);
|
||||
r = (int) (r * 0.25f);
|
||||
g = (int) (g * 0.25f);
|
||||
b = (int) (b * 0.25f);
|
||||
return (a << 24) | (r << 16) | (g << 8) | b;
|
||||
}
|
||||
|
||||
@@ -253,4 +253,6 @@ private static final int ICON_Y_OFFSET = -1;
|
||||
graphics.setColor(1.0f, 1.0f, 1.0f, 1.0f);
|
||||
}
|
||||
*///?}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 404 B After Width: | Height: | Size: 41 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 20 KiB |
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"texture": {
|
||||
"blur": false,
|
||||
"clamp": true
|
||||
"clamp": true,
|
||||
"mipmap_strategy": "strict_cutout"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user