Skip to content

Commit 082ba76

Browse files
committed
chore(release): 1.9.0
1 parent a9d80bd commit 082ba76

15 files changed

Lines changed: 78 additions & 41 deletions

‎CHANGELOG.md‎

Lines changed: 28 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,43 @@
1-
🗃️**Detailed Changelog: [1.8.0-beta --> 1.8.0](https://github.com/UltimatChamp/EnhancedTooltips/compare/1.8.0-beta+fabric.1.21.10...1.8.0+fabric.1.21.11)**
1+
🗃️**Detailed Changelog: [1.8.0 --> 1.9.0](https://github.com/UltimatChamp/EnhancedTooltips/compare/1.8.0+fabric.1.21.11...1.9.0+fabric.26.1)**
2+
3+
---
4+
5+
- [**YetAnotherConfigLib**](https://modrinth.com/mod/yacl) is now a required dependency.
26

37
---
48

59
### 💡Added
610

7-
- Support for **Minecraft** `1.21.11`.
11+
- Support for **Minecraft** `26.1`.
12+
- Added **Nautilus Armor Preview**.
13+
- Added an option to render the **Player model** _(default)_ besides Armor Stand to **Armor (Trim) Preview**. [**[#40]**](https://github.com/UltimatChamp/EnhancedTooltips/issues/40)
14+
- Added an option to **hide** _Item Names_ in the **Held Item Tooltip**. [**[#44]**](https://github.com/UltimatChamp/EnhancedTooltips/issues/44)
15+
- Resource-pack makers, rejoice!<br />
16+
Added **resource-pack support** to change the tooltip background and frames. [**[#54]**](https://github.com/UltimatChamp/EnhancedTooltips/issues/54)
17+
- Same as the vanilla format.
18+
- These are the paths:
19+
- **Background**: `assets/minecraft/textures/gui/sprites/background.png`
20+
- **Frame**: `assets/minecraft/textures/gui/sprites/frame.png` - Common
21+
- `assets/enhancedtooltips/textures/gui/sprites/frame/uncommon.png` - Uncommon
22+
- `assets/enhancedtooltips/textures/gui/sprites/frame/rare.png` - Rare
23+
- `assets/enhancedtooltips/textures/gui/sprites/frame/epic.png` - Epic
24+
- Added an option to **remove all spacing** from tooltips. [**[#67]**](https://github.com/UltimatChamp/EnhancedTooltips/issues/67)
825

926
---
1027

1128
### 🛠️Changes
1229

13-
- Fix _effect duration_ for **Lingering Potions**. [**[#63]**](https://github.com/UltimatChamp/EnhancedTooltips/issues/63)
14-
- Change the default for `Maximum Lines` for **Held Item Tooltip** from `10` to `5`. [**[#61]**](https://github.com/UltimatChamp/EnhancedTooltips/issues/61)
15-
- Also, lower the minimum possible value from `5` to `3`.
16-
- Fix all spacing being removed from tooltips.
30+
- **Potion effects** in tooltips are now colored, just like food effects.
31+
- **Badges** now display **mod names** for modded items if they do not belong to a custom item group.
32+
- _(Previously, it was only doing so if they were not registered in any item group at all.)_
33+
- Fixed incompatibility with **Fresh Animations** and other such CEM resource-packs, by reverting to the vanilla model. [**[#2]**](https://github.com/UltimatChamp/EnhancedTooltips/issues/2)
34+
- Fixed rendering of some modded armors. [**[#47]**](https://github.com/UltimatChamp/EnhancedTooltips/issues/47)
35+
- Fixed **Armor Trim Preview** for _armor trims_ added by some mods as they were not being correctly handled. [**[#58]**](https://github.com/UltimatChamp/EnhancedTooltips/issues/58)
36+
- Fixed compatibility with **Sophisticated Backpacks/Storage**. [**[#64]**](https://github.com/UltimatChamp/EnhancedTooltips/issues/64)
37+
- Fixed **Food Effect Tooltip**s not showing the effect levels. [**[#74]**](https://github.com/UltimatChamp/EnhancedTooltips/issues/74)
1738

1839
---
1940

2041
### 📘Translation Changes
2142

22-
- Added **Traditional Chinese** translation. [**[#62]**](https://github.com/UltimatChamp/EnhancedTooltips/pull/62)
23-
- Updated **Russian** translation. [**[#60]**](https://github.com/UltimatChamp/EnhancedTooltips/pull/60)
43+
- Added **Simplified Chinese** translation. [**[#71]**](https://github.com/UltimatChamp/EnhancedTooltips/pull/71)

‎README.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,12 @@ _(Displays mod name if the item is not in vanilla)_
9191

9292
<img alt="Image" width="300px" src="https://cdn.modrinth.com/data/8H6RXl2q/images/df9ea34143aa6e23605976a9e18690dc8c3b7b97.png" />
9393

94+
---
95+
96+
## Recommended Tooltip Mods
97+
98+
[**These**](https://modrinth.com/collection/1RzXo03F) mods are known to work well with **EnhancedTooltips**.
99+
94100
## Credits!
95101

96102
### [**Immersive:Tooltip**](https://modrinth.com/mod/immersive-tooltip)

‎build.fabric.gradle.kts‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@file:Suppress("UnstableApiUsage")
2+
13
plugins {
24
id("multiloader-base")
35
id("net.fabricmc.fabric-loom-remap")
@@ -22,6 +24,7 @@ dependencies {
2224

2325
// Compat
2426
modCompileOnly(fletchingTable.modrinth("sophisticated-backpacks-(unoffical-fabric-port)", "1.21.1", "fabric")) // intentional spelling mistake
27+
modCompileOnly(fletchingTable.modrinth("sophisticated-storage-(unofficial-fabric-port)", "1.21.1", "fabric"))
2528
modCompileOnly(fletchingTable.modrinth("sophisticated-core-(unofficial-fabric-port)", "1.21.1", "fabric"))
2629

2730
modCompileOnly(fletchingTable.modrinth("entity-model-features", "${project.property("deps.minecraft_version")}", "fabric"))
@@ -37,5 +40,5 @@ tasks.named("processResources") {
3740
}
3841

3942
tasks.processResources {
40-
exclude("META-INF/neoforge.mods.toml", "META-INF/accesstransformer.cfg")
43+
exclude("META-INF/neoforge.mods.toml", "META-INF/accesstransformer.cfg", "enhancedtooltips_noremap.classtweaker")
4144
}

‎build.fabric_noremap.gradle.kts‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,11 @@ dependencies {
1717

1818
// Compat
1919
/*compileOnly(fletchingTable.modrinth("sophisticated-backpacks-(unoffical-fabric-port)", "1.21.1", "fabric")) // intentional spelling mistake
20+
modCompileOnly(fletchingTable.modrinth("sophisticated-storage-(unofficial-fabric-port)", "1.21.1", "fabric"))
2021
compileOnly(fletchingTable.modrinth("sophisticated-core-(unofficial-fabric-port)", "1.21.1", "fabric"))*/
2122

22-
compileOnly(fletchingTable.modrinth("entity-model-features", "${project.property("deps.minecraft_version")} + 1.21.11", "fabric"))
23-
compileOnly(fletchingTable.modrinth("entitytexturefeatures", "${project.property("deps.minecraft_version")} + 1.21.11", "fabric"))
23+
compileOnly(fletchingTable.modrinth("entity-model-features", "${project.property("deps.minecraft_version")}", "fabric"))
24+
compileOnly(fletchingTable.modrinth("entitytexturefeatures", "${project.property("deps.minecraft_version")}", "fabric"))
2425
}
2526

2627
loom {
@@ -30,3 +31,7 @@ loom {
3031
tasks.named("processResources") {
3132
dependsOn(":${stonecutter.current.project}:stonecutterGenerate")
3233
}
34+
35+
tasks.processResources {
36+
exclude("META-INF/neoforge.mods.toml", "META-INF/accesstransformer.cfg", "enhancedtooltips.classtweaker")
37+
}

‎build.neo.gradle.kts‎

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -26,40 +26,33 @@ neoForge {
2626
}
2727

2828
if (project.hasProperty("deps.parchment")) parchment {
29-
val (mc, ver) = (property("deps.parchment") as String).split(':')
29+
val (mc, ver) = (project.property("deps.parchment") as String).split(':')
3030
mappingsVersion = ver
3131
minecraftVersion = mc
3232
}
3333
}
3434

3535
dependencies {
36-
implementation("dev.isxander:yet-another-config-lib:${project.property("deps.yacl_version")}")
36+
api("dev.isxander:yet-another-config-lib:${project.property("deps.yacl_version")}")
3737

3838
implementation("blue.endless:jankson:${project.property("deps.jankson_version")}")
3939
jarJar("blue.endless:jankson:${project.property("deps.jankson_version")}")
4040
if (stonecutter.eval("${project.property("deps.minecraft_version")}", "<1.21.9"))
4141
"additionalRuntimeClasspath"("blue.endless:jankson:${project.property("deps.jankson_version")}")
4242

4343
// Compat
44-
var vers = if (stonecutter.eval("${project.property("deps.minecraft_version")}", ">1.21.3"))
45-
"${project.property("deps.minecraft_version")}"
46-
else "1.21.1"
47-
compileOnly(fletchingTable.modrinth("sophisticated-backpacks", vers, "neoforge"))
48-
compileOnly(fletchingTable.modrinth("sophisticated-core", vers, "neoforge"))
44+
if (stonecutter.eval("${project.property("deps.minecraft_version")}", "<26.1")) {
45+
compileOnly(fletchingTable.modrinth("sophisticated-backpacks", "${project.property("deps.minecraft_version")} + 1.21.11", "neoforge"))
46+
compileOnly(fletchingTable.modrinth("sophisticated-storage", "${project.property("deps.minecraft_version")} + 1.21.11", "neoforge"))
47+
compileOnly(fletchingTable.modrinth("sophisticated-core", "${project.property("deps.minecraft_version")} + 1.21.11", "neoforge"))
48+
}
4949

5050
compileOnly(fletchingTable.modrinth("entity-model-features", "${project.property("deps.minecraft_version")}", "neoforge"))
5151
compileOnly(fletchingTable.modrinth("entitytexturefeatures", "${project.property("deps.minecraft_version")}", "neoforge"))
5252
}
5353

54-
stonecutter {
55-
replacements.string {
56-
direction = eval(current.version, ">1.21.10")
57-
replace("ResourceLocation", "Identifier")
58-
}
59-
}
60-
6154
tasks.processResources {
62-
exclude("fabric.mod.json", "enhancedtooltips.accesswidener")
55+
exclude("fabric.mod.json", "enhancedtooltips.classtweaker", "enhancedtooltips_noremap.classtweaker")
6356
}
6457

6558
tasks.named("createMinecraftArtifacts") {

‎buildSrc/src/main/kotlin/multiloader-base.gradle.kts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ base {
2828
}
2929

3030
repositories {
31+
mavenCentral()
3132
exclusiveContent {
3233
forRepository { maven("https://api.modrinth.com/maven") }
3334
filter { includeGroup("maven.modrinth") }
3435
}
35-
maven("https://maven.isxander.dev/releases")
3636
maven("https://maven.parchmentmc.org")
3737
}
3838

‎gradle.properties‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ mod_name=EnhancedTooltips
88
mod_license=MIT
99
mod_authors=UltimatChamp, yanggx98
1010
mod_description=A mod that overhauls tooltips, and adds some extra information.
11-
mod_version=1.8.0
11+
mod_version=1.9.0
1212
maven_group=dev.ultimatchamp
1313

1414
# Providers
@@ -18,7 +18,6 @@ curseforgeId=1173737
1818
# Minecraft Properties
1919
deps.minecraft_version=[VERSIONED]
2020
deps.mc_range=[VERSIONED]
21-
deps.parchment=[VERSIONED]
2221

2322
# Fabric Properties
2423
loader_version=0.18.4

‎settings.gradle.kts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ stonecutter {
2929
register("1.21.8", "fabric", "neo")
3030
register("1.21.10", "fabric", "neo")
3131
register("1.21.11", "fabric", "neo")
32-
register("26.1", "fabric")
32+
register("26.1", "fabric", "neo")
3333

3434
vcsVersion = "26.1-fabric"
3535
}

‎src/main/java/dev/ultimatchamp/enhancedtooltips/compat/EMFCompat.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ public class EMFCompat {
77
public static final Component KEY = Component.literal("enhancedtooltips entity do not touch");
88

99
public static void registerVanillaModelCondition() {
10-
/*? if <26.1 {*//*EMFAnimationApi.registerVanillaModelCondition((entity) -> entity.etf$getCustomName().contains(KEY));*//*?}*/
10+
EMFAnimationApi.registerVanillaModelCondition((entity) -> entity.etf$getCustomName().contains(KEY));
1111
}
1212
}

‎src/main/java/dev/ultimatchamp/enhancedtooltips/compat/SophisticatedBackpacksCompat.java‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,16 @@
44

55
import java.util.List;
66

7-
/*? if <26.1 {*//*import net.p3pp3rf1y.sophisticatedbackpacks.client.render.ClientBackpackContentsTooltip;*//*?}*/
7+
//? if <26.1 {
8+
/*import net.p3pp3rf1y.sophisticatedbackpacks.client.render.ClientBackpackContentsTooltip;
9+
import net.p3pp3rf1y.sophisticatedstorage.client.render.ClientStorageContentsTooltip;*/
10+
//?}
811

912
public class SophisticatedBackpacksCompat {
1013
public static boolean containsBackpackTooltip(List<ClientTooltipComponent> components) {
1114
//? if <26.1 {
1215
/*for (ClientTooltipComponent component : components) {
13-
if (component instanceof ClientBackpackContentsTooltip)
16+
if (component instanceof ClientBackpackContentsTooltip || component instanceof ClientStorageContentsTooltip)
1417
return true;
1518
}
1619
*///?}

0 commit comments

Comments
 (0)