Skip to content

Commit ef4a6cf

Browse files
committed
fix: update Minecraft version in README and fabric.mod.json; improve config reading in compile.sh
1 parent 9f2228c commit ef4a6cf

4 files changed

Lines changed: 62 additions & 57 deletions

File tree

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 🛠️ StackableTools (Kotlin Edition)
22

3-
[![Minecraft Version](https://img.shields.io/badge/Minecraft-1.20.4-blue.svg?style=for-the-badge&logo=minecraft)](https://www.minecraft.net/)
3+
[![Minecraft Version](https://img.shields.io/badge/Minecraft-1.20-1.20.4-blue.svg?style=for-the-badge&logo=minecraft)](https://www.minecraft.net/)
44
[![Fabric API](https://img.shields.io/badge/Loader-Fabric-orange.svg?style=for-the-badge)](https://fabricmc.net/)
55
[![License](https://img.shields.io/badge/License-CC0_1.0-green.svg?style=for-the-badge)](https://github.com/yoanndev90/StackableTools/blob/master/LICENSE)
66
[![GitHub Release](https://img.shields.io/github/v/release/yoann/StackableTools?style=for-the-badge)](https://github.com/yoanndev90/StackableTools/releases)
@@ -18,6 +18,16 @@
1818
| **CurseForge** | [Download on CurseForge](https://www.curseforge.com/minecraft/mc-mods/stackabletools) |
1919
| **Modrinth** | [Download on Modrinth](https://modrinth.com/mod/stackabletools) |
2020

21+
## 🎮 Version Support
22+
| Minecraft Version | Fabric Loader | Fabric API | Status | Notes |
23+
| :---------------- | :------------ | :--------- | :----------- | :-------------------------- |
24+
| 1.20.0 | ≥0.18.5 | ≥0.97.0 | ✅ Supported | Community-tested (untested) |
25+
| 1.20.1 | ≥0.18.5 | ≥0.97.0 | ✅ Supported | Community-tested (untested) |
26+
| 1.20.2 | ≥0.18.5 | ≥0.97.0 | ✅ Supported | Community-tested (untested) |
27+
| 1.20.3 | ≥0.18.5 | ≥0.97.0 | ✅ Supported | Community-tested (untested) |
28+
| 1.20.4 | ≥0.18.5 | ≥0.97.3 |**Tested** | Fully tested & recommended |
29+
| 1.20.5+ | ≥0.18.5 | ≥1.0.0 | ⚠️ Untested | May require code updates |
30+
2131
## ✨ Main Features
2232
- ⚔️ **Stackable Tools**: Swords, pickaxes, shovels, axes, and more are now stackable!
2333
- 🧪 **Potions Support**: Stack your potions (up to 16 by default).

README_FR.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 🛠️ StackableTools (Édition Kotlin)
22

3-
[![Version Minecraft](https://img.shields.io/badge/Minecraft-1.20.4-blue.svg?style=for-the-badge&logo=minecraft)](https://www.minecraft.net/)
3+
[![Version Minecraft](https://img.shields.io/badge/Minecraft-1.20-1.20.4-blue.svg?style=for-the-badge&logo=minecraft)](https://www.minecraft.net/)
44
[![Fabric API](https://img.shields.io/badge/Loader-Fabric-orange.svg?style=for-the-badge)](https://fabricmc.net/)
55
[![Licence](https://img.shields.io/badge/License-CC0_1.0-green.svg?style=for-the-badge)](https://github.com/yoann/StackableTools/blob/master/LICENSE)
66
[![Release GitHub](https://img.shields.io/github/v/release/yoann/StackableTools?style=for-the-badge)](https://github.com/yoann/StackableTools/releases)
@@ -13,11 +13,21 @@
1313
**StackableTools** est un puissant mod Minecraft pour Fabric, réécrit en Kotlin, qui rend les outils empilables (stackables), révolutionnant la gestion de votre inventaire sans casser l'équilibre du jeu.
1414

1515
## 📥 Liens de téléchargement
16-
| Plateforme | Lien |
17-
| :------------- | :------------------------------------------------------------------------------------ |
16+
| Plateforme | Lien |
17+
| :------------- | :---------------------------------------------------------------------------------------- |
1818
| **CurseForge** | [Télécharger sur CurseForge](https://www.curseforge.com/minecraft/mc-mods/stackabletools) |
1919
| **Modrinth** | [Télécharger sur Modrinth](https://modrinth.com/mod/stackabletools) |
2020

21+
## 🎮 Support des versions
22+
| Version Minecraft | Fabric Loader | Fabric API | Statut | Remarques |
23+
| :---------------- | :------------ | :--------- | :----------- | :------------------------------------ |
24+
| 1.20.0 | ≥0.18.5 | ≥0.97.0 | ✅ Compatible | Testé par la communauté (non vérifié) |
25+
| 1.20.1 | ≥0.18.5 | ≥0.97.0 | ✅ Compatible | Testé par la communauté (non vérifié) |
26+
| 1.20.2 | ≥0.18.5 | ≥0.97.0 | ✅ Compatible | Testé par la communauté (non vérifié) |
27+
| 1.20.3 | ≥0.18.5 | ≥0.97.0 | ✅ Compatible | Testé par la communauté (non vérifié) |
28+
| 1.20.4 | ≥0.18.5 | ≥0.97.3 |**Testé** | Complètement testé & recommandé |
29+
| 1.20.5+ | ≥0.18.5 | ≥1.0.0 | ⚠️ Non testé | Peut nécessiter des mises à jour |
30+
2131
## ✨ Fonctionnalités principales
2232
- ⚔️ **Outils empilables** : Épées, pioches, pelles, haches et plus sont désormais empilables !
2333
- 🧪 **Support des potions** : Empilez vos potions (jusqu'à 16 par défaut).

compile.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,8 @@ if [ ! -f "$CONFIG_FILE" ]; then
9797
fi
9898
fi
9999

100-
# Lecture de la config avec jq
101-
MC_VERSION=$(jq -r '.minecraft_version // empty' "$CONFIG_FILE")
102-
LOADER_VERSION=$(jq -r '.fabric_loader_version // empty' "$CONFIG_FILE")
100+
MC_VERSION=$(grep -E '^minecraft_version=' gradle.properties | cut -d'=' -f2)
101+
LOADER_VERSION=$(grep -E '^loader_version=' gradle.properties | cut -d'=' -f2)
103102

104103
# Configuration des répertoires
105104
LAUNCHER_DIR=$(jq -r '.launcherDir // empty' "$CONFIG_FILE")

src/main/resources/fabric.mod.json

Lines changed: 36 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,37 @@
11
{
2-
"schemaVersion": 1,
3-
"id": "stackabletools",
4-
"version": "${version}",
5-
"name": "StackableTools",
6-
"description": "Un mod pour rendre les outils et autres objets empilables dans Minecraft.",
7-
"authors": [
8-
"Yoann"
9-
],
10-
"contact": {
11-
"homepage": "https://github.com/YoannDev90/StackableTools",
12-
"sources": "https://github.com/YoannDev90/StackableTools"
13-
},
14-
"license": "CC0-1.0",
15-
"icon": "assets/stackabletools/icon.png",
16-
"environment": "*",
17-
"entrypoints": {
18-
"main": [
19-
{
20-
"value": "stackabletools.StackableTools",
21-
"adapter": "kotlin"
22-
}
23-
],
24-
"client": [
25-
{
26-
"value": "stackabletools.StackableToolsClient",
27-
"adapter": "kotlin"
28-
}
29-
],
30-
"fabric-datagen": [
31-
{
32-
"value": "stackabletools.StackableToolsDataGenerator",
33-
"adapter": "kotlin"
34-
}
35-
]
36-
},
37-
"mixins": [
38-
"stackabletools.mixins.json",
39-
{
40-
"config": "stackabletools.client.mixins.json",
41-
"environment": "client"
42-
}
43-
],
44-
"depends": {
45-
"fabricloader": ">=0.18.5",
46-
"minecraft": "~1.20.4",
47-
"java": ">=17",
48-
"fabric-api": "*",
49-
"fabric-language-kotlin": "*"
50-
}
51-
}
2+
"schemaVersion": 1,
3+
"id": "stackabletools",
4+
"version": "${version}",
5+
"name": "StackableTools",
6+
"description": "Un mod pour rendre les outils et autres objets empilables dans Minecraft.",
7+
"authors": ["Yoann"],
8+
"contact": {
9+
"homepage": "https://github.com/YoannDev90/StackableTools",
10+
"sources": "https://github.com/YoannDev90/StackableTools"
11+
},
12+
"license": "CC0-1.0",
13+
"icon": "assets/stackabletools/icon.png",
14+
"environment": "*",
15+
"entrypoints": {
16+
"main": [
17+
{
18+
"value": "stackabletools.StackableTools",
19+
"adapter": "kotlin"
20+
}
21+
],
22+
"fabric-datagen": [
23+
{
24+
"value": "stackabletools.StackableToolsDataGenerator",
25+
"adapter": "kotlin"
26+
}
27+
]
28+
},
29+
"mixins": ["stackabletools.mixins.json"],
30+
"depends": {
31+
"fabricloader": ">=0.18.5",
32+
"minecraft": ">=1.20.0 <1.20.5",
33+
"java": ">=17",
34+
"fabric-api": "*",
35+
"fabric-language-kotlin": "*"
36+
}
37+
}

0 commit comments

Comments
 (0)