Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
26f2c2a006 | ||
|
|
72f609f77c | ||
|
|
5f2b17c792 | ||
|
|
075214029e | ||
|
|
bb418632f2 | ||
|
|
833a05129c | ||
|
|
8ab2fc727e | ||
|
|
ea80f4a6f4 | ||
|
|
2d96d9077b | ||
|
|
77fa9c5d21 | ||
|
|
fa5f6003c5 | ||
|
|
63938d708e | ||
|
|
da61a3b1ec | ||
|
|
bd7ee21e7f | ||
|
|
b4a4e25684 | ||
|
|
d95d8af8ec | ||
|
|
29db709e7e | ||
|
|
9b432f2ecc | ||
|
|
d1f9d6a30e | ||
|
|
aefb23deee | ||
|
|
7f2b53e41d | ||
|
|
60819a31ab | ||
|
|
e692a051ac | ||
|
|
22fb027398 | ||
|
|
2d0ae127a9 | ||
|
|
253c8f132e | ||
|
|
c973d535a8 | ||
|
|
a764ba9c42 | ||
|
|
1cb14b997f | ||
|
|
78457fd80b | ||
|
|
8c8f7bbbde | ||
|
|
ac4542079f | ||
|
|
5403938320 | ||
|
|
0ad9763666 | ||
|
|
0196b6efa5 | ||
|
|
3bdc5fe241 | ||
|
|
789faeb708 | ||
|
|
3491158785 | ||
|
|
c0229d4ea9 | ||
|
|
ddaf71c7cd | ||
|
|
7e1ed85307 | ||
|
|
5840621acf | ||
|
|
974cea20b5 | ||
|
|
81a98ed197 | ||
|
|
b022be5739 | ||
|
|
27b29c1340 | ||
|
|
274d4c1ffa | ||
|
|
f217bb3661 | ||
|
|
0743ff33a6 |
@@ -8,11 +8,161 @@ Ce journal suit les **versions du modpack**. Lorsqu'un seul module change, sa ve
|
||||
|
||||
## Non publié
|
||||
|
||||
Module modifié : **Sanctuary `0.0.0-alpha.137`**.
|
||||
Aucun changement non publié.
|
||||
|
||||
## `26.2.0-alpha.244`
|
||||
|
||||
Pull request intégrée : [#176](https://git.botsu.net/koka/sanctuary/pulls/176).
|
||||
|
||||
- ajoute huit feux d’artifice à portraits : ChrisM, Kaninscheun, Poupoutain, lBeast, CreveForest, SacDChips, Vaselline et Duncan ;
|
||||
- dessine pour chacun un visage 8×8 et sa capuche en particules orientées vers le joueur, en taille normale ou agrandie ;
|
||||
- ajoute les huit recettes sans forme, les objets, les textures et les traductions EN/FR/RU correspondantes ;
|
||||
- conserve le feu d’artifice Nourra et son identifiant existant ;
|
||||
- conserve les sauvegardes, les données OnlyFun v2 et le protocole réseau 3 ; OnlyFun passe à `0.0.0-alpha.29`.
|
||||
|
||||
## `26.2.0-alpha.243`
|
||||
|
||||
Pull requests intégrées : [#172](https://git.botsu.net/koka/sanctuary/pulls/172), [#173](https://git.botsu.net/koka/sanctuary/pulls/173) et [#174](https://git.botsu.net/koka/sanctuary/pulls/174).
|
||||
|
||||
- ajoute une barre de recherche dans l’onglet catalogue, avec repli des accents et filtrage local ;
|
||||
- permet de choisir la grille du catalogue : **3×3**, **4×4** ou **5×5** maximum, mémorisée entre les sessions ;
|
||||
- affiche le numéro de page du catalogue (`2/5`) à côté de la navigation ;
|
||||
- conserve la grille 3×3 et les neuf emplacements des ventes flash ;
|
||||
- resynchronise le texte des panneaux de quêtes après une rotation survenue hors chunk et garantit qu’un rafraîchissement opérateur génère un nouveau contrat ;
|
||||
- ajoute le feu d’artifice Nourra, dont l’explosion dessine le visage et la capuche du skin en particules, en taille normale ou agrandie ;
|
||||
- conserve les sauvegardes et les protocoles réseau existants ; Sanctuary passe à `0.0.0-alpha.140` et OnlyFun à `0.0.0-alpha.28`.
|
||||
|
||||
## `26.2.0-alpha.242`
|
||||
|
||||
Dépendance mise à jour : **MyDisplay `1.0.0` (quatrième build fourni)**.
|
||||
|
||||
- remplace le troisième JAR MyDisplay sous un nom distinct afin de forcer sa mise à jour par Packwiz ;
|
||||
- actualise les composants client de performance, de session multimédia et de lecture WaterMedia ;
|
||||
- conserve l’adaptation du manifeste pour le serveur dédié et les traductions EN/FR/RU ;
|
||||
- conserve WaterMedia `3.0.0.23`, ses binaires `3.0.0.6`, les écrans existants, les sauvegardes et les protocoles ;
|
||||
- ne modifie aucun des dix modules Sanctuary.
|
||||
|
||||
## `26.2.0-alpha.241`
|
||||
|
||||
Dépendance mise à jour : **MyDisplay `1.0.0` (troisième build fourni)**.
|
||||
|
||||
- remplace le second JAR MyDisplay sous un nom distinct pour forcer sa mise à jour par Packwiz ;
|
||||
- accélère la copie ARGB vers RGBA avec un `IntBuffer` et adapte la résolution de décodage WaterMedia à la distance ;
|
||||
- plafonne et priorise les uploads vidéo par proximité, sans masquer les écrans qui attendent leur prochaine image ;
|
||||
- suspend les uploads hors champ, coupe le rendu au-delà de 128 blocs et regroupe le rendu du mur ;
|
||||
- partage Streamlink entre les écrans identiques et échelonne le démarrage des lecteurs ;
|
||||
- évite de créer les décodeurs audio OpenAL/FFmpeg lorsque l’écran est muet et sécurise les captures F2 ;
|
||||
- conserve WaterMedia `3.0.0.23`, ses binaires `3.0.0.6`, les écrans existants, les sauvegardes et les protocoles.
|
||||
|
||||
## `26.2.0-alpha.240`
|
||||
|
||||
Dépendance mise à jour : **MyDisplay `1.0.0` (second build fourni)**.
|
||||
|
||||
- remplace le premier JAR MyDisplay par une nouvelle révision sous un nom distinct pour contourner les caches Packwiz ;
|
||||
- ajoute la sélection côté client de l’écran MyDisplay actuellement visé et met à jour la gestion multimédia associée ;
|
||||
- conserve WaterMedia `3.0.0.23` et WaterMedia Binaries `3.0.0.6` côté client ;
|
||||
- conserve l’adaptation du manifeste pour le serveur dédié et complète toujours EN/FR avec le russe ;
|
||||
- rend le résolveur des dépendances Packwiz compatible avec les téléchargements directs privés épinglés ;
|
||||
- conserve les écrans MyDisplay existants, les dix modules Sanctuary, leurs sauvegardes et leurs protocoles.
|
||||
|
||||
## `26.2.0-alpha.239`
|
||||
|
||||
Dépendances remplacées : **MyDisplay `1.0.0`**, **WaterMedia `3.0.0.23`** et **WaterMedia Binaries `3.0.0.6`**.
|
||||
|
||||
- retire Dream Displays et son second build de test audio du client comme du serveur ;
|
||||
- ajoute MyDisplay côté client et serveur pour les blocs-écrans, leur configuration et leur synchronisation ;
|
||||
- ajoute WaterMedia et ses binaires natifs côté client uniquement pour la lecture et le rendu multimédia ;
|
||||
- adapte seulement le manifeste de MyDisplay afin que ses dépendances client optionnelles ne bloquent pas le serveur dédié, et complète ses traductions EN/FR avec le russe ;
|
||||
- ne convertit pas les écrans Dream Displays déjà placés, qui doivent être remplacés par des écrans MyDisplay ;
|
||||
- conserve les dix modules Sanctuary, leurs versions, sauvegardes et protocoles sans changement ;
|
||||
- garde le module temporaire ZEVENT entièrement absent du workspace et du pack.
|
||||
|
||||
## `26.2.0-alpha.238`
|
||||
|
||||
Dépendance remplacée : **Dream Displays `1.10.0-dev` (audio-buffer-test, révision 2)**.
|
||||
|
||||
- remplace le premier JAR de test Dream Displays par la nouvelle révision fournie ;
|
||||
- utilise un nouveau nom de fichier afin de contourner les caches et de garantir son téléchargement ;
|
||||
- distribue ce build côté client et serveur avec ses nouvelles empreintes vérifiées ;
|
||||
- conserve les dix modules Sanctuary, leurs versions, sauvegardes et protocoles sans changement ;
|
||||
- garde le module temporaire ZEVENT entièrement absent du workspace et du pack.
|
||||
|
||||
## `26.2.0-alpha.237`
|
||||
|
||||
Dépendance remplacée : **Dream Displays `1.10.0-dev` (audio-buffer-test)**.
|
||||
|
||||
- remplace Dream Displays `1.9.6` par le JAR de test fourni pour corriger la gestion du tampon audio ;
|
||||
- utilise un nom de fichier distinct afin que Packwiz supprime l’ancien JAR et ne réutilise pas son cache ;
|
||||
- distribue le nouveau build côté client et serveur depuis le dépôt de téléchargement Sanctuary avec empreintes vérifiées ;
|
||||
- conserve les dix modules Sanctuary, leurs versions, sauvegardes et protocoles sans changement ;
|
||||
- garde le module temporaire ZEVENT entièrement absent du workspace et du pack.
|
||||
|
||||
## `26.2.0-alpha.236`
|
||||
|
||||
Module temporaire supprimé : **ZEVENT `0.0.0-alpha.3`**.
|
||||
|
||||
- retire entièrement le sous-projet, le JAR client/serveur et les identifiants `zevent:*` devenus redondants ;
|
||||
- conserve Dream Displays `1.9.6`, qui fournit directement les écrans et la lecture des flux vidéo ;
|
||||
- retire automatiquement `zevent-0.0.0-alpha.3.jar` des installations gérées par Packwiz ;
|
||||
- ne convertit pas les anciens écrans muraux ZEVENT : ils doivent être remplacés par des écrans Dream Displays ;
|
||||
- conserve sans changement les sauvegardes, inventaires, monnaies et protocoles des dix modules Sanctuary restants.
|
||||
|
||||
## `26.2.0-alpha.235`
|
||||
|
||||
Module modifié temporairement : **ZEVENT `0.0.0-alpha.3`**.
|
||||
|
||||
- remplace MCEF Modern, dont Chromium ne sait pas décoder les directs Twitch en H.264/AAC, par Dream Displays `1.9.6` et son pipeline vidéo natif ;
|
||||
- conserve le bloc-écran 9 × 5, les chaînes enregistrées, l’interface et le protocole réseau ZEVENT 1 sans migration de monde ;
|
||||
- réutilise directement la texture GPU décodée dans le renderer ZEVENT, avec une limite de 720p et deux flux visibles au maximum par client ;
|
||||
- maintient le volume dans la catégorie Disques, l’atténuation jusqu’à 64 blocs et un seul écran audible à la fois ;
|
||||
- réessaie automatiquement les chaînes momentanément indisponibles et affiche désormais un message explicite lorsqu’une chaîne est hors ligne ;
|
||||
- valide le démarrage client natif sur macOS Apple Silicon ainsi que la résolution d’un direct Twitch actif en cinq qualités H.264 jusqu’en 1080p avec audio AAC.
|
||||
|
||||
## `26.2.0-alpha.234`
|
||||
|
||||
Module ajouté temporairement : **ZEVENT `0.0.0-alpha.2`**.
|
||||
|
||||
- ajoute pour le week-end le bloc-écran ZEVENT, une surface multibloc de 9 × 5 qui diffuse une chaîne Twitch officielle dans le monde ;
|
||||
- permet de saisir un nom de chaîne ou une URL Twitch par clic droit, puis enregistre et synchronise la chaîne côté serveur ;
|
||||
- relie le volume à la catégorie Disques, l’atténue jusqu’à 64 blocs et limite chaque client à deux lecteurs visibles ;
|
||||
- ajoute MCEF Modern `0.3.3+mc26.2.jcef146.0.10` uniquement côté client, sans imposer Chromium au serveur dédié ;
|
||||
- conserve les données et protocoles des dix modules Sanctuary existants ; ZEVENT démarre en données v1 et protocole 1, avec mise à jour simultanée du client et du serveur.
|
||||
|
||||
## `26.2.0-alpha.233`
|
||||
|
||||
Modules modifiés : **Sanctuary `0.0.0-alpha.139`** et **Red-Stoner `0.0.0-alpha.20`**.
|
||||
|
||||
- remplace le bloc-écran `redstoner:trophy_panel` par un vrai panneau Vanilla en chêne pâle, posable au sol ou au mur, sans changer l’ID de l’item déjà présent dans les inventaires et recettes ;
|
||||
- ouvre à la première pose un éditeur blanc permettant de rechercher une statistique Vanilla, composer et réordonner jusqu’à seize pages, puis choisir entre noms et valeurs, noms seuls ou valeurs seules ;
|
||||
- verrouille la configuration et la destruction au créateur ou à un opérateur, tout en laissant le clic droit public faire défiler les pages ;
|
||||
- conserve l’ancien bloc uniquement comme alias de migration : chaque plaque déjà posée devient automatiquement un panneau mural en gardant propriétaire, statistiques et page courante ;
|
||||
- répare les classements importés qui montraient les huit premiers caractères de l’UUID : Sanctuary récupère désormais le vrai pseudo depuis le cache local du serveur et utilise `?` plutôt qu’un fragment d’UUID si aucun nom n’est connu ;
|
||||
- ajoute les payloads bornés de l’éditeur, fait passer Red-Stoner aux données v5 et au protocole réseau 9, sans changer les données v15 ni le protocole 24 de Sanctuary. Client et serveur Red-Stoner doivent être mis à jour ensemble.
|
||||
|
||||
## `26.2.0-alpha.232`
|
||||
|
||||
Modules modifiés : **Another World `0.0.0-alpha.58`**, **Sanctuary `0.0.0-alpha.138`** et **Red-Stoner `0.0.0-alpha.19`**.
|
||||
|
||||
- ferme le ticket #146 en enregistrant chaque cliché pris avec un appareil Canon dans le dossier `screenshots` de l’instance, à côté des captures F2 ;
|
||||
- exporte le carré cadré à sa résolution native avec le filtre de la pellicule, sans le réduire aux 128 × 128 pixels de la carte en jeu ;
|
||||
- écrit le PNG hors du thread de rendu et réserve un nom horodaté unique afin d’éviter les freezes comme les écrasements lors de plusieurs clichés rapprochés ;
|
||||
|
||||
- remplace le volume de la cape à motifs par les deux faces opposées de l’îlot UV exact du bouclier, redimensionnées aux proportions 10 × 16 de la cape, afin de corriger la projection et le culling sans afficher le manche ni l’épaisseur du bouclier ;
|
||||
- laisse la touche d’inventaire fermer le terminal tant que la recherche n’est pas focalisée, mais la traite comme du texte dans le champ de recherche afin que la lettre `E` ne ferme plus l’écran ;
|
||||
- utilise les huit lignes du panneau de trophées pour afficher le titre et jusqu’à sept rangs, avec une page de noms suivie d’une page de valeurs pour chaque statistique afin que les longues durées de jeu restent lisibles ;
|
||||
- fait configurer par un œuf d’apparition le classement vanilla des créatures correspondantes tuées, par exemple les zombies tués avec l’œuf de zombie ;
|
||||
- conserve les IDs et les sauvegardes Sanctuary v15/Red-Stoner v4 ; le snapshot client du panneau passant de trois à sept entrées, le protocole Red-Stoner passe de 7 à 8 et exige la mise à jour du client et du serveur.
|
||||
|
||||
## `26.2.0-alpha.231`
|
||||
|
||||
Modules modifiés : **Sanctuary `0.0.0-alpha.137`** et **Red-Stoner `0.0.0-alpha.18`**.
|
||||
|
||||
- transforme le panneau de trophées en plaque verticale de chêne, corrige le texte auparavant masqué et utilise les quatre lignes pour le titre paginé ainsi que les trois places du podium ;
|
||||
- permet de passer à la page suivante d’un clic droit et de revenir à la précédente avec `Maj` + clic droit, sans changer les IDs, les sauvegardes Red-Stoner v4 ni le protocole réseau 7.
|
||||
- garantit sur chaque niveau de la Backroom un coffre par cellule de 3 × 3 chunks dans les nouveaux chunks, au lieu d’un coffre aléatoire réparti entre les cinq niveaux ;
|
||||
- resserre aussi la grille des lits de sortie de 10 × 10 à 3 × 3 chunks sur chacun des cinq niveaux afin qu’ils soient réellement trouvables ;
|
||||
- ne change ni le butin ordinaire des coffres, ni les données Sanctuary v15, ni le protocole réseau 24 ; les nouveaux coffres et lits apparaissent dans les chunks qui n’ont pas encore été générés.
|
||||
- actualise JEI vers la bêta Fabric `30.29.0.201`, qui corrige un crash avec les mods utilisant l’atlas de textures ;
|
||||
- ne change ni le butin ordinaire des coffres, ni les données Sanctuary v15/Red-Stoner v4, ni leurs protocoles réseau 24/7 ; les nouveaux coffres et lits apparaissent dans les chunks qui n’ont pas encore été générés.
|
||||
|
||||
## `26.2.0-alpha.230`
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Sanctuary 26.2
|
||||
|
||||
Workspace Fabric multi-projet de Sanctuary 2.0. Il construit dix JAR indépendants sur Minecraft 26.2, Fabric Loader 0.19.3, Fabric API 0.159.0+26.2, Loom 1.17, Gradle 9.5.1 et Java 25.
|
||||
Workspace Fabric multi-projet de Sanctuary 2.0. Il construit dix JAR, sur Minecraft 26.2, Fabric Loader 0.19.3, Fabric API 0.159.0+26.2, Loom 1.17, Gradle 9.5.1 et Java 25.
|
||||
|
||||
Auteur : **KOKA99CAB**
|
||||
Licence : **GNU GPL 3.0 or Later** (`GPL-3.0-or-later`)
|
||||
@@ -22,7 +22,35 @@ Licence : **GNU GPL 3.0 or Later** (`GPL-3.0-or-later`)
|
||||
|
||||
Les descriptions FR/EN/RU sont déclarées dans chaque `fabric.mod.json` et dans les fichiers de langue. Les images fournies servent d'icônes Fabric de leur module.
|
||||
|
||||
Version courante du pack distribué : **`26.2.0-alpha.230`**. Cette release distribue Sanctuary **`0.0.0-alpha.136`** et Red-Stoner **`0.0.0-alpha.17`** ; les huit autres modules conservent leur version issue de l'alpha.229.
|
||||
Version courante du pack distribué : **`26.2.0-alpha.244`**. Cette release conserve les dix modules Sanctuary, notamment Another World **`0.0.0-alpha.58`**, Sanctuary **`0.0.0-alpha.140`**, OnlyFun **`0.0.0-alpha.29`** et Red-Stoner **`0.0.0-alpha.20`**, garde ZEVENT entièrement retiré et met à jour MyDisplay **`1.0.0`** vers le quatrième build fourni, avec WaterMedia **`3.0.0.23`** et WaterMedia Binaries **`3.0.0.6`**.
|
||||
|
||||
L’alpha.244 intègre la PR #176. OnlyFun ajoute huit feux d’artifice à portraits pour ChrisM, Kaninscheun, Poupoutain, lBeast, CreveForest, SacDChips, Vaselline et Duncan. Chaque explosion reproduit le visage et la capuche de son skin en particules orientées vers le joueur, en taille normale ou agrandie. Les recettes, objets, textures et traductions EN/FR/RU sont inclus, tandis que Nourra, les sauvegardes et le protocole restent compatibles.
|
||||
|
||||
L’alpha.243 intègre les PR #172, #173 et #174. Le catalogue du Shop gagne une recherche tolérante aux accents, des grilles 3×3, 4×4 et 5×5 mémorisées ainsi qu’un compteur de pages, sans modifier les ventes flash. Les panneaux de quêtes resynchronisent leur texte après une rotation hors chunk et les rafraîchissements opérateur produisent bien un nouveau contrat. OnlyFun ajoute enfin le feu d’artifice Nourra, dont l’explosion dessine le visage et la capuche du skin en particules. Les sauvegardes et protocoles restent compatibles.
|
||||
|
||||
L’alpha.242 remplace le troisième JAR MyDisplay par `mydisplay-1.0.0-sanctuary-4.jar`. Cette révision actualise exclusivement le pipeline client de performance, de session et de lecture WaterMedia, sans changer les blocs, les données ni le protocole réseau. Le manifeste reste compatible avec le serveur dédié, les traductions EN/FR/RU sont alignées, les écrans déjà placés restent compatibles et le nom distinct force Packwiz à retirer le build précédent.
|
||||
|
||||
L’alpha.241 remplace le second JAR MyDisplay par `mydisplay-1.0.0-sanctuary-3.jar`. Le rendu garde tous les écrans visibles tout en réduisant la charge client : copie vidéo ARGB vers RGBA par `IntBuffer`, résolution WaterMedia adaptative selon la distance, priorité et budget des uploads, gel de l’image hors champ, distance de rendu limitée à 128 blocs, rendu mural groupé et démarrage échelonné. Les flux Streamlink identiques sont partagés, l’audio muet ne crée plus de décodeur OpenAL/FFmpeg et les captures F2 réinitialisent proprement le tampon en suspendant les uploads. Le manifeste reste compatible avec le serveur dédié, les traductions EN/FR/RU sont alignées et les écrans déjà placés restent compatibles.
|
||||
|
||||
L’alpha.240 remplace le premier JAR MyDisplay par `mydisplay-1.0.0-sanctuary-2.jar`, dont le nom distinct force Packwiz à télécharger le nouveau build et à supprimer le précédent. Cette révision ajoute notamment la sélection côté client d’un écran MyDisplay visé. Le manifeste conserve l’adaptation serveur dédié et les traductions EN/FR/RU restent alignées. Les écrans MyDisplay déjà placés restent compatibles.
|
||||
|
||||
L’alpha.239 distribue MyDisplay côté client et serveur, et réserve WaterMedia ainsi que ses binaires natifs au client. Packwiz retire automatiquement Dream Displays ; ses anciens écrans déjà posés ne sont pas convertis et doivent être remplacés par des écrans MyDisplay.
|
||||
|
||||
L’alpha.238 distribue la seconde révision `dreamdisplays-fabric-26.2-audio-buffer-test-2.jar` côté client et serveur.
|
||||
|
||||
L’alpha.237 remplace Dream Displays `1.9.6` par le premier build de test `1.10.0-dev` destiné à corriger la gestion du tampon audio.
|
||||
|
||||
L’alpha.236 supprime le JAR et le code ZEVENT devenus redondants. Packwiz retire automatiquement `zevent-0.0.0-alpha.3.jar` du client et du serveur, tandis que Dream Displays reste installé des deux côtés. Les écrans `zevent:zevent_screen` et leurs chaînes enregistrées ne sont pas convertibles : ils doivent être remplacés par des écrans Dream Displays. Les sauvegardes et données des dix autres modules restent inchangées.
|
||||
|
||||
L’alpha.235 corrige l’écran noir de ZEVENT. MCEF chargeait correctement l’interface et les liens Twitch, mais son Chromium ne prenait pas en charge les codecs des directs. L’écran utilise désormais le résolveur HLS et le décodeur natif de Dream Displays, conserve ses options et sa synchronisation serveur, réessaie automatiquement un flux indisponible et indique clairement lorsqu’une chaîne est hors ligne. Le volume suit toujours la catégorie Disques, décroît jusqu’à 64 blocs et seul l’écran visible le plus proche reste audible.
|
||||
|
||||
L’alpha.234 ajoute pour le week-end l’écran Twitch ZEVENT de 9 × 5 blocs. Un clic droit permet de choisir une chaîne officielle ; la sélection est enregistrée par le serveur, tandis que l’image et le son sont rendus localement avec MCEF Modern. Le volume suit la catégorie Disques et décroît jusqu’à 64 blocs. Les mondes et les dix modules Sanctuary existants restent compatibles ; le client et le serveur doivent toutefois recevoir le JAR ZEVENT, et seul le client reçoit MCEF.
|
||||
|
||||
L’alpha.233 remplace le bloc-écran des trophées par un véritable panneau Vanilla en chêne pâle, posable au sol ou au mur. Son éditeur permet de rechercher une statistique, composer jusqu’à seize pages et choisir l’affichage des noms et valeurs ; le propriétaire ou un opérateur garde le contrôle de sa configuration tandis que le changement de page reste public. L’item `redstoner:trophy_panel` conserve son ID et les anciens panneaux posés sont migrés automatiquement. Les classements affichent désormais le vrai pseudo connu du joueur au lieu d’un fragment d’UUID. Les sauvegardes Sanctuary restent en données v15/protocole 24 ; Red-Stoner passe aux données v5 et au protocole 9, ce qui exige la même version côté client et serveur.
|
||||
|
||||
L’alpha.232 enregistre automatiquement chaque cliché Canon dans le dossier `screenshots` de l’instance, à côté des captures F2. Le PNG conserve le carré réellement cadré, sa résolution et le filtre de la pellicule ; l’écriture asynchrone et les noms uniques évitent les freezes et les écrasements. Cette release corrige aussi la cape blanche décorée, la touche `E` du terminal et étend le panneau de trophées à huit lignes. Chaque statistique y possède une page de noms puis une page de valeurs ; un œuf d’apparition ajoute directement le classement des créatures correspondantes tuées. Les sauvegardes restent en données Another World v5, Sanctuary v15 et Red-Stoner v4 ; le snapshot du panneau passant à sept entrées, le protocole Red-Stoner passe à 8.
|
||||
|
||||
L’alpha.231 rend les sorties et le butin de la Backroom réellement trouvables sur ses cinq niveaux. Chaque niveau garantit désormais un coffre et un lit de sortie par cellule de 3 × 3 chunks dans les nouveaux chunks, sans ajouter de livres au butin. Le panneau de trophées devient une plaque verticale de chêne avec quatre lignes lisibles : titre et numéro de page, puis les trois places du podium. Un clic droit avance d’une page et `Maj` + clic droit revient à la précédente. JEI passe à la bêta Fabric `30.29.0.201`, qui corrige un crash lié à l’atlas de textures. Les sauvegardes et les chunks déjà générés restent compatibles ; Sanctuary conserve les données v15/protocole 24 et Red-Stoner les données v4/protocole 7.
|
||||
|
||||
L’alpha.230 attribue les quêtes communautaires terminées à leur preneur et répartit les lits de sortie rares sur chacun des cinq niveaux de la Backroom. Elle ajoute aussi les classements publics et le panneau mural `redstoner:trophy_panel`, corrige la projection des couleurs et motifs de la cape blanche avec les sprites de bouclier, et permet d’équiper une poule adulte avec l’armure de loup vanilla en écailles de tatou. Les sauvegardes restent compatibles ; Sanctuary passe aux données v15 et Red-Stoner aux données v4 sans changer leurs protocoles réseau 24 et 7.
|
||||
|
||||
@@ -321,9 +349,9 @@ Le guide détaillé est dans [`masterkey/tools/PANORAMA.md`](masterkey/tools/PAN
|
||||
|
||||
## Red-Stoner et photographie
|
||||
|
||||
Red-Stoner possède sept blocs actifs sous son namespace : `eight_bit_computer`, `controller`, `personal_computer`, `drawer`, `particuleur`, `storage_terminal` et `trophy_panel`. Son onglet créatif expose aussi les trois appareils Canon et les seize styles de pellicule.
|
||||
Red-Stoner possède ses appareils sous son namespace ainsi que la paire de panneaux Vanilla `trophy_sign`/`trophy_wall_sign`. L’item historique `redstoner:trophy_panel` est conservé afin que les inventaires et recettes existants restent valides ; il place désormais cette paire, tandis que l’ancien bloc mural du même ID ne subsiste que le temps de sa migration automatique. Son onglet créatif expose le panneau de trophées avec les ordinateurs, le Particuleur et le terminal de stockage.
|
||||
|
||||
Le panneau mural `redstoner:trophy_panel` consomme l’API publique de classement de Sanctuary sans conserver les scores. Le joueur qui le pose peut ajouter des pages statistiques en cliquant avec un item, tandis que tous les visiteurs peuvent faire défiler les pages. Sanctuary importe une fois les statistiques vanilla existantes, garde les classements par UUID — champion déconnecté compris — et fournit seulement un podium borné à trois entrées. Les composants privés de l’item servant d’icône et la base complète des joueurs ne sont jamais synchronisés au client.
|
||||
Le panneau de trophées consomme l’API publique de classement de Sanctuary sans conserver les scores. Sa première pose ouvre un éditeur blanc : le créateur choisit dans le catalogue Vanilla jusqu’à seize statistiques, leur ordre et un affichage noms+valeurs, noms seuls ou valeurs seules. `Maj` + clic droit rouvre ensuite cet éditeur pour le créateur ou un opérateur ; le clic droit ordinaire fait défiler publiquement les pages. La configuration et la destruction sont protégées par UUID. Chaque page utilise les quatre lignes natives du panneau — titre puis trois rangs — et se rafraîchit côté serveur. Sanctuary importe une fois les statistiques Vanilla existantes, conserve les classements par UUID — champion déconnecté compris — et résout les vrais pseudos depuis le cache du serveur au lieu d’afficher un début d’UUID.
|
||||
|
||||
L'ordinateur 8 bits et le contrôleur exécutent la machine virtuelle historique : programme assembleur borné à 4 096 caractères, RAM, inventaire, six ports redstone directionnels, impulsions et sortie comparateur. Le contrôleur dispose de 1 024 cellules de RAM contre 256 pour l'ordinateur. L'instruction destinée à la matrice d'affichage renvoie volontairement une erreur claire tant que ce périphérique reste différé.
|
||||
|
||||
@@ -412,7 +440,7 @@ Le menu pause est lui aussi possédé par Sanctuary. Il ne conserve que Retour a
|
||||
|
||||
## Versions du modpack et mises à jour Modrinth
|
||||
|
||||
`pack_version` dans `gradle.properties` est la version du pack complet. `mod_version=0.0.0-alpha.0` et `module_lifecycle=standby` sont les valeurs par défaut des modules en veille ; les propriétés `<module>_version` et `<module>_lifecycle` n’activent et ne font avancer que le module concerné. Le contrat de distribution est dans `pack/release.json`.
|
||||
`pack_version` dans `gradle.properties` est la version du pack complet. `mod_version=0.0.0-alpha.0` et `module_lifecycle=standby` sont les valeurs par défaut des modules en veille ; les propriétés `<module>_version` et `<module>_lifecycle` n’activent et ne font avancer que le module concerné. Le contrat de distribution est dans `pack/release.json`. Depuis l’alpha.236, le module temporaire `zevent` n’est plus construit ni distribué ; l’alpha.240 utilise le second build MyDisplay fourni et son moteur client WaterMedia à la place de Dream Displays.
|
||||
|
||||
La version globale du pack n’est pas injectée dans les JAR inchangés : leur contenu et leur numéro restent immuables. Le lanceur possède la composition exacte du pack, tandis que chaque manifest conserve la version effective de son module.
|
||||
|
||||
|
||||
@@ -15,6 +15,14 @@ tasks.register("vaultRulesSmoke", JavaExec) {
|
||||
mainClass = "fr.koka99cab.sanctuary26.anotherworld.vault.VaultRulesSmoke"
|
||||
}
|
||||
|
||||
tasks.register("canonScreenshotFilesSmoke", JavaExec) {
|
||||
group = "verification"
|
||||
description = "Checks Canon photo exports use the vanilla screenshots directory and collision-safe names."
|
||||
dependsOn tasks.named("testClasses")
|
||||
classpath = sourceSets.test.runtimeClasspath
|
||||
mainClass = "fr.koka99cab.canon.client.CanonScreenshotFilesSmoke"
|
||||
}
|
||||
|
||||
tasks.named("test") {
|
||||
failOnNoDiscoveredTests = false
|
||||
}
|
||||
@@ -1956,7 +1964,7 @@ tasks.register("verifyAnotherWorldCatalog") {
|
||||
"src/main/resources/assets/redstoner/textures/item/weather_gauge.png",
|
||||
"src/main/resources/data/redstoner/recipe/weather_gauge.json"
|
||||
]
|
||||
if (project.version.toString() != "0.0.0-alpha.57"
|
||||
if (project.version.toString() != "0.0.0-alpha.58"
|
||||
|| sulfurMigration.target?.modules?.anotherworld != "0.0.0-alpha.44"
|
||||
|| sulfurMigration.sulfur_caves?.sanctuary?.dripstone_cell_period != 2
|
||||
|| !javaText.contains('Identifier.parse("sanctuary:sulfur_caves")')
|
||||
@@ -3261,6 +3269,7 @@ tasks.register("verifyAnotherWorldCatalog") {
|
||||
tasks.named("check") {
|
||||
dependsOn tasks.named("verifyAnotherWorldCatalog")
|
||||
dependsOn tasks.named("vaultRulesSmoke")
|
||||
dependsOn tasks.named("canonScreenshotFilesSmoke")
|
||||
}
|
||||
|
||||
tasks.register("verifyClimateBiomeMixer") {
|
||||
@@ -3273,7 +3282,7 @@ tasks.register("verifyClimateBiomeMixer") {
|
||||
"pack/migrations/26.2.0-alpha.188-beta-climate-provinces-to-alpha.189.json"))
|
||||
def mixer = file(
|
||||
"src/main/java/fr/koka99cab/sanctuary26/anotherworld/mixin/MultiNoiseBiomeSourceParameterListPresetMixin.java").text
|
||||
if (project.version.toString() != "0.0.0-alpha.57"
|
||||
if (project.version.toString() != "0.0.0-alpha.58"
|
||||
|| migration.source?.pack_version != "26.2.0-alpha.188"
|
||||
|| migration.target?.pack_version != "26.2.0-alpha.189"
|
||||
|| migration.target?.modules?.anotherworld != "0.0.0-alpha.48"
|
||||
@@ -3315,7 +3324,7 @@ tasks.register("verifyBackroomMaterialIntegration") {
|
||||
"sanctuary/src/main/java/fr/koka99cab/sanctuary26/sanctuary/api/backroom/BackroomMaterialApi.java").text
|
||||
def rootBuild = rootProject.file("build.gradle").text
|
||||
def manifest = new JsonSlurper().parse(file("src/main/resources/fabric.mod.json"))
|
||||
if (project.version.toString() != "0.0.0-alpha.57"
|
||||
if (project.version.toString() != "0.0.0-alpha.58"
|
||||
|| !initializer.contains("BackroomMaterialApi.registerAnomalyMaterial(AnotherWorldBlocks.TURQUOISE_MOSS)")
|
||||
|| !blocks.contains('"turquoise_moss"')
|
||||
|| !api.contains("public static void registerAnomalyMaterial")
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
package fr.koka99cab.canon.client;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.nio.file.FileAlreadyExistsException;
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.Path;
|
||||
|
||||
final class CanonScreenshotFiles {
|
||||
private static final String SCREENSHOT_DIRECTORY = "screenshots";
|
||||
private static final int MAX_SUFFIX = 10_000;
|
||||
|
||||
private CanonScreenshotFiles() {
|
||||
}
|
||||
|
||||
static Path reserve(Path gameDirectory, String timestamp) throws IOException {
|
||||
Path screenshots = gameDirectory.resolve(SCREENSHOT_DIRECTORY);
|
||||
Files.createDirectories(screenshots);
|
||||
for (int suffix = 1; suffix <= MAX_SUFFIX; suffix++) {
|
||||
Path candidate = screenshots.resolve(fileName(timestamp, suffix));
|
||||
try {
|
||||
return Files.createFile(candidate);
|
||||
} catch (FileAlreadyExistsException ignored) {
|
||||
// Keep the vanilla timestamp readable while avoiding same-second collisions.
|
||||
}
|
||||
}
|
||||
throw new IOException("Could not reserve a unique Canon screenshot filename");
|
||||
}
|
||||
|
||||
static String fileName(String timestamp, int suffix) {
|
||||
if (timestamp == null || timestamp.isBlank()) {
|
||||
throw new IllegalArgumentException("timestamp must not be blank");
|
||||
}
|
||||
if (suffix < 1) {
|
||||
throw new IllegalArgumentException("suffix must be positive");
|
||||
}
|
||||
return timestamp + "-canon" + (suffix == 1 ? "" : "_" + suffix) + ".png";
|
||||
}
|
||||
}
|
||||
@@ -8,12 +8,15 @@ import fr.koka99cab.canon.network.CapturePhotoPayload;
|
||||
import fr.koka99cab.canon.photo.PhotoMapPalette;
|
||||
import com.mojang.blaze3d.platform.NativeImage;
|
||||
import com.mojang.blaze3d.platform.Window;
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.Path;
|
||||
import net.fabricmc.fabric.api.client.networking.v1.ClientPlayNetworking;
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.client.Screenshot;
|
||||
import net.minecraft.network.chat.Component;
|
||||
import net.minecraft.sounds.SoundEvents;
|
||||
import net.minecraft.util.ARGB;
|
||||
import net.minecraft.util.Util;
|
||||
import net.minecraft.world.item.ItemStack;
|
||||
|
||||
public final class ClientPhotoCapture {
|
||||
@@ -65,6 +68,7 @@ public final class ClientPhotoCapture {
|
||||
ClientPlayNetworking.send(new CapturePhotoPayload(colors));
|
||||
client.player.getCooldowns().addCooldown(capture.cameraStack(), CanonConstants.CAMERA_COOLDOWN_TICKS);
|
||||
client.player.playSound(SoundEvents.SPYGLASS_USE, 0.7F, 1.35F);
|
||||
exportScreenshot(client, screenshot, capture.style(), offsetX, offsetY, cropWidth, cropHeight);
|
||||
} catch (Exception exception) {
|
||||
CanonMod.LOGGER.warn("Failed to capture photo", exception);
|
||||
if (client.player != null) {
|
||||
@@ -74,6 +78,72 @@ public final class ClientPhotoCapture {
|
||||
});
|
||||
}
|
||||
|
||||
private static void exportScreenshot(
|
||||
Minecraft client,
|
||||
NativeImage screenshot,
|
||||
PhotoStyle style,
|
||||
int offsetX,
|
||||
int offsetY,
|
||||
int cropWidth,
|
||||
int cropHeight
|
||||
) {
|
||||
NativeImage exported = null;
|
||||
Path target = null;
|
||||
try {
|
||||
exported = new NativeImage(cropWidth, cropHeight, false);
|
||||
screenshot.copyRect(exported, offsetX, offsetY, 0, 0, cropWidth, cropHeight, false, false);
|
||||
target = CanonScreenshotFiles.reserve(client.gameDirectory.toPath(), Util.getFilenameFormattedDateTime());
|
||||
} catch (Exception exception) {
|
||||
if (exported != null) exported.close();
|
||||
if (target != null) deleteReservedFile(target);
|
||||
notifyScreenshotFailure(client, exception);
|
||||
return;
|
||||
}
|
||||
|
||||
NativeImage image = exported;
|
||||
Path output = target;
|
||||
Util.ioPool().execute(() -> {
|
||||
try (image) {
|
||||
applyStyle(image, style);
|
||||
image.writeToFile(output);
|
||||
client.execute(() -> {
|
||||
if (client.player != null) {
|
||||
client.player.sendSystemMessage(Component.translatable(
|
||||
"message.canon.camera.screenshot_saved", output.getFileName().toString()));
|
||||
}
|
||||
});
|
||||
} catch (Exception exception) {
|
||||
deleteReservedFile(output);
|
||||
notifyScreenshotFailure(client, exception);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
private static void applyStyle(NativeImage image, PhotoStyle style) {
|
||||
for (int y = 0; y < image.getHeight(); y++) {
|
||||
for (int x = 0; x < image.getWidth(); x++) {
|
||||
image.setPixel(x, y, style.applyFilter(image.getPixel(x, y)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private static void notifyScreenshotFailure(Minecraft client, Exception exception) {
|
||||
CanonMod.LOGGER.warn("Failed to save Canon photo in the screenshots directory", exception);
|
||||
client.execute(() -> {
|
||||
if (client.player != null) {
|
||||
client.player.sendSystemMessage(Component.translatable("message.canon.camera.screenshot_failed"));
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
private static void deleteReservedFile(Path target) {
|
||||
try {
|
||||
Files.deleteIfExists(target);
|
||||
} catch (Exception cleanupException) {
|
||||
CanonMod.LOGGER.debug("Could not remove incomplete Canon screenshot {}", target, cleanupException);
|
||||
}
|
||||
}
|
||||
|
||||
private static int clamp(int value, int min, int max) {
|
||||
return Math.max(min, Math.min(max, value));
|
||||
}
|
||||
|
||||
@@ -24,6 +24,8 @@
|
||||
"message.canon.camera.full": "The camera is already full.",
|
||||
"message.canon.camera.captured": "Photo captured.",
|
||||
"message.canon.camera.capture_failed": "Could not capture the current frame.",
|
||||
"message.canon.camera.screenshot_saved": "Photo saved to screenshots: %s",
|
||||
"message.canon.camera.screenshot_failed": "The in-game photo was captured, but its PNG could not be saved to screenshots.",
|
||||
"style.canon.white": "Neutral",
|
||||
"style.canon.white.effect": "Neutral stock with soft paper whites.",
|
||||
"style.canon.light_gray": "Matte",
|
||||
|
||||
@@ -24,6 +24,8 @@
|
||||
"message.canon.camera.full": "L'appareil photo est deja plein.",
|
||||
"message.canon.camera.captured": "Photo prise.",
|
||||
"message.canon.camera.capture_failed": "Impossible de capturer l'image actuelle.",
|
||||
"message.canon.camera.screenshot_saved": "Photo sauvegardee dans screenshots : %s",
|
||||
"message.canon.camera.screenshot_failed": "La photo en jeu est prise, mais son PNG n'a pas pu etre sauvegarde dans screenshots.",
|
||||
"style.canon.white": "Neutre",
|
||||
"style.canon.white.effect": "Rendu neutre avec des blancs doux.",
|
||||
"style.canon.light_gray": "Mat",
|
||||
|
||||
@@ -24,6 +24,8 @@
|
||||
"message.canon.camera.full": "Фотоаппарат уже полностью заряжен.",
|
||||
"message.canon.camera.captured": "Фотография сделана.",
|
||||
"message.canon.camera.capture_failed": "Не удалось снять текущий кадр.",
|
||||
"message.canon.camera.screenshot_saved": "Фотография сохранена в screenshots: %s",
|
||||
"message.canon.camera.screenshot_failed": "Снимок в игре сделан, но PNG не удалось сохранить в screenshots.",
|
||||
"style.canon.white": "Нейтральный",
|
||||
"style.canon.white.effect": "Нейтральная плёнка с мягкими белыми тонами.",
|
||||
"style.canon.light_gray": "Матовый",
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
package fr.koka99cab.canon.client;
|
||||
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.Path;
|
||||
|
||||
public final class CanonScreenshotFilesSmoke {
|
||||
private CanonScreenshotFilesSmoke() {
|
||||
}
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
String timestamp = "2026-09-03_01.23.45";
|
||||
require(CanonScreenshotFiles.fileName(timestamp, 1).equals("2026-09-03_01.23.45-canon.png"),
|
||||
"first screenshot filename");
|
||||
require(CanonScreenshotFiles.fileName(timestamp, 2).equals("2026-09-03_01.23.45-canon_2.png"),
|
||||
"same-second screenshot filename");
|
||||
|
||||
Path gameDirectory = Files.createTempDirectory("canon-screenshot-smoke-");
|
||||
Path first = CanonScreenshotFiles.reserve(gameDirectory, timestamp);
|
||||
Path second = CanonScreenshotFiles.reserve(gameDirectory, timestamp);
|
||||
require(first.getParent().equals(gameDirectory.resolve("screenshots")),
|
||||
"screenshots directory");
|
||||
require(first.getFileName().toString().equals("2026-09-03_01.23.45-canon.png"),
|
||||
"first reserved screenshot");
|
||||
require(second.getFileName().toString().equals("2026-09-03_01.23.45-canon_2.png"),
|
||||
"collision-safe screenshot");
|
||||
require(Files.isRegularFile(first) && Files.isRegularFile(second),
|
||||
"reserved screenshot files");
|
||||
}
|
||||
|
||||
private static void require(boolean condition, String contract) {
|
||||
if (!condition) throw new IllegalStateException("Invalid Canon screenshot contract: " + contract);
|
||||
}
|
||||
}
|
||||
@@ -14,9 +14,9 @@ mod_version=0.0.0-alpha.0
|
||||
module_lifecycle=standby
|
||||
ambiance_version=0.0.0-alpha.22
|
||||
ambiance_lifecycle=active
|
||||
redstoner_version=0.0.0-alpha.17
|
||||
redstoner_version=0.0.0-alpha.20
|
||||
redstoner_lifecycle=active
|
||||
anotherworld_version=0.0.0-alpha.57
|
||||
anotherworld_version=0.0.0-alpha.58
|
||||
anotherworld_lifecycle=active
|
||||
itsalive_version=0.0.0-alpha.38
|
||||
itsalive_lifecycle=active
|
||||
@@ -26,9 +26,9 @@ masterkey_version=0.0.0-alpha.9
|
||||
masterkey_lifecycle=active
|
||||
iliketomoveit_version=0.0.0-alpha.18
|
||||
iliketomoveit_lifecycle=active
|
||||
onlyfun_version=0.0.0-alpha.27
|
||||
onlyfun_version=0.0.0-alpha.29
|
||||
onlyfun_lifecycle=active
|
||||
sanctuary_version=0.0.0-alpha.137
|
||||
sanctuary_version=0.0.0-alpha.140
|
||||
sanctuary_lifecycle=active
|
||||
pack_version=26.2.0-alpha.230
|
||||
pack_version=26.2.0-alpha.244
|
||||
maven_group=fr.koka99cab.sanctuary26
|
||||
|
||||
@@ -1261,6 +1261,7 @@ tasks.named("processResources") {
|
||||
|
||||
tasks.named("sourcesJar") {
|
||||
dependsOn tasks.named("generateAgricultureResources")
|
||||
dependsOn tasks.named("generateCanapliaResources")
|
||||
}
|
||||
|
||||
tasks.register("verifyCulinaryReliability") {
|
||||
|
||||
@@ -0,0 +1,174 @@
|
||||
from pathlib import Path
|
||||
|
||||
from PIL import Image
|
||||
|
||||
TRANSPARENT = -1
|
||||
PEOPLE = [
|
||||
("chrism", "ChrisM", "red_dye"),
|
||||
("kaninscheun", "Kaninscheun", "yellow_dye"),
|
||||
("poupoutain", "Poupoutain", "light_gray_dye"),
|
||||
("lbeast", "lBeast", "brown_dye"),
|
||||
("creveforest", "CreveForest", "green_dye"),
|
||||
("sacdchips", "SacDChips", "orange_dye"),
|
||||
("vaselline", "Vaselline", "white_dye"),
|
||||
("duncan", "Duncan", "pink_dye"),
|
||||
]
|
||||
ROOT = Path(__file__).resolve().parents[2]
|
||||
|
||||
|
||||
def rgb(pixel):
|
||||
red, green, blue, _alpha = pixel
|
||||
return (red << 16) | (green << 8) | blue
|
||||
|
||||
|
||||
def extract(path):
|
||||
image = Image.open(path).convert("RGBA")
|
||||
face = []
|
||||
hood = []
|
||||
hood_top = []
|
||||
inner_top = []
|
||||
for y in range(8, 16):
|
||||
for x in range(8, 16):
|
||||
face.append(rgb(image.getpixel((x, y))))
|
||||
for y in range(8, 16):
|
||||
for x in range(40, 48):
|
||||
red, green, blue, alpha = image.getpixel((x, y))
|
||||
hood.append(TRANSPARENT if alpha < 128 else (red << 16) | (green << 8) | blue)
|
||||
for y in range(6, 8):
|
||||
for x in range(8, 16):
|
||||
inner_top.append(rgb(image.getpixel((x, y))))
|
||||
for y in range(6, 8):
|
||||
for x in range(40, 48):
|
||||
red, green, blue, alpha = image.getpixel((x, y))
|
||||
if alpha < 128:
|
||||
hood_top.append(inner_top[(y - 6) * 8 + (x - 40)])
|
||||
else:
|
||||
hood_top.append((red << 16) | (green << 8) | blue)
|
||||
return face, hood, hood_top
|
||||
|
||||
|
||||
def fmt(values):
|
||||
lines = []
|
||||
for index in range(0, len(values), 8):
|
||||
chunk = values[index:index + 8]
|
||||
parts = ["-1" if value == TRANSPARENT else f"0x{value:06X}" for value in chunk]
|
||||
comma = "," if index + 8 < len(values) else ""
|
||||
lines.append("\t\t" + ", ".join(parts) + comma)
|
||||
return "\n".join(lines)
|
||||
|
||||
|
||||
NOURRA_FACE = [
|
||||
0x000000, 0x020202, 0x0A0A0A, 0x111111, 0x111111, 0x0A0A0A, 0x020202, 0x000000,
|
||||
0x020202, 0x0A0A0A, 0x111111, 0x181818, 0x181818, 0x111111, 0x0A0A0A, 0x020202,
|
||||
0x0A0A0A, 0x111111, 0x181818, 0x212121, 0x212121, 0x181818, 0x111111, 0x0A0A0A,
|
||||
0x111111, 0x181818, 0x212121, 0x2B2B2B, 0x2B2B2B, 0x212121, 0x181818, 0x111111,
|
||||
0x111111, 0x000000, 0x000000, 0xFFF0E1, 0xFFF0E1, 0x000000, 0x000000, 0x111111,
|
||||
0x0A0A0A, 0xFFFFFF, 0x4A9DFC, 0xFDE8D7, 0xFFF0E1, 0x4A9DFC, 0xFFFFFF, 0x0A0A0A,
|
||||
0x020202, 0xFFFFFF, 0x4A9DFC, 0xFDE8D7, 0xFDE8D7, 0x4A9DFC, 0xFFFFFF, 0x020202,
|
||||
0x000000, 0xF0C6A5, 0xF7D5B9, 0xFCE1CA, 0xFCE1CA, 0xF7D5B9, 0xF0C6A5, 0x000000,
|
||||
]
|
||||
NOURRA_HOOD = [
|
||||
0x000000, 0x0D0D0D, 0xCBCBCB, 0xD8D8D8, 0xD8D8D8, 0xCBCBCB, 0x0D0D0D, 0x000000,
|
||||
0x0D0D0D, 0x707070, 0xD8D8D8, 0xE5E5E5, 0xE5E5E5, 0xD8D8D8, 0x707070, 0x0D0D0D,
|
||||
0xCBCBCB, 0xD8D8D8, 0xFFFFFF, 0x212121, 0x212121, 0x181818, 0xD8D8D8, 0xCBCBCB,
|
||||
0xD8D8D8, 0x181818, 0x212121, 0x2B2B2B, 0x2B2B2B, 0x212121, 0x181818, 0xD8D8D8,
|
||||
0x111111, 0x181818, 0x212121, 0x2B2B2B, TRANSPARENT, TRANSPARENT, TRANSPARENT, 0x111111,
|
||||
0x0A0A0A, 0x111111, 0x181818, TRANSPARENT, TRANSPARENT, TRANSPARENT, TRANSPARENT, TRANSPARENT,
|
||||
0x020202, 0x0A0A0A, TRANSPARENT, TRANSPARENT, TRANSPARENT, TRANSPARENT, TRANSPARENT, TRANSPARENT,
|
||||
TRANSPARENT, 0x020202, TRANSPARENT, TRANSPARENT, TRANSPARENT, TRANSPARENT, TRANSPARENT, TRANSPARENT,
|
||||
]
|
||||
NOURRA_TOP = [
|
||||
0xBEBEBE, 0xCBCBCB, 0xD8D8D8, 0xD8D8D8, 0xD8D8D8, 0xD8D8D8, 0xCBCBCB, 0xBEBEBE,
|
||||
0xB8B8B8, 0xB8B8B8, 0xCBCBCB, 0xD8D8D8, 0xD8D8D8, 0xCBCBCB, 0xB8B8B8, 0xB8B8B8,
|
||||
]
|
||||
|
||||
|
||||
def main():
|
||||
entries = [("nourra", NOURRA_FACE, NOURRA_HOOD, NOURRA_TOP)]
|
||||
for ident, _display, _dye in PEOPLE:
|
||||
face, hood, top = extract(ROOT / "art" / "skins" / f"{ident}.png")
|
||||
entries.append((ident, face, hood, top))
|
||||
print(ident, "hood opaque", sum(1 for value in hood if value != TRANSPARENT))
|
||||
|
||||
out = ROOT / "src" / "main" / "java" / "fr" / "koka99cab" / "sanctuary26" / "onlyfun" / "item" / "SkinFacePortrait.java"
|
||||
chunks = [
|
||||
"package fr.koka99cab.sanctuary26.onlyfun.item;\n\n",
|
||||
"import net.minecraft.world.item.ItemStack;\n\n",
|
||||
"/** Baked 8x8 inner face, hood overlay and hood-top strip for each skin firework. */\n",
|
||||
"public enum SkinFacePortrait {\n",
|
||||
]
|
||||
for index, (ident, face, hood, top) in enumerate(entries):
|
||||
comma = "," if index + 1 < len(entries) else ";"
|
||||
chunks.append(
|
||||
f"\t{ident.upper()}(\"{ident}\", new int[] {{\n{fmt(face)}\n\t}}, new int[] {{\n{fmt(hood)}\n\t}}, new int[] {{\n{fmt(top)}\n\t}}){comma}\n"
|
||||
)
|
||||
chunks.append("""
|
||||
public static final int WIDTH = 8;
|
||||
public static final int HEIGHT = 8;
|
||||
public static final int TRANSPARENT = -1;
|
||||
|
||||
private final String id;
|
||||
private final int[] face;
|
||||
private final int[] hood;
|
||||
private final int[] hoodTop;
|
||||
|
||||
SkinFacePortrait(String id, int[] face, int[] hood, int[] hoodTop) {
|
||||
this.id = id;
|
||||
this.face = face;
|
||||
this.hood = hood;
|
||||
this.hoodTop = hoodTop;
|
||||
}
|
||||
|
||||
public String id() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public String itemId() {
|
||||
return id + \"_firework\";
|
||||
}
|
||||
|
||||
public int[] face() {
|
||||
return face;
|
||||
}
|
||||
|
||||
public int[] hood() {
|
||||
return hood;
|
||||
}
|
||||
|
||||
public int[] hoodTop() {
|
||||
return hoodTop;
|
||||
}
|
||||
|
||||
public int opaqueHoodPixels() {
|
||||
int count = 0;
|
||||
for (int color : hood) {
|
||||
if (color != TRANSPARENT) count++;
|
||||
}
|
||||
return count;
|
||||
}
|
||||
|
||||
public int[] portrait() {
|
||||
int[] pixels = new int[WIDTH * (HEIGHT + 2)];
|
||||
System.arraycopy(hoodTop, 0, pixels, 0, hoodTop.length);
|
||||
for (int index = 0; index < face.length; index++) {
|
||||
pixels[hoodTop.length + index] = hood[index] == TRANSPARENT ? face[index] : hood[index];
|
||||
}
|
||||
return pixels;
|
||||
}
|
||||
|
||||
public int portraitHeight() {
|
||||
return HEIGHT + hoodTop.length / WIDTH;
|
||||
}
|
||||
|
||||
public static SkinFacePortrait of(ItemStack stack) {
|
||||
if (stack.isEmpty() || !(stack.getItem() instanceof SkinFaceFireworkItem item)) return null;
|
||||
return item.portrait();
|
||||
}
|
||||
}
|
||||
""")
|
||||
out.write_text("".join(chunks), encoding="utf-8")
|
||||
print("wrote", out)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
After Width: | Height: | Size: 4.8 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 3.0 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 3.9 KiB |
|
After Width: | Height: | Size: 933 B |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
@@ -0,0 +1,47 @@
|
||||
from pathlib import Path
|
||||
|
||||
IDS = [
|
||||
("chrism", "red_dye"),
|
||||
("kaninscheun", "yellow_dye"),
|
||||
("poupoutain", "light_gray_dye"),
|
||||
("lbeast", "brown_dye"),
|
||||
("creveforest", "green_dye"),
|
||||
("sacdchips", "orange_dye"),
|
||||
("vaselline", "white_dye"),
|
||||
("duncan", "pink_dye"),
|
||||
]
|
||||
ROOT = Path(__file__).resolve().parents[2] / "src" / "main" / "resources"
|
||||
|
||||
|
||||
def main():
|
||||
for ident, dye in IDS:
|
||||
(ROOT / "assets" / "onlyfun" / "items" / f"{ident}_firework.json").write_text(
|
||||
'{\n\t"model": {\n\t\t"type": "minecraft:model",\n\t\t"model": "onlyfun:item/%s_firework"\n\t}\n}\n' % ident,
|
||||
encoding="utf-8",
|
||||
)
|
||||
(ROOT / "assets" / "onlyfun" / "models" / "item" / f"{ident}_firework.json").write_text(
|
||||
'{\n\t"parent": "minecraft:item/generated",\n\t"textures": {\n\t\t"layer0": "onlyfun:item/%s_firework"\n\t}\n}\n' % ident,
|
||||
encoding="utf-8",
|
||||
)
|
||||
(ROOT / "data" / "onlyfun" / "recipe" / f"{ident}_firework.json").write_text(
|
||||
"""{
|
||||
"type": "minecraft:crafting_shapeless",
|
||||
"category": "misc",
|
||||
"ingredients": [
|
||||
"minecraft:firework_rocket",
|
||||
"minecraft:%s",
|
||||
"minecraft:paper"
|
||||
],
|
||||
"result": {
|
||||
"count": 1,
|
||||
"id": "onlyfun:%s_firework"
|
||||
}
|
||||
}
|
||||
""" % (dye, ident),
|
||||
encoding="utf-8",
|
||||
)
|
||||
print("wrote", ident)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
After Width: | Height: | Size: 641 B |
@@ -0,0 +1,102 @@
|
||||
package fr.koka99cab.sanctuary26.onlyfun.client;
|
||||
|
||||
import fr.koka99cab.sanctuary26.onlyfun.item.SkinFacePortrait;
|
||||
import fr.koka99cab.sanctuary26.onlyfun.mixin.client.ParticleLifetimeAccessor;
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.client.particle.Particle;
|
||||
import net.minecraft.core.particles.ColorParticleOption;
|
||||
import net.minecraft.core.particles.DustParticleOptions;
|
||||
import net.minecraft.core.particles.ParticleTypes;
|
||||
import net.minecraft.sounds.SoundEvents;
|
||||
import net.minecraft.sounds.SoundSource;
|
||||
import net.minecraft.util.RandomSource;
|
||||
import net.minecraft.world.entity.projectile.FireworkRocketEntity;
|
||||
import net.minecraft.world.phys.Vec3;
|
||||
|
||||
/** Paints the baked skin as a firework burst of coloured sparks, facing the player. */
|
||||
public final class SkinFaceFireworkClient {
|
||||
public static final double PIXEL = 1.85D;
|
||||
public static final double LARGE_PIXEL = 2.7D;
|
||||
public static final float SPARK_SIZE = 3.6F;
|
||||
public static final float LARGE_SPARK_SIZE = 5.15F;
|
||||
public static final int SPARK_LIFETIME_TICKS = 38;
|
||||
private static final int SUBPIXELS = 2;
|
||||
|
||||
private SkinFaceFireworkClient() {
|
||||
}
|
||||
|
||||
public static void explode(FireworkRocketEntity rocket) {
|
||||
Minecraft minecraft = Minecraft.getInstance();
|
||||
if (minecraft.level == null || minecraft.particleEngine == null) return;
|
||||
Vec3 origin = rocket.position();
|
||||
RandomSource random = rocket.level().getRandom();
|
||||
minecraft.level.playLocalSound(origin.x, origin.y, origin.z,
|
||||
SoundEvents.FIREWORK_ROCKET_BLAST, SoundSource.AMBIENT,
|
||||
20.0F, 0.95F + random.nextFloat() * 0.1F, true);
|
||||
minecraft.level.addParticle(ColorParticleOption.create(ParticleTypes.FLASH, 0xFFFFFFFF),
|
||||
origin.x, origin.y, origin.z, 0.0D, 0.0D, 0.0D);
|
||||
Vec3 look = facing(minecraft, origin);
|
||||
Vec3 right = look.cross(new Vec3(0.0D, 1.0D, 0.0D));
|
||||
if (right.lengthSqr() < 1.0E-6D) right = new Vec3(1.0D, 0.0D, 0.0D);
|
||||
right = right.normalize();
|
||||
Vec3 up = new Vec3(0.0D, 1.0D, 0.0D);
|
||||
SkinFacePortrait portrait = SkinFacePortrait.of(rocket.getItem());
|
||||
if (portrait == null) return;
|
||||
int[] pixels = portrait.portrait();
|
||||
int width = SkinFacePortrait.WIDTH;
|
||||
int height = portrait.portraitHeight();
|
||||
boolean large = largeBurst(rocket);
|
||||
double pixel = burstPixel(large);
|
||||
float sparkSize = burstSparkSize(large);
|
||||
double midX = (width - 1) / 2.0D;
|
||||
double midY = (height - 1) / 2.0D;
|
||||
double step = 1.0D / SUBPIXELS;
|
||||
for (int row = 0; row < height; row++) {
|
||||
for (int col = 0; col < width; col++) {
|
||||
int color = visibleSpark(pixels[row * width + col]);
|
||||
DustParticleOptions dust = new DustParticleOptions(color, sparkSize);
|
||||
for (int subY = 0; subY < SUBPIXELS; subY++) {
|
||||
for (int subX = 0; subX < SUBPIXELS; subX++) {
|
||||
double px = (col - midX) + (subX + 0.5D) * step - 0.5D;
|
||||
double py = (midY - row) - (subY + 0.5D) * step + 0.5D;
|
||||
Vec3 offset = right.scale(px * pixel).add(up.scale(py * pixel));
|
||||
Vec3 pos = origin.add(offset);
|
||||
Vec3 velocity = offset.scale(0.05D);
|
||||
Particle spark = minecraft.particleEngine.createParticle(
|
||||
dust, pos.x, pos.y, pos.z, velocity.x, velocity.y, velocity.z);
|
||||
if (spark != null) {
|
||||
((ParticleLifetimeAccessor) spark).onlyfun$setLifetime(SPARK_LIFETIME_TICKS);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static boolean largeBurst(FireworkRocketEntity rocket) {
|
||||
return (rocket.getUUID().getLeastSignificantBits() & 1L) != 0L;
|
||||
}
|
||||
|
||||
public static double burstPixel(boolean large) {
|
||||
return large ? LARGE_PIXEL : PIXEL;
|
||||
}
|
||||
|
||||
public static float burstSparkSize(boolean large) {
|
||||
return large ? LARGE_SPARK_SIZE : SPARK_SIZE;
|
||||
}
|
||||
|
||||
private static Vec3 facing(Minecraft minecraft, Vec3 origin) {
|
||||
Vec3 camera = minecraft.gameRenderer.mainCamera().position();
|
||||
Vec3 horizontal = new Vec3(origin.x - camera.x, 0.0D, origin.z - camera.z);
|
||||
if (horizontal.lengthSqr() < 1.0E-4D) return new Vec3(0.0D, 0.0D, 1.0D);
|
||||
return horizontal.normalize();
|
||||
}
|
||||
|
||||
private static int visibleSpark(int rgb) {
|
||||
int red = rgb >> 16 & 0xFF;
|
||||
int green = rgb >> 8 & 0xFF;
|
||||
int blue = rgb & 0xFF;
|
||||
if (red + green + blue < 24) return 0x2A2A2A;
|
||||
return rgb;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
package fr.koka99cab.sanctuary26.onlyfun.item;
|
||||
|
||||
import java.util.function.Consumer;
|
||||
import net.minecraft.ChatFormatting;
|
||||
import net.minecraft.network.chat.Component;
|
||||
import net.minecraft.world.item.FireworkRocketItem;
|
||||
import net.minecraft.world.item.ItemStack;
|
||||
import net.minecraft.world.item.TooltipFlag;
|
||||
import net.minecraft.world.item.component.TooltipDisplay;
|
||||
|
||||
/** Firework rocket that bursts into the baked Nourra skin face. */
|
||||
public final class NourraFireworkItem extends FireworkRocketItem {
|
||||
public NourraFireworkItem(Properties properties) {
|
||||
super(properties);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void appendHoverText(ItemStack stack, TooltipContext context, TooltipDisplay display,
|
||||
Consumer<Component> tooltip, TooltipFlag flag) {
|
||||
tooltip.accept(Component.translatable("tooltip.onlyfun.nourra_firework").withStyle(ChatFormatting.AQUA));
|
||||
super.appendHoverText(stack, context, display, tooltip, flag);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
package fr.koka99cab.sanctuary26.onlyfun.item;
|
||||
|
||||
import java.util.List;
|
||||
import net.minecraft.world.item.ItemStack;
|
||||
import net.minecraft.world.item.component.Fireworks;
|
||||
|
||||
/**
|
||||
* Baked Nourra head (NameMC 6166a439e9354904): inner face, hood overlay, hood top.
|
||||
* Other skin fireworks reuse the same flight rules via {@link SkinFacePortrait}.
|
||||
*/
|
||||
public final class SkinFaceFireworkExplosions {
|
||||
public static final int WIDTH = 8;
|
||||
public static final int HEIGHT = 8;
|
||||
public static final int TRANSPARENT = -1;
|
||||
/** Inner head front, top-left origin, row-major RGB. */
|
||||
public static final int[] FACE = {
|
||||
0x000000, 0x020202, 0x0A0A0A, 0x111111, 0x111111, 0x0A0A0A, 0x020202, 0x000000,
|
||||
0x020202, 0x0A0A0A, 0x111111, 0x181818, 0x181818, 0x111111, 0x0A0A0A, 0x020202,
|
||||
0x0A0A0A, 0x111111, 0x181818, 0x212121, 0x212121, 0x181818, 0x111111, 0x0A0A0A,
|
||||
0x111111, 0x181818, 0x212121, 0x2B2B2B, 0x2B2B2B, 0x212121, 0x181818, 0x111111,
|
||||
0x111111, 0x000000, 0x000000, 0xFFF0E1, 0xFFF0E1, 0x000000, 0x000000, 0x111111,
|
||||
0x0A0A0A, 0xFFFFFF, 0x4A9DFC, 0xFDE8D7, 0xFFF0E1, 0x4A9DFC, 0xFFFFFF, 0x0A0A0A,
|
||||
0x020202, 0xFFFFFF, 0x4A9DFC, 0xFDE8D7, 0xFDE8D7, 0x4A9DFC, 0xFFFFFF, 0x020202,
|
||||
0x000000, 0xF0C6A5, 0xF7D5B9, 0xFCE1CA, 0xFCE1CA, 0xF7D5B9, 0xF0C6A5, 0x000000
|
||||
};
|
||||
/** Hat/hood overlay on the front; {@link #TRANSPARENT} keeps the inner face visible. */
|
||||
public static final int[] HOOD = {
|
||||
0x000000, 0x0D0D0D, 0xCBCBCB, 0xD8D8D8, 0xD8D8D8, 0xCBCBCB, 0x0D0D0D, 0x000000,
|
||||
0x0D0D0D, 0x707070, 0xD8D8D8, 0xE5E5E5, 0xE5E5E5, 0xD8D8D8, 0x707070, 0x0D0D0D,
|
||||
0xCBCBCB, 0xD8D8D8, 0xFFFFFF, 0x212121, 0x212121, 0x181818, 0xD8D8D8, 0xCBCBCB,
|
||||
0xD8D8D8, 0x181818, 0x212121, 0x2B2B2B, 0x2B2B2B, 0x212121, 0x181818, 0xD8D8D8,
|
||||
0x111111, 0x181818, 0x212121, 0x2B2B2B, TRANSPARENT, TRANSPARENT, TRANSPARENT, 0x111111,
|
||||
0x0A0A0A, 0x111111, 0x181818, TRANSPARENT, TRANSPARENT, TRANSPARENT, TRANSPARENT, TRANSPARENT,
|
||||
0x020202, 0x0A0A0A, TRANSPARENT, TRANSPARENT, TRANSPARENT, TRANSPARENT, TRANSPARENT, TRANSPARENT,
|
||||
TRANSPARENT, 0x020202, TRANSPARENT, TRANSPARENT, TRANSPARENT, TRANSPARENT, TRANSPARENT, TRANSPARENT
|
||||
};
|
||||
/** Front edge of the hood top (skin overlay top rows closest to the face). */
|
||||
public static final int[] HOOD_TOP = {
|
||||
0xBEBEBE, 0xCBCBCB, 0xD8D8D8, 0xD8D8D8, 0xD8D8D8, 0xD8D8D8, 0xCBCBCB, 0xBEBEBE,
|
||||
0xB8B8B8, 0xB8B8B8, 0xCBCBCB, 0xD8D8D8, 0xD8D8D8, 0xCBCBCB, 0xB8B8B8, 0xB8B8B8
|
||||
};
|
||||
/** Vanilla flight 3 minus half a gunpowder step, so the burst sits between 2 and 3. */
|
||||
public static final int LIFETIME_TRIM_TICKS = 5;
|
||||
|
||||
private SkinFaceFireworkExplosions() {
|
||||
}
|
||||
|
||||
public static Fireworks defaultFireworks() {
|
||||
return new Fireworks(3, List.of());
|
||||
}
|
||||
|
||||
public static int midFlightLifetime(int vanillaLifetime) {
|
||||
return Math.max(1, vanillaLifetime - LIFETIME_TRIM_TICKS);
|
||||
}
|
||||
|
||||
public static boolean isSkinFaceRocket(ItemStack stack) {
|
||||
return SkinFacePortrait.of(stack) != null;
|
||||
}
|
||||
|
||||
public static int opaqueHoodPixels() {
|
||||
int count = 0;
|
||||
for (int color : HOOD) {
|
||||
if (color != TRANSPARENT) count++;
|
||||
}
|
||||
return count;
|
||||
}
|
||||
|
||||
/** Hood top (2 rows) then the 8×8 face with the hood overlay composited. */
|
||||
public static int[] portrait() {
|
||||
return SkinFacePortrait.NOURRA.portrait();
|
||||
}
|
||||
|
||||
public static int portraitHeight() {
|
||||
return SkinFacePortrait.NOURRA.portraitHeight();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package fr.koka99cab.sanctuary26.onlyfun.item;
|
||||
|
||||
import java.util.function.Consumer;
|
||||
import net.minecraft.ChatFormatting;
|
||||
import net.minecraft.network.chat.Component;
|
||||
import net.minecraft.world.item.FireworkRocketItem;
|
||||
import net.minecraft.world.item.ItemStack;
|
||||
import net.minecraft.world.item.TooltipFlag;
|
||||
import net.minecraft.world.item.component.TooltipDisplay;
|
||||
|
||||
/** Firework rocket that bursts into a baked skin face. */
|
||||
public final class SkinFaceFireworkItem extends FireworkRocketItem {
|
||||
private final SkinFacePortrait portrait;
|
||||
|
||||
public SkinFaceFireworkItem(SkinFacePortrait portrait, Properties properties) {
|
||||
super(properties);
|
||||
this.portrait = portrait;
|
||||
}
|
||||
|
||||
public SkinFacePortrait portrait() {
|
||||
return portrait;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void appendHoverText(ItemStack stack, TooltipContext context, TooltipDisplay display,
|
||||
Consumer<Component> tooltip, TooltipFlag flag) {
|
||||
tooltip.accept(Component.translatable("tooltip.onlyfun.skin_face_firework").withStyle(ChatFormatting.AQUA));
|
||||
super.appendHoverText(stack, context, display, tooltip, flag);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,269 @@
|
||||
package fr.koka99cab.sanctuary26.onlyfun.item;
|
||||
|
||||
import net.minecraft.world.item.ItemStack;
|
||||
|
||||
/** Baked 8x8 inner face, hood overlay and hood-top strip for each skin firework. */
|
||||
public enum SkinFacePortrait {
|
||||
NOURRA("nourra", new int[] {
|
||||
0x000000, 0x020202, 0x0A0A0A, 0x111111, 0x111111, 0x0A0A0A, 0x020202, 0x000000,
|
||||
0x020202, 0x0A0A0A, 0x111111, 0x181818, 0x181818, 0x111111, 0x0A0A0A, 0x020202,
|
||||
0x0A0A0A, 0x111111, 0x181818, 0x212121, 0x212121, 0x181818, 0x111111, 0x0A0A0A,
|
||||
0x111111, 0x181818, 0x212121, 0x2B2B2B, 0x2B2B2B, 0x212121, 0x181818, 0x111111,
|
||||
0x111111, 0x000000, 0x000000, 0xFFF0E1, 0xFFF0E1, 0x000000, 0x000000, 0x111111,
|
||||
0x0A0A0A, 0xFFFFFF, 0x4A9DFC, 0xFDE8D7, 0xFFF0E1, 0x4A9DFC, 0xFFFFFF, 0x0A0A0A,
|
||||
0x020202, 0xFFFFFF, 0x4A9DFC, 0xFDE8D7, 0xFDE8D7, 0x4A9DFC, 0xFFFFFF, 0x020202,
|
||||
0x000000, 0xF0C6A5, 0xF7D5B9, 0xFCE1CA, 0xFCE1CA, 0xF7D5B9, 0xF0C6A5, 0x000000
|
||||
}, new int[] {
|
||||
0x000000, 0x0D0D0D, 0xCBCBCB, 0xD8D8D8, 0xD8D8D8, 0xCBCBCB, 0x0D0D0D, 0x000000,
|
||||
0x0D0D0D, 0x707070, 0xD8D8D8, 0xE5E5E5, 0xE5E5E5, 0xD8D8D8, 0x707070, 0x0D0D0D,
|
||||
0xCBCBCB, 0xD8D8D8, 0xFFFFFF, 0x212121, 0x212121, 0x181818, 0xD8D8D8, 0xCBCBCB,
|
||||
0xD8D8D8, 0x181818, 0x212121, 0x2B2B2B, 0x2B2B2B, 0x212121, 0x181818, 0xD8D8D8,
|
||||
0x111111, 0x181818, 0x212121, 0x2B2B2B, -1, -1, -1, 0x111111,
|
||||
0x0A0A0A, 0x111111, 0x181818, -1, -1, -1, -1, -1,
|
||||
0x020202, 0x0A0A0A, -1, -1, -1, -1, -1, -1,
|
||||
-1, 0x020202, -1, -1, -1, -1, -1, -1
|
||||
}, new int[] {
|
||||
0xBEBEBE, 0xCBCBCB, 0xD8D8D8, 0xD8D8D8, 0xD8D8D8, 0xD8D8D8, 0xCBCBCB, 0xBEBEBE,
|
||||
0xB8B8B8, 0xB8B8B8, 0xCBCBCB, 0xD8D8D8, 0xD8D8D8, 0xCBCBCB, 0xB8B8B8, 0xB8B8B8
|
||||
}),
|
||||
CHRISM("chrism", new int[] {
|
||||
0xF59589, 0xF89C90, 0xFEA398, 0xFEA398, 0xFCA297, 0xF89B8F, 0xF2978B, 0xF49488,
|
||||
0xF59589, 0xFB9D91, 0xFA9D92, 0xFCA095, 0xFCA095, 0xFCA095, 0xF89B8F, 0xF49488,
|
||||
0xF59589, 0xFB9A8E, 0xFD9E93, 0xFDA196, 0xFDA196, 0xFD9E93, 0xFB9A8E, 0xFF988B,
|
||||
0xFE8B7E, 0xFE8B7E, 0xFE8B7E, 0xFE8B7E, 0xFE8B7E, 0xFE8B7E, 0xFE8B7E, 0xFE8B7E,
|
||||
0xFE8B7E, 0x000000, 0xFE8B7E, 0xFE8B7E, 0xFE8B7E, 0xFE8B7E, 0x000000, 0xFD8B7D,
|
||||
0xF67D70, 0xF68375, 0xFA897C, 0xFE8B7E, 0xFE8B7E, 0xFE8B7E, 0xF68375, 0xF67D70,
|
||||
0x000000, 0xFFFFFF, 0x000000, 0x000000, 0x000000, 0x000000, 0xFFFFFF, 0x000000,
|
||||
0xEE6858, 0x000000, 0x000000, 0xFF1408, 0xFC0C00, 0x000000, 0x000000, 0xEE6858
|
||||
}, new int[] {
|
||||
0xFF8071, 0xFF8274, 0xFF796A, 0xFA7B6C, 0xFE7E70, 0xF97769, 0xFB7F70, 0xFF7A6B,
|
||||
0xF56E5E, 0xFF9185, 0xFF8375, 0xFF9084, 0xFB8A7E, 0xFE9286, 0xFF8B7E, 0xF68274,
|
||||
0xFA7263, 0xFF9488, 0xFE9084, 0xFE8C80, 0xFF9286, 0xF77F72, 0xF89084, 0xF97465,
|
||||
0xFF8273, 0xFF8E82, 0xFA8D81, 0xF68477, 0xF69186, 0xFF8F83, 0xFD9286, 0xFF7767,
|
||||
0xFF8173, 0xFB887B, 0xFC9084, 0xFF9083, 0xFF978B, 0xFF8375, 0xF48A7E, 0xFF8173,
|
||||
0xFD7D6E, -1, 0xF5897D, 0xFF8C7F, 0xF3877A, 0xFF897C, -1, 0xFF7060,
|
||||
0xFC7667, 0xFF897B, 0xFF9488, -1, -1, 0xF37F72, 0xF89186, 0xFD7566,
|
||||
0xFF8375, 0xFF7F70, 0xF88072, 0xF88173, 0xFC7869, 0xFF8173, 0xFF8678, 0xFF7C6D
|
||||
}, new int[] {
|
||||
0xF97566, 0xFF8C7F, 0xF4867A, 0xFF877A, 0xF4786A, 0xFF8678, 0xF97E70, 0xFF7F71,
|
||||
0xFF897B, 0xFB7566, 0xFF8C7F, 0xF77F72, 0xF77769, 0xFF7C6E, 0xF88578, 0xF87B6D
|
||||
}),
|
||||
KANINSCHEUN("kaninscheun", new int[] {
|
||||
0xEAD900, 0xEDDF2D, 0xEAD900, 0xEDDF2D, 0xEAD900, 0xEDDF2D, 0xEAD900, 0xEDDF2D,
|
||||
0xEAD900, 0xEDDF2D, 0xEAD900, 0xEDDF2D, 0xEAD900, 0xFFCC66, 0xEAD900, 0xEDDF2D,
|
||||
0xEAD900, 0xEDDF2D, 0xEAD900, 0xFFCC66, 0xFFCC66, 0xFFCC66, 0xFFCC66, 0xEDDF2D,
|
||||
0xEAD900, 0x000000, 0xFFCC66, 0xFFCC66, 0xFFCC66, 0xFFCC66, 0x000000, 0xEDDF2D,
|
||||
0xEAD900, 0x000000, 0x000000, 0xFFCC66, 0xFFCC66, 0x000000, 0x000000, 0xEDDF2D,
|
||||
0xEAD900, 0xFFCC66, 0xFFCC66, 0xFFCC66, 0xFFCC66, 0xFFCC66, 0xFFCC66, 0xEDDF2D,
|
||||
0xEAD900, 0xFFCC66, 0xEDDF2D, 0xEAD900, 0xEDDF2D, 0xEAD900, 0xFFCC66, 0xEDDF2D,
|
||||
0xEAD900, 0xEAD900, 0xEDDF2D, 0xFFCC66, 0xFFCC66, 0xEAD900, 0xEAD900, 0xEDDF2D
|
||||
}, new int[] {
|
||||
-1, 0xEAD900, 0xEDDF2D, 0xEAD900, 0xEDDF2D, 0xEAD900, 0xEDDF2D, -1,
|
||||
0xEDDF2D, 0xEAD900, 0xEDDF2D, 0xEAD900, 0xEDDF2D, 0xEAD900, 0xEDDF2D, 0xEAD900,
|
||||
0xEDDF2D, 0xEAD900, 0xEDDF2D, -1, -1, -1, 0xEDDF2D, 0xEAD900,
|
||||
0xEDDF2D, 0xEAD900, -1, -1, -1, -1, -1, 0xEAD900,
|
||||
0xEDDF2D, -1, -1, -1, -1, -1, -1, 0xEAD900,
|
||||
0xEDDF2D, -1, -1, -1, -1, -1, -1, 0xEAD900,
|
||||
0xEDDF2D, -1, -1, -1, -1, -1, -1, 0xEAD900,
|
||||
-1, 0xEAD900, -1, -1, -1, -1, 0xEDDF2D, -1
|
||||
}, new int[] {
|
||||
0xEDDF2D, 0xEAD900, 0xEDDF2D, 0xEAD900, 0xEDDF2D, 0xEAD900, 0xEDDF2D, 0xEAD900,
|
||||
0xEDDF2D, 0xEAD900, 0xEDDF2D, 0xEAD900, 0xEDDF2D, 0xEAD900, 0xEDDF2D, 0xEAD900
|
||||
}),
|
||||
POUPOUTAIN("poupoutain", new int[] {
|
||||
0x4B5456, 0x4B5456, 0x4B5456, 0x4B5456, 0x4B5456, 0x4B5456, 0x4B5456, 0x4B5456,
|
||||
0x4B5456, 0xE7E6E4, 0xE7E6E4, 0xE7E6E4, 0xE7E6E4, 0xE7E6E4, 0xE7E6E4, 0x4B5456,
|
||||
0x4B5456, 0xE7E6E4, 0xE7E6E4, 0xE7E6E4, 0xE7E6E4, 0x342404, 0xE7E6E4, 0x4B5456,
|
||||
0x4B5456, 0xE7E6E4, 0x342404, 0xE7E6E4, 0xE7E6E4, 0xE7E6E4, 0xE7E6E4, 0x4B5456,
|
||||
0x4B5456, 0xE7E6E4, 0xE7E6E4, 0xE7E6E4, 0xE7E6E4, 0xE7E6E4, 0xE7E6E4, 0x4B5456,
|
||||
0x4B5456, 0xE7E6E4, 0xE7E6E4, 0xE7E6E4, 0x342404, 0xE0DFDE, 0xE7E6E4, 0x4B5456,
|
||||
0x4B5456, 0xE7E6E4, 0xE7E6E4, 0xE7E6E4, 0xE7E6E4, 0xE7E6E4, 0xE7E6E4, 0x4B5456,
|
||||
0x4B5456, 0x4B5456, 0x4B5456, 0x4B5456, 0x4B5456, 0x4B5456, 0x4B5456, 0x4B5456
|
||||
}, new int[] {
|
||||
-1, -1, -1, -1, -1, -1, -1, -1,
|
||||
-1, -1, -1, -1, -1, -1, -1, -1,
|
||||
-1, -1, -1, -1, -1, -1, -1, -1,
|
||||
-1, -1, -1, -1, -1, -1, -1, -1,
|
||||
-1, -1, -1, -1, -1, -1, -1, -1,
|
||||
-1, -1, -1, -1, -1, -1, -1, -1,
|
||||
-1, -1, -1, -1, -1, -1, -1, -1,
|
||||
-1, -1, -1, -1, -1, -1, -1, -1
|
||||
}, new int[] {
|
||||
0x4B5456, 0x4B5456, 0x4B5456, 0x4B5456, 0x4B5456, 0x4B5456, 0x4B5456, 0x4B5456,
|
||||
0x414B4C, 0x414B4C, 0x414B4C, 0x414B4C, 0x414B4C, 0x414B4C, 0x414B4C, 0x414B4C
|
||||
}),
|
||||
LBEAST("lbeast", new int[] {
|
||||
0x8A6C30, 0x8A6B31, 0x644B1A, 0x5D4B1E, 0x896F37, 0x80672A, 0x614B1A, 0x4C3910,
|
||||
0x957538, 0x816C34, 0x6D5521, 0x715B20, 0xA88C44, 0x9C7E3B, 0x7F6625, 0x7D6325,
|
||||
0xB59F6D, 0xC1AC74, 0xC8B378, 0xD0BB7C, 0xD9C382, 0xE7CF8A, 0xD2BC7E, 0xC6A574,
|
||||
0xB39C6C, 0x2B2324, 0x2B2324, 0xD5BA80, 0xD7BE80, 0x2B2324, 0x2B2324, 0xCBA977,
|
||||
0xDCC285, 0xBAA0A6, 0x42597E, 0xF1D491, 0xD7BD7F, 0x42597E, 0xBAA0A6, 0xECC48B,
|
||||
0xEACC8C, 0xFAF3F5, 0x87A6D2, 0xFDDB98, 0xDCBE81, 0x87A6D2, 0xFAF3F5, 0xF1C88E,
|
||||
0xE4C082, 0xF6D695, 0xFBDD96, 0xFBE197, 0xFBE197, 0xFDDC95, 0xF6D695, 0xEBC288,
|
||||
0xE9C183, 0xEFC68A, 0xF6D695, 0xFDDC94, 0xFBE197, 0xF6D695, 0xF4C98C, 0xDFB67D
|
||||
}, new int[] {
|
||||
0x7E652E, 0xC5A253, 0xC5A253, 0xBB984A, 0xD0A64E, 0xBB984A, 0xC5A253, 0x715B29,
|
||||
0x947438, 0xEAC269, 0x96772C, 0xB69045, 0xD0A64E, 0xBB984A, 0xC5A253, 0x7E652E,
|
||||
0xB49043, 0xD0A64E, -1, 0xD0A64E, 0xE4C368, 0xBB984A, 0xD0A64E, 0x8A6E32,
|
||||
0x96772C, -1, -1, -1, -1, 0xBB9853, 0xD1AD5C, 0xB18D46,
|
||||
0xD0A64E, -1, -1, -1, -1, -1, -1, 0x9C7D39,
|
||||
-1, -1, -1, -1, -1, -1, -1, 0x9C7D39,
|
||||
-1, -1, -1, -1, -1, -1, -1, -1,
|
||||
-1, -1, -1, -1, -1, -1, -1, -1
|
||||
}, new int[] {
|
||||
0x846932, 0x907336, 0xA18340, 0xAE8E45, 0xAE8E45, 0x886F36, 0x7B6431, 0x6E5A2C,
|
||||
0x7A6029, 0x886F36, 0x95793B, 0xA18340, 0xA18340, 0x95793B, 0x886F36, 0x7B6431
|
||||
}),
|
||||
CREVEFOREST("creveforest", new int[] {
|
||||
0x2D4C54, 0x2D4C54, 0x2D4C54, 0x2D4C54, 0x355C5E, 0x2D4C54, 0x2D4C54, 0x2D4C54,
|
||||
0x2D4C54, 0x2D4C54, 0x355C5E, 0x355C5E, 0x355C5E, 0x355C5E, 0x2D4C54, 0x2D4C54,
|
||||
0x2D4C54, 0x355C5E, 0x79A88F, 0x8FC49B, 0x79A88F, 0x79A88F, 0x355C5E, 0x2D4C54,
|
||||
0x355C5E, 0x79A88F, 0x8FC49B, 0x9ED69C, 0x8FC49B, 0x8FC49B, 0x79A88F, 0x355C5E,
|
||||
0x355C5E, 0x1E2E33, 0x1E2E33, 0xB7E8A9, 0x9ED69C, 0x1E2E33, 0x1E2E33, 0x355C5E,
|
||||
0x1E2E33, 0x9BB0AC, 0x344C46, 0xD3F5BA, 0xB7E8A9, 0x344C46, 0x9BB0AC, 0x1E2E33,
|
||||
0x2D4C54, 0xEBEBEB, 0x79B8AB, 0xD3F5BA, 0xB7E8A9, 0x79B8AB, 0xEBEBEB, 0x355C5E,
|
||||
0x2D4C54, 0x8FC49B, 0xB7E8A9, 0x9ED69C, 0xB7E8A9, 0xB7E8A9, 0x8FC49B, 0x355C5E
|
||||
}, new int[] {
|
||||
-1, 0x549C62, 0x4D8C64, 0x4D8C64, 0x549C62, 0x3D785D, 0x4D8C64, -1,
|
||||
0x549C62, 0x549C62, 0x4D8C64, 0x4D8C64, 0x4D8C64, 0x3D785D, 0x4D8C64, 0x549C62,
|
||||
0x4D8C64, 0x4D8C64, 0x3D785D, 0x3D785D, 0x3D785D, 0x355C5E, 0x3D785D, 0x4D8C64,
|
||||
0x3D785D, 0x3D785D, 0x355C5E, -1, 0x355C5E, 0x2D4C54, 0x355C5E, 0x3D785D,
|
||||
0x3D785D, -1, 0x2D4C54, -1, -1, -1, 0x355C5E, 0x3D785D,
|
||||
0x355C5E, -1, -1, -1, -1, -1, -1, 0x355C5E,
|
||||
0x2D4C54, -1, -1, -1, -1, -1, -1, 0x2D4C54,
|
||||
-1, -1, -1, -1, -1, -1, -1, -1
|
||||
}, new int[] {
|
||||
0x355C5E, 0x355C5E, 0x355C5E, 0x355C5E, 0x3D785D, 0x355C5E, 0x2D4C54, 0x355C5E,
|
||||
0x2D4C54, 0x549C62, 0x4D8C64, 0x4D8C64, 0x549C62, 0x3D785D, 0x4D8C64, 0x355C5E
|
||||
}),
|
||||
SACDCHIPS("sacdchips", new int[] {
|
||||
0x3E1A05, 0x421D05, 0x391904, 0x421C06, 0x391904, 0x632C08, 0x3D1B05, 0x552607,
|
||||
0x421D05, 0x421D05, 0x391904, 0xF1DACD, 0xF2DDD1, 0xEFD7C9, 0xEED4C5, 0x632C08,
|
||||
0xEBCCBA, 0xECCFBE, 0xEDD1C1, 0xE7C3AE, 0xEDD1C1, 0xEED4C5, 0xF2DDD1, 0xECCFBE,
|
||||
0xECCFBE, 0x341704, 0x341704, 0xE7C3AE, 0xEBCCBA, 0x341704, 0x341704, 0xF1DACD,
|
||||
0xEBCCBA, 0xEEEEEE, 0x602F10, 0xEDD1C1, 0xF2DDD1, 0x602F10, 0xEEEEEE, 0xEDD1C1,
|
||||
0xE7C3AE, 0xEDD1C1, 0xE7C3AE, 0xF2DDD1, 0xF1DACD, 0xEDD1C1, 0xE7C3AE, 0xEDD1C1,
|
||||
0xE6C0AA, 0xECCFBE, 0xEBCCBA, 0x000000, 0x000000, 0xEDD1C1, 0xEAC9B6, 0xEBCCBA,
|
||||
0xEAC9B6, 0xECCFBE, 0xF2DDD1, 0xECCFBE, 0xEAC9B6, 0xF1DACD, 0xECCFBE, 0xF1DACD
|
||||
}, new int[] {
|
||||
-1, 0x180A02, 0x261003, 0x2B1204, 0x341604, 0x210E03, 0x2F1404, -1,
|
||||
-1, -1, -1, 0x2B1204, 0x210E03, 0x471E06, -1, -1,
|
||||
-1, -1, -1, -1, -1, -1, -1, -1,
|
||||
-1, -1, -1, -1, -1, -1, -1, -1,
|
||||
-1, -1, -1, -1, -1, -1, -1, -1,
|
||||
-1, -1, 0x261003, 0x180A02, 0x210E03, 0x1D0C02, -1, -1,
|
||||
-1, -1, -1, -1, -1, -1, -1, -1,
|
||||
-1, -1, -1, -1, -1, -1, -1, -1
|
||||
}, new int[] {
|
||||
0x3E1A05, 0x3E1A05, 0x210E03, 0x1D0C02, 0x341604, 0x180A02, 0x2F1404, 0x1D0C02,
|
||||
0x391805, 0x421C06, 0x421C06, 0x3E1A05, 0x471E06, 0x1D0C02, 0x341604, 0x341604
|
||||
}),
|
||||
VASELLINE("vaselline", new int[] {
|
||||
0xEBE176, 0xEBE176, 0xEBE176, 0xE8DC5F, 0xE8DC5F, 0xE8DC5F, 0xEBE176, 0xEBE176,
|
||||
0xEBE176, 0xE8DC5F, 0xE8D7B1, 0xE8D7B1, 0xE8D7B1, 0xE8D7B1, 0xE8DC5F, 0xEBE176,
|
||||
0xE8DC5F, 0xEEE1C5, 0xEEE1C5, 0xEEE1C5, 0xEEE1C5, 0xEEE1C5, 0xEEE1C5, 0xE8DC5F,
|
||||
0xE8DC5F, 0xFFFFFF, 0x6F9EE8, 0xE8D7B1, 0xE8D7B1, 0x6F9EE8, 0xFFFFFF, 0xE8DC5F,
|
||||
0xE8DC5F, 0xE8D7B1, 0xE8D7B1, 0xEEE1C5, 0xEEE1C5, 0xE8D7B1, 0xE8D7B1, 0xE8DC5F,
|
||||
0xEEE1C5, 0xEEE1C5, 0xEEE1C5, 0xEEE1C5, 0xEEE1C5, 0xEEE1C5, 0xEEE1C5, 0xEEE1C5,
|
||||
0xEEE1C5, 0xEEE1C5, 0xEEE1C5, 0xE2CD9D, 0xE2CD9D, 0xEEE1C5, 0xEEE1C5, 0xEEE1C5,
|
||||
0xEEE1C5, 0xEEE1C5, 0xEEE1C5, 0xEEE1C5, 0xEEE1C5, 0xEEE1C5, 0xEEE1C5, 0xEEE1C5
|
||||
}, new int[] {
|
||||
0xEBE176, 0xEBE176, 0xE8DC5F, 0xE8DC5F, 0xE8DC5F, 0xE8DC5F, 0xEBE176, 0xEBE176,
|
||||
0xEBE176, 0xE8DC5F, -1, -1, -1, -1, 0xE8DC5F, 0xEBE176,
|
||||
0xEBE176, -1, -1, -1, -1, -1, -1, 0xE8DC5F,
|
||||
0xE8DC5F, -1, -1, -1, -1, -1, -1, 0xE8DC5F,
|
||||
0xE8DC5F, -1, -1, -1, -1, -1, -1, 0xE8DC5F,
|
||||
-1, -1, -1, -1, -1, -1, -1, -1,
|
||||
-1, -1, -1, -1, -1, -1, -1, -1,
|
||||
-1, -1, -1, -1, -1, -1, -1, -1
|
||||
}, new int[] {
|
||||
0xEBE176, 0xE8DC5F, 0xE8DC5F, 0xEBE176, 0xEBE176, 0xE8DC5F, 0xE8DC5F, 0xE8DC5F,
|
||||
0xEBE176, 0xEBE176, 0xEBE176, 0xEBE176, 0xEBE176, 0xEBE176, 0xEBE176, 0xEBE176
|
||||
}),
|
||||
DUNCAN("duncan", new int[] {
|
||||
0x9D5330, 0x9D5330, 0x9D5330, 0x9D5330, 0x9D5330, 0x9D5330, 0x9D5330, 0x9D5330,
|
||||
0xFFD6AE, 0xFFD7AE, 0xFFD7AE, 0xFFD6AE, 0xFFD6AE, 0xFED7AE, 0xFFD7AF, 0xFFD7AE,
|
||||
0xFFD7AE, 0xAD3B11, 0xAC3A10, 0xFFD7AE, 0xFFD7AE, 0xAD3B10, 0xAC3B11, 0xFFD6AF,
|
||||
0xFED6AF, 0xFEFFFF, 0x783018, 0xFFD7AE, 0xFFD7AE, 0xFEFFFE, 0x793019, 0xFFD6AF,
|
||||
0xFFD6AE, 0x783018, 0x010000, 0xFFD7AF, 0xFED7AE, 0x010100, 0x783018, 0xFFD7AF,
|
||||
0xFED7AF, 0xFFD7AE, 0xFFD7AF, 0xFED6AF, 0xFED7AE, 0xFED7AE, 0xFED7AF, 0xFFD6AE,
|
||||
0xFED7AE, 0xFED7AF, 0xFED7AE, 0xCB97A0, 0xCB96A0, 0xFED7AE, 0xFFD7AE, 0xFFD6AE,
|
||||
0xFFD7AE, 0xFED7AE, 0xFFD7AE, 0xFFD7AF, 0xFFD7AE, 0xFFD7AE, 0xFFD7AE, 0xFED7AE
|
||||
}, new int[] {
|
||||
0x9D5330, 0xBC5D30, 0x9D5330, 0x88492A, 0x9D5330, 0x9D5330, 0x88492A, 0x9D5330,
|
||||
0x9D5330, -1, 0x88492A, -1, -1, 0xBC5D30, -1, 0x9D5330,
|
||||
-1, 0xE6AB35, 0xE7AA34, -1, -1, 0xE6AA34, 0xE7AA34, -1,
|
||||
0xE6AB34, -1, -1, 0xE7AB35, 0xE7AB35, -1, -1, 0xE6AB35,
|
||||
0xE7AB35, -1, -1, 0xE6AB35, 0xE6AA34, -1, -1, 0xE6AB35,
|
||||
-1, 0xE6AB34, 0xE6AB35, -1, -1, 0xE6AB35, 0xE6AB34, -1,
|
||||
-1, -1, -1, -1, -1, -1, -1, -1,
|
||||
-1, -1, -1, -1, -1, -1, -1, -1
|
||||
}, new int[] {
|
||||
0x9D5330, 0x9D5330, 0x9D5330, 0x9D5330, 0x88492A, 0x9D5330, 0x9D5330, 0x88492A,
|
||||
0x9D5330, 0x9D5330, 0x9D5330, 0xBC5D30, 0x9D5330, 0x9D5330, 0x9D5330, 0x9D5330
|
||||
});
|
||||
|
||||
public static final int WIDTH = 8;
|
||||
public static final int HEIGHT = 8;
|
||||
public static final int TRANSPARENT = -1;
|
||||
|
||||
private final String id;
|
||||
private final int[] face;
|
||||
private final int[] hood;
|
||||
private final int[] hoodTop;
|
||||
|
||||
SkinFacePortrait(String id, int[] face, int[] hood, int[] hoodTop) {
|
||||
this.id = id;
|
||||
this.face = face;
|
||||
this.hood = hood;
|
||||
this.hoodTop = hoodTop;
|
||||
}
|
||||
|
||||
public String id() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public String itemId() {
|
||||
return id + "_firework";
|
||||
}
|
||||
|
||||
public int[] face() {
|
||||
return face;
|
||||
}
|
||||
|
||||
public int[] hood() {
|
||||
return hood;
|
||||
}
|
||||
|
||||
public int[] hoodTop() {
|
||||
return hoodTop;
|
||||
}
|
||||
|
||||
public int opaqueHoodPixels() {
|
||||
int count = 0;
|
||||
for (int color : hood) {
|
||||
if (color != TRANSPARENT) count++;
|
||||
}
|
||||
return count;
|
||||
}
|
||||
|
||||
public int[] portrait() {
|
||||
int[] pixels = new int[WIDTH * (HEIGHT + 2)];
|
||||
System.arraycopy(hoodTop, 0, pixels, 0, hoodTop.length);
|
||||
for (int index = 0; index < face.length; index++) {
|
||||
pixels[hoodTop.length + index] = hood[index] == TRANSPARENT ? face[index] : hood[index];
|
||||
}
|
||||
return pixels;
|
||||
}
|
||||
|
||||
public int portraitHeight() {
|
||||
return HEIGHT + hoodTop.length / WIDTH;
|
||||
}
|
||||
|
||||
public static SkinFacePortrait of(ItemStack stack) {
|
||||
if (stack.isEmpty()) return null;
|
||||
if (stack.getItem() instanceof SkinFaceFireworkItem item) return item.portrait();
|
||||
if (stack.getItem() instanceof NourraFireworkItem) return NOURRA;
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
package fr.koka99cab.sanctuary26.onlyfun.mixin;
|
||||
|
||||
import fr.koka99cab.sanctuary26.onlyfun.item.SkinFaceFireworkExplosions;
|
||||
import net.minecraft.world.entity.projectile.FireworkRocketEntity;
|
||||
import org.spongepowered.asm.mixin.Mixin;
|
||||
import org.spongepowered.asm.mixin.Shadow;
|
||||
import org.spongepowered.asm.mixin.injection.At;
|
||||
import org.spongepowered.asm.mixin.injection.Inject;
|
||||
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
|
||||
|
||||
@Mixin(FireworkRocketEntity.class)
|
||||
public abstract class FireworkRocketLifetimeMixin {
|
||||
@Shadow
|
||||
private int life;
|
||||
@Shadow
|
||||
private int lifetime;
|
||||
|
||||
@Inject(method = "tick", at = @At("HEAD"))
|
||||
private void onlyfun$midFlightLifetime(CallbackInfo callback) {
|
||||
if (this.life != 0) return;
|
||||
FireworkRocketEntity rocket = (FireworkRocketEntity) (Object) this;
|
||||
if (!SkinFaceFireworkExplosions.isSkinFaceRocket(rocket.getItem())) return;
|
||||
this.lifetime = SkinFaceFireworkExplosions.midFlightLifetime(this.lifetime);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package fr.koka99cab.sanctuary26.onlyfun.mixin.client;
|
||||
|
||||
import fr.koka99cab.sanctuary26.onlyfun.client.SkinFaceFireworkClient;
|
||||
import fr.koka99cab.sanctuary26.onlyfun.item.SkinFaceFireworkExplosions;
|
||||
import net.minecraft.world.entity.projectile.FireworkRocketEntity;
|
||||
import org.spongepowered.asm.mixin.Mixin;
|
||||
import org.spongepowered.asm.mixin.injection.At;
|
||||
import org.spongepowered.asm.mixin.injection.Inject;
|
||||
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
|
||||
|
||||
@Mixin(FireworkRocketEntity.class)
|
||||
public abstract class FireworkRocketEntityMixin {
|
||||
@Inject(method = "handleEntityEvent", at = @At("HEAD"), cancellable = true)
|
||||
private void onlyfun$drawSkinFace(byte id, CallbackInfo callback) {
|
||||
if (id != 17) return;
|
||||
FireworkRocketEntity rocket = (FireworkRocketEntity) (Object) this;
|
||||
if (!rocket.level().isClientSide()) return;
|
||||
if (!SkinFaceFireworkExplosions.isSkinFaceRocket(rocket.getItem())) return;
|
||||
SkinFaceFireworkClient.explode(rocket);
|
||||
callback.cancel();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package fr.koka99cab.sanctuary26.onlyfun.mixin.client;
|
||||
|
||||
import net.minecraft.client.particle.Particle;
|
||||
import org.spongepowered.asm.mixin.Mixin;
|
||||
import org.spongepowered.asm.mixin.gen.Accessor;
|
||||
|
||||
@Mixin(Particle.class)
|
||||
public interface ParticleLifetimeAccessor {
|
||||
@Accessor("lifetime")
|
||||
void onlyfun$setLifetime(int lifetime);
|
||||
}
|
||||
@@ -8,6 +8,7 @@ import net.minecraft.core.registries.Registries;
|
||||
import net.minecraft.network.chat.Component;
|
||||
import net.minecraft.resources.ResourceKey;
|
||||
import net.minecraft.world.item.CreativeModeTab;
|
||||
import net.minecraft.world.item.Item;
|
||||
import net.minecraft.world.item.ItemStack;
|
||||
|
||||
public final class OnlyFunCreativeTab {
|
||||
@@ -28,6 +29,10 @@ public final class OnlyFunCreativeTab {
|
||||
output.accept(OnlyFunRegistries.CAPE_LOOTBOX);
|
||||
output.accept(OnlyFunRegistries.SPAWN_EGG_LOOTBOX);
|
||||
output.accept(OnlyFunRegistries.ANOMALY_LOOTBOX);
|
||||
output.accept(OnlyFunRegistries.NOURRA_FIREWORK);
|
||||
for (Item firework : OnlyFunRegistries.skinFireworks()) {
|
||||
if (firework != OnlyFunRegistries.NOURRA_FIREWORK) output.accept(firework);
|
||||
}
|
||||
output.accept(AbjectionRegistries.SHIT_BALL);
|
||||
output.accept(AbjectionRegistries.SHIT_CUBE_ITEM);
|
||||
})
|
||||
|
||||
@@ -3,6 +3,10 @@ package fr.koka99cab.sanctuary26.onlyfun.registry;
|
||||
import fr.koka99cab.sanctuary26.onlyfun.OnlyFunMod;
|
||||
import fr.koka99cab.sanctuary26.onlyfun.block.LuckyBlockBlock;
|
||||
import fr.koka99cab.sanctuary26.onlyfun.item.LootboxItem;
|
||||
import fr.koka99cab.sanctuary26.onlyfun.item.NourraFireworkItem;
|
||||
import fr.koka99cab.sanctuary26.onlyfun.item.SkinFaceFireworkExplosions;
|
||||
import fr.koka99cab.sanctuary26.onlyfun.item.SkinFaceFireworkItem;
|
||||
import fr.koka99cab.sanctuary26.onlyfun.item.SkinFacePortrait;
|
||||
import fr.koka99cab.sanctuary26.onlyfun.loot.OnlyFunGenerator;
|
||||
import fr.koka99cab.sanctuary26.onlyfun.loot.OnlyFunSource;
|
||||
import java.util.function.Function;
|
||||
@@ -32,6 +36,17 @@ public final class OnlyFunRegistries {
|
||||
public static final Item CAPE_LOOTBOX = registerLootbox("cape_lootbox", OnlyFunSource.CAPE_LOOTBOX);
|
||||
public static final Item SPAWN_EGG_LOOTBOX = registerLootbox("spawn_egg_lootbox", OnlyFunSource.SPAWN_EGG_LOOTBOX);
|
||||
public static final Item ANOMALY_LOOTBOX = registerLootbox("anomaly_lootbox", OnlyFunSource.ANOMALY_LOOTBOX);
|
||||
public static final Item NOURRA_FIREWORK = registerItem("nourra_firework",
|
||||
properties -> new NourraFireworkItem(properties.stacksTo(64)
|
||||
.component(DataComponents.FIREWORKS, SkinFaceFireworkExplosions.defaultFireworks())));
|
||||
public static final Item CHRISM_FIREWORK = registerSkinFirework(SkinFacePortrait.CHRISM);
|
||||
public static final Item KANINSCHEUN_FIREWORK = registerSkinFirework(SkinFacePortrait.KANINSCHEUN);
|
||||
public static final Item POUPOUTAIN_FIREWORK = registerSkinFirework(SkinFacePortrait.POUPOUTAIN);
|
||||
public static final Item LBEAST_FIREWORK = registerSkinFirework(SkinFacePortrait.LBEAST);
|
||||
public static final Item CREVEFOREST_FIREWORK = registerSkinFirework(SkinFacePortrait.CREVEFOREST);
|
||||
public static final Item SACDCHIPS_FIREWORK = registerSkinFirework(SkinFacePortrait.SACDCHIPS);
|
||||
public static final Item VASELLINE_FIREWORK = registerSkinFirework(SkinFacePortrait.VASELLINE);
|
||||
public static final Item DUNCAN_FIREWORK = registerSkinFirework(SkinFacePortrait.DUNCAN);
|
||||
private static boolean initialized;
|
||||
|
||||
private OnlyFunRegistries() {
|
||||
@@ -47,6 +62,13 @@ public final class OnlyFunRegistries {
|
||||
};
|
||||
}
|
||||
|
||||
public static Item[] skinFireworks() {
|
||||
return new Item[] {
|
||||
NOURRA_FIREWORK, CHRISM_FIREWORK, KANINSCHEUN_FIREWORK, POUPOUTAIN_FIREWORK,
|
||||
LBEAST_FIREWORK, CREVEFOREST_FIREWORK, SACDCHIPS_FIREWORK, VASELLINE_FIREWORK, DUNCAN_FIREWORK
|
||||
};
|
||||
}
|
||||
|
||||
public static void initialize() {
|
||||
if (initialized) {
|
||||
return;
|
||||
@@ -61,6 +83,16 @@ public final class OnlyFunRegistries {
|
||||
OnlyFunMod.LOGGER.debug("[{}] Item and block registries initialized.", OnlyFunMod.DISPLAY_NAME);
|
||||
}
|
||||
|
||||
private static Item registerSkinFirework(SkinFacePortrait portrait) {
|
||||
return registerItem(portrait.itemId(), properties -> new SkinFaceFireworkItem(portrait,
|
||||
properties.stacksTo(64).component(DataComponents.FIREWORKS, SkinFaceFireworkExplosions.defaultFireworks())));
|
||||
}
|
||||
|
||||
private static Item registerItem(String path, Function<Item.Properties, Item> factory) {
|
||||
ResourceKey<Item> key = ResourceKey.create(Registries.ITEM, OnlyFunMod.id(path));
|
||||
return Registry.register(BuiltInRegistries.ITEM, key, factory.apply(new Item.Properties().setId(key)));
|
||||
}
|
||||
|
||||
private static Item registerLootbox(String path, OnlyFunSource source) {
|
||||
ResourceKey<Item> key = ResourceKey.create(Registries.ITEM, OnlyFunMod.id(path));
|
||||
return Registry.register(BuiltInRegistries.ITEM, key,
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "onlyfun:item/chrism_firework"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "onlyfun:item/creveforest_firework"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "onlyfun:item/duncan_firework"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "onlyfun:item/kaninscheun_firework"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "onlyfun:item/lbeast_firework"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "onlyfun:item/nourra_firework"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "onlyfun:item/poupoutain_firework"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "onlyfun:item/sacdchips_firework"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "onlyfun:item/vaselline_firework"
|
||||
}
|
||||
}
|
||||
@@ -6,6 +6,17 @@
|
||||
"item.onlyfun.cape_lootbox": "Cape Lootbox",
|
||||
"item.onlyfun.spawn_egg_lootbox": "Spawn Egg Lootbox",
|
||||
"item.onlyfun.anomaly_lootbox": "Anomaly Lootbox",
|
||||
"item.onlyfun.nourra_firework": "Nourra Firework",
|
||||
"item.onlyfun.chrism_firework": "ChrisM Firework",
|
||||
"item.onlyfun.kaninscheun_firework": "Kaninscheun Firework",
|
||||
"item.onlyfun.poupoutain_firework": "Poupoutain Firework",
|
||||
"item.onlyfun.lbeast_firework": "lBeast Firework",
|
||||
"item.onlyfun.creveforest_firework": "CreveForest Firework",
|
||||
"item.onlyfun.sacdchips_firework": "SacDChips Firework",
|
||||
"item.onlyfun.vaselline_firework": "Vaselline Firework",
|
||||
"item.onlyfun.duncan_firework": "Duncan Firework",
|
||||
"tooltip.onlyfun.nourra_firework": "The burst paints the skin face, at normal or larger size.",
|
||||
"tooltip.onlyfun.skin_face_firework": "The burst paints the skin face, at normal or larger size.",
|
||||
"item.onlyfun.quality_gear": "Quality Gear",
|
||||
"item.onlyfun.impossible_tool": "Impossible Tool",
|
||||
"item.onlyfun.impossible_book": "Impossible Book",
|
||||
|
||||
@@ -6,6 +6,17 @@
|
||||
"item.onlyfun.cape_lootbox": "Lootbox de capes",
|
||||
"item.onlyfun.spawn_egg_lootbox": "Lootbox d'œufs",
|
||||
"item.onlyfun.anomaly_lootbox": "Lootbox anomalie",
|
||||
"item.onlyfun.nourra_firework": "Feu d'artifice Nourra",
|
||||
"item.onlyfun.chrism_firework": "Feu d'artifice ChrisM",
|
||||
"item.onlyfun.kaninscheun_firework": "Feu d'artifice Kaninscheun",
|
||||
"item.onlyfun.poupoutain_firework": "Feu d'artifice Poupoutain",
|
||||
"item.onlyfun.lbeast_firework": "Feu d'artifice lBeast",
|
||||
"item.onlyfun.creveforest_firework": "Feu d'artifice CreveForest",
|
||||
"item.onlyfun.sacdchips_firework": "Feu d'artifice SacDChips",
|
||||
"item.onlyfun.vaselline_firework": "Feu d'artifice Vaselline",
|
||||
"item.onlyfun.duncan_firework": "Feu d'artifice Duncan",
|
||||
"tooltip.onlyfun.nourra_firework": "L'explosion dessine le visage, en taille normale ou plus grande.",
|
||||
"tooltip.onlyfun.skin_face_firework": "L'explosion dessine le visage, en taille normale ou plus grande.",
|
||||
"item.onlyfun.quality_gear": "Équipement de qualité",
|
||||
"item.onlyfun.impossible_tool": "Outil impossible",
|
||||
"item.onlyfun.impossible_book": "Livre impossible",
|
||||
|
||||
@@ -6,6 +6,17 @@
|
||||
"item.onlyfun.cape_lootbox": "Лутбокс плащей",
|
||||
"item.onlyfun.spawn_egg_lootbox": "Лутбокс яиц призыва",
|
||||
"item.onlyfun.anomaly_lootbox": "Лутбокс-аномалия",
|
||||
"item.onlyfun.nourra_firework": "Фейерверк Нурры",
|
||||
"item.onlyfun.chrism_firework": "Фейерверк ChrisM",
|
||||
"item.onlyfun.kaninscheun_firework": "Фейерверк Kaninscheun",
|
||||
"item.onlyfun.poupoutain_firework": "Фейерверк Poupoutain",
|
||||
"item.onlyfun.lbeast_firework": "Фейерверк lBeast",
|
||||
"item.onlyfun.creveforest_firework": "Фейерверк CreveForest",
|
||||
"item.onlyfun.sacdchips_firework": "Фейерверк SacDChips",
|
||||
"item.onlyfun.vaselline_firework": "Фейерверк Vaselline",
|
||||
"item.onlyfun.duncan_firework": "Фейерверк Duncan",
|
||||
"tooltip.onlyfun.nourra_firework": "Взрыв рисует лицо скина обычного или увеличенного размера.",
|
||||
"tooltip.onlyfun.skin_face_firework": "Взрыв рисует лицо скина обычного или увеличенного размера.",
|
||||
"item.onlyfun.quality_gear": "Качественное снаряжение",
|
||||
"item.onlyfun.impossible_tool": "Невозможный инструмент",
|
||||
"item.onlyfun.impossible_book": "Невозможная книга",
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "onlyfun:item/chrism_firework"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "onlyfun:item/creveforest_firework"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "onlyfun:item/duncan_firework"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "onlyfun:item/kaninscheun_firework"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "onlyfun:item/lbeast_firework"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "onlyfun:item/nourra_firework"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "onlyfun:item/poupoutain_firework"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "onlyfun:item/sacdchips_firework"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "onlyfun:item/vaselline_firework"
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 246 B |
|
After Width: | Height: | Size: 261 B |
|
After Width: | Height: | Size: 247 B |
|
After Width: | Height: | Size: 197 B |
|
After Width: | Height: | Size: 359 B |
|
After Width: | Height: | Size: 280 B |
|
After Width: | Height: | Size: 149 B |
|
After Width: | Height: | Size: 317 B |
|
After Width: | Height: | Size: 209 B |
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shapeless",
|
||||
"category": "misc",
|
||||
"ingredients": [
|
||||
"minecraft:firework_rocket",
|
||||
"minecraft:red_dye",
|
||||
"minecraft:paper"
|
||||
],
|
||||
"result": {
|
||||
"count": 1,
|
||||
"id": "onlyfun:chrism_firework"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shapeless",
|
||||
"category": "misc",
|
||||
"ingredients": [
|
||||
"minecraft:firework_rocket",
|
||||
"minecraft:green_dye",
|
||||
"minecraft:paper"
|
||||
],
|
||||
"result": {
|
||||
"count": 1,
|
||||
"id": "onlyfun:creveforest_firework"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shapeless",
|
||||
"category": "misc",
|
||||
"ingredients": [
|
||||
"minecraft:firework_rocket",
|
||||
"minecraft:pink_dye",
|
||||
"minecraft:paper"
|
||||
],
|
||||
"result": {
|
||||
"count": 1,
|
||||
"id": "onlyfun:duncan_firework"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shapeless",
|
||||
"category": "misc",
|
||||
"ingredients": [
|
||||
"minecraft:firework_rocket",
|
||||
"minecraft:yellow_dye",
|
||||
"minecraft:paper"
|
||||
],
|
||||
"result": {
|
||||
"count": 1,
|
||||
"id": "onlyfun:kaninscheun_firework"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shapeless",
|
||||
"category": "misc",
|
||||
"ingredients": [
|
||||
"minecraft:firework_rocket",
|
||||
"minecraft:brown_dye",
|
||||
"minecraft:paper"
|
||||
],
|
||||
"result": {
|
||||
"count": 1,
|
||||
"id": "onlyfun:lbeast_firework"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shapeless",
|
||||
"category": "misc",
|
||||
"ingredients": [
|
||||
"minecraft:firework_rocket",
|
||||
"minecraft:light_blue_dye",
|
||||
"minecraft:paper"
|
||||
],
|
||||
"result": {
|
||||
"count": 1,
|
||||
"id": "onlyfun:nourra_firework"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shapeless",
|
||||
"category": "misc",
|
||||
"ingredients": [
|
||||
"minecraft:firework_rocket",
|
||||
"minecraft:light_gray_dye",
|
||||
"minecraft:paper"
|
||||
],
|
||||
"result": {
|
||||
"count": 1,
|
||||
"id": "onlyfun:poupoutain_firework"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shapeless",
|
||||
"category": "misc",
|
||||
"ingredients": [
|
||||
"minecraft:firework_rocket",
|
||||
"minecraft:orange_dye",
|
||||
"minecraft:paper"
|
||||
],
|
||||
"result": {
|
||||
"count": 1,
|
||||
"id": "onlyfun:sacdchips_firework"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shapeless",
|
||||
"category": "misc",
|
||||
"ingredients": [
|
||||
"minecraft:firework_rocket",
|
||||
"minecraft:white_dye",
|
||||
"minecraft:paper"
|
||||
],
|
||||
"result": {
|
||||
"count": 1,
|
||||
"id": "onlyfun:vaselline_firework"
|
||||
}
|
||||
}
|
||||
@@ -21,6 +21,13 @@
|
||||
"fr.koka99cab.sanctuary26.onlyfun.client.OnlyFunClient"
|
||||
]
|
||||
},
|
||||
"mixins": [
|
||||
"onlyfun.mixins.json",
|
||||
{
|
||||
"config": "onlyfun.client.mixins.json",
|
||||
"environment": "client"
|
||||
}
|
||||
],
|
||||
"depends": {
|
||||
"fabricloader": ">=0.19.3",
|
||||
"minecraft": "~26.2",
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"required": true,
|
||||
"package": "fr.koka99cab.sanctuary26.onlyfun.mixin.client",
|
||||
"compatibilityLevel": "JAVA_25",
|
||||
"client": [
|
||||
"FireworkRocketEntityMixin",
|
||||
"ParticleLifetimeAccessor"
|
||||
],
|
||||
"injectors": {
|
||||
"defaultRequire": 1
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"required": true,
|
||||
"package": "fr.koka99cab.sanctuary26.onlyfun.mixin",
|
||||
"compatibilityLevel": "JAVA_25",
|
||||
"mixins": [
|
||||
"FireworkRocketLifetimeMixin"
|
||||
],
|
||||
"injectors": {
|
||||
"defaultRequire": 1
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
package fr.koka99cab.sanctuary26.onlyfun.item;
|
||||
|
||||
import fr.koka99cab.sanctuary26.onlyfun.client.SkinFaceFireworkClient;
|
||||
import net.minecraft.SharedConstants;
|
||||
import net.minecraft.server.Bootstrap;
|
||||
import net.minecraft.world.item.component.Fireworks;
|
||||
|
||||
/** Executable check for baked skin-face firework portraits. */
|
||||
public final class SkinFaceFireworkSmoke {
|
||||
private SkinFaceFireworkSmoke() {
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
SharedConstants.tryDetectVersion();
|
||||
Bootstrap.bootStrap();
|
||||
verify();
|
||||
}
|
||||
|
||||
public static void verify() {
|
||||
require(SkinFacePortrait.values().length == 9, "Skin firework roster drifted");
|
||||
require(SkinFacePortrait.WIDTH == 8 && SkinFacePortrait.HEIGHT == 8,
|
||||
"Face grid is no longer 8×8");
|
||||
for (SkinFacePortrait portrait : SkinFacePortrait.values()) {
|
||||
require(portrait.face().length == 64, portrait.id() + " face palette length drifted");
|
||||
require(portrait.hood().length == 64, portrait.id() + " hood overlay length drifted");
|
||||
require(portrait.hoodTop().length == 16, portrait.id() + " hood top strip length drifted");
|
||||
int[] pixels = portrait.portrait();
|
||||
require(pixels.length == 80 && portrait.portraitHeight() == 10,
|
||||
portrait.id() + " portrait grid drifted");
|
||||
require(portrait.itemId().equals(portrait.id() + "_firework"),
|
||||
portrait.id() + " item id drifted");
|
||||
}
|
||||
require(SkinFacePortrait.NOURRA.face()[5 * 8 + 2] == 0x4A9DFC
|
||||
&& SkinFacePortrait.NOURRA.face()[5 * 8 + 5] == 0x4A9DFC,
|
||||
"Blue eyes are missing from the Nourra face");
|
||||
require(SkinFacePortrait.NOURRA.face()[4 * 8 + 3] == 0xFFF0E1,
|
||||
"Skin tone is missing from the baked Nourra face");
|
||||
require(SkinFacePortrait.NOURRA.hood()[2] == 0xCBCBCB,
|
||||
"Hood overlay is missing from the top of the Nourra face");
|
||||
require(SkinFacePortrait.NOURRA.hood()[5 * 8 + 2] == 0x181818,
|
||||
"Nourra hood no longer covers the left eye");
|
||||
require(SkinFacePortrait.NOURRA.hood()[5 * 8 + 5] == SkinFacePortrait.TRANSPARENT,
|
||||
"Nourra hood opening no longer leaves the right eye visible");
|
||||
require(SkinFacePortrait.NOURRA.opaqueHoodPixels() == 43,
|
||||
"Opaque Nourra hood pixel count drifted");
|
||||
int[] nourra = SkinFacePortrait.NOURRA.portrait();
|
||||
require(nourra[16 + 5 * 8 + 5] == 0x4A9DFC,
|
||||
"Right eye is missing from the composited Nourra portrait");
|
||||
require(nourra[2] == 0xD8D8D8,
|
||||
"Hood top is missing from the Nourra portrait");
|
||||
require(SkinFacePortrait.CHRISM.face()[6 * 8 + 1] == 0xFFFFFF,
|
||||
"ChrisM eyes are missing from the baked face");
|
||||
require(SkinFacePortrait.DUNCAN.face().length == 64,
|
||||
"Duncan face is missing");
|
||||
Fireworks fireworks = SkinFaceFireworkExplosions.defaultFireworks();
|
||||
require(fireworks.flightDuration() == 3 && fireworks.explosions().isEmpty(),
|
||||
"Default firework burst contract changed");
|
||||
require(SkinFaceFireworkExplosions.LIFETIME_TRIM_TICKS == 5
|
||||
&& SkinFaceFireworkExplosions.midFlightLifetime(45) == 40,
|
||||
"Mid-flight lifetime trim drifted");
|
||||
require(SkinFaceFireworkClient.PIXEL == 1.85D, "Portrait scale drifted");
|
||||
require(SkinFaceFireworkClient.LARGE_PIXEL == 2.7D, "Large portrait scale drifted");
|
||||
require(SkinFaceFireworkClient.burstPixel(false) == SkinFaceFireworkClient.PIXEL
|
||||
&& SkinFaceFireworkClient.burstSparkSize(false) == SkinFaceFireworkClient.SPARK_SIZE,
|
||||
"Normal burst scale drifted");
|
||||
require(SkinFaceFireworkClient.burstPixel(true) == SkinFaceFireworkClient.LARGE_PIXEL
|
||||
&& SkinFaceFireworkClient.burstSparkSize(true) == SkinFaceFireworkClient.LARGE_SPARK_SIZE,
|
||||
"Large burst scale drifted");
|
||||
require(SkinFaceFireworkClient.SPARK_LIFETIME_TICKS == 38, "Spark lifetime drifted");
|
||||
System.out.println("Only Fun skin fireworks: 9 baked faces with hood overlay ready.");
|
||||
}
|
||||
|
||||
private static void require(boolean condition, String message) {
|
||||
if (!condition) throw new IllegalStateException(message);
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,6 @@
|
||||
package fr.koka99cab.sanctuary26.onlyfun.loot;
|
||||
|
||||
import fr.koka99cab.sanctuary26.onlyfun.item.SkinFaceFireworkSmoke;
|
||||
import fr.koka99cab.sanctuary26.onlyfun.shop.OnlyFunShopCatalogSmoke;
|
||||
import fr.koka99cab.sanctuary26.onlyfun.world.CobbleDungeonPlacementSmoke;
|
||||
import java.util.EnumMap;
|
||||
@@ -18,6 +19,7 @@ public final class OnlyFunGeneratorSmoke {
|
||||
Bootstrap.bootStrap();
|
||||
OnlyFunShopCatalogSmoke.verify();
|
||||
CobbleDungeonPlacementSmoke.verify();
|
||||
SkinFaceFireworkSmoke.verify();
|
||||
OnlyFunGenerator.initialize();
|
||||
require(OnlyFunGenerator.ANOMALY_DENOMINATOR == 256, "Anomaly odds changed from 1/256");
|
||||
require(OnlyFunGenerator.PITY_START == 24, "Pity threshold changed");
|
||||
|
||||
@@ -0,0 +1,56 @@
|
||||
{
|
||||
"schema_version": 1,
|
||||
"status": "released",
|
||||
"source": {
|
||||
"pack_version": "26.2.0-alpha.230",
|
||||
"modules": {
|
||||
"sanctuary": "0.0.0-alpha.136",
|
||||
"redstoner": "0.0.0-alpha.17"
|
||||
}
|
||||
},
|
||||
"target": {
|
||||
"pack_version": "26.2.0-alpha.231",
|
||||
"modules": {
|
||||
"sanctuary": "0.0.0-alpha.137",
|
||||
"redstoner": "0.0.0-alpha.18"
|
||||
}
|
||||
},
|
||||
"backroom_landmarks": {
|
||||
"level_count": 5,
|
||||
"loot_chest_cell_size_chunks": 3,
|
||||
"exit_bed_source_cell_size_chunks": 10,
|
||||
"exit_bed_target_cell_size_chunks": 3,
|
||||
"books_added_to_loot": false,
|
||||
"new_chunks_only": true
|
||||
},
|
||||
"trophy_panel": {
|
||||
"wall_plate_model": "oak",
|
||||
"readable_line_count": 4,
|
||||
"page_title_and_three_podium_rows": true,
|
||||
"right_click_next_page": true,
|
||||
"sneak_right_click_previous_page": true
|
||||
},
|
||||
"compatibility": {
|
||||
"existing_saves_supported": true,
|
||||
"new_world_required": false,
|
||||
"save_reset_required": false,
|
||||
"persistent_data_formats_changed": false,
|
||||
"network_protocols_changed": false,
|
||||
"sanctuary_data_version": 15,
|
||||
"sanctuary_network_protocol": 24,
|
||||
"redstoner_data_version": 4,
|
||||
"redstoner_network_protocol": 7,
|
||||
"client_server_update_required": true
|
||||
},
|
||||
"distribution": {
|
||||
"pack_release_updated": true,
|
||||
"packwiz_index_refreshed": true,
|
||||
"prism_modrinth_index_updated": true,
|
||||
"shared_client_server_mrpack": true,
|
||||
"jei": {
|
||||
"source": "30.29.0.199",
|
||||
"target": "30.29.0.201",
|
||||
"packwiz_and_prism_synchronized": true
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"schema_version": 1,
|
||||
"status": "released",
|
||||
"source": {
|
||||
"pack_version": "26.2.0-alpha.231",
|
||||
"modules": {
|
||||
"anotherworld": "0.0.0-alpha.57",
|
||||
"sanctuary": "0.0.0-alpha.137",
|
||||
"redstoner": "0.0.0-alpha.18"
|
||||
}
|
||||
},
|
||||
"target": {
|
||||
"pack_version": "26.2.0-alpha.232",
|
||||
"modules": {
|
||||
"anotherworld": "0.0.0-alpha.58",
|
||||
"sanctuary": "0.0.0-alpha.138",
|
||||
"redstoner": "0.0.0-alpha.19"
|
||||
}
|
||||
},
|
||||
"fixed_issues": [146],
|
||||
"canon_photo_screenshots": {
|
||||
"directory": "screenshots",
|
||||
"viewfinder_crop_only": true,
|
||||
"film_filter_preserved": true,
|
||||
"full_crop_resolution": true,
|
||||
"asynchronous_png_write": true,
|
||||
"collision_safe_names": true
|
||||
},
|
||||
"alpha231_follow_up": {
|
||||
"migration": "alpha231-follow-up-cape-terminal-trophy.json",
|
||||
"banner_cape_fixed": true,
|
||||
"terminal_inventory_key_fixed": true,
|
||||
"trophy_panel_visible_lines": 8,
|
||||
"trophy_panel_entries_per_view": 7,
|
||||
"spawn_egg_kill_ranking": true
|
||||
},
|
||||
"compatibility": {
|
||||
"existing_saves_supported": true,
|
||||
"new_world_required": false,
|
||||
"save_reset_required": false,
|
||||
"persistent_data_formats_changed": false,
|
||||
"network_protocols_changed": true,
|
||||
"anotherworld_data_version": 5,
|
||||
"anotherworld_network_protocol": 2,
|
||||
"sanctuary_data_version": 15,
|
||||
"sanctuary_network_protocol": 24,
|
||||
"redstoner_data_version": 4,
|
||||
"redstoner_source_network_protocol": 7,
|
||||
"redstoner_target_network_protocol": 8,
|
||||
"client_server_update_required": true
|
||||
},
|
||||
"distribution": {
|
||||
"pack_release_updated": true,
|
||||
"packwiz_index_refreshed": true,
|
||||
"prism_modrinth_index_updated": true,
|
||||
"shared_client_server_mrpack": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
{
|
||||
"schema_version": 1,
|
||||
"status": "released",
|
||||
"released_in": "26.2.0-alpha.234",
|
||||
"temporary_until": "2026-09-07",
|
||||
"pack": {
|
||||
"source_version": "26.2.0-alpha.233",
|
||||
"target_version": "26.2.0-alpha.234"
|
||||
},
|
||||
"modules": {
|
||||
"zevent": {
|
||||
"source_module_version": null,
|
||||
"target_module_version": "0.0.0-alpha.2",
|
||||
"data_version": 1,
|
||||
"network_protocol": 1,
|
||||
"client_and_server_required": true
|
||||
}
|
||||
},
|
||||
"screen": {
|
||||
"block_id": "zevent:zevent_screen",
|
||||
"width_blocks": 9,
|
||||
"height_blocks": 5,
|
||||
"server_authoritative_channel": true,
|
||||
"maximum_channel_input_length": 128,
|
||||
"maximum_channel_name_length": 25,
|
||||
"maximum_visible_browsers_per_client": 2,
|
||||
"audible_distance_blocks": 64
|
||||
},
|
||||
"dependencies": {
|
||||
"mcef_modern": {
|
||||
"version": "0.3.3+mc26.2.jcef146.0.10",
|
||||
"modrinth_project_id": "YJFfu5pH",
|
||||
"modrinth_version_id": "FOXbUPNd",
|
||||
"environment": "client_only"
|
||||
}
|
||||
},
|
||||
"compatibility": {
|
||||
"existing_saves_supported": true,
|
||||
"new_world_required": false,
|
||||
"save_reset_required": false,
|
||||
"existing_module_data_versions_changed": false,
|
||||
"existing_module_network_protocols_changed": false,
|
||||
"zevent_client_server_update_required": true
|
||||
},
|
||||
"distribution": {
|
||||
"packwiz_index_refreshed": true,
|
||||
"prism_modrinth_index_updated": true,
|
||||
"shared_client_server_mrpack": true,
|
||||
"mcef_client_only": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
{
|
||||
"schema_version": 1,
|
||||
"status": "released",
|
||||
"released_in": "26.2.0-alpha.235",
|
||||
"temporary_until": "2026-09-07",
|
||||
"pack": {
|
||||
"source_version": "26.2.0-alpha.234",
|
||||
"target_version": "26.2.0-alpha.235"
|
||||
},
|
||||
"modules": {
|
||||
"zevent": {
|
||||
"source_module_version": "0.0.0-alpha.2",
|
||||
"target_module_version": "0.0.0-alpha.3",
|
||||
"data_version": 1,
|
||||
"network_protocol": 1,
|
||||
"client_and_server_required": true
|
||||
}
|
||||
},
|
||||
"playback": {
|
||||
"mcef_removed": true,
|
||||
"native_hls_decoder": true,
|
||||
"h264_video": true,
|
||||
"aac_audio": true,
|
||||
"maximum_quality_height": 720,
|
||||
"automatic_retry_seconds": 30,
|
||||
"offline_feedback": true
|
||||
},
|
||||
"dependencies": {
|
||||
"dream_displays": {
|
||||
"version": "1.9.6",
|
||||
"modrinth_project_id": "4IIKQyBu",
|
||||
"modrinth_version_id": "GxyW2ksW",
|
||||
"environment": "client_and_server"
|
||||
}
|
||||
},
|
||||
"compatibility": {
|
||||
"existing_saves_supported": true,
|
||||
"new_world_required": false,
|
||||
"save_reset_required": false,
|
||||
"data_version_changed": false,
|
||||
"network_protocol_changed": false,
|
||||
"zevent_client_server_update_required": true
|
||||
},
|
||||
"distribution": {
|
||||
"packwiz_index_refreshed": true,
|
||||
"prism_modrinth_index_updated": true,
|
||||
"shared_client_server_mrpack": true,
|
||||
"mcef_removed": true,
|
||||
"dream_displays_required": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"schema_version": 1,
|
||||
"status": "released",
|
||||
"released_in": "26.2.0-alpha.236",
|
||||
"pack": {
|
||||
"source_version": "26.2.0-alpha.235",
|
||||
"target_version": "26.2.0-alpha.236"
|
||||
},
|
||||
"removed_module": {
|
||||
"id": "zevent",
|
||||
"source_module_version": "0.0.0-alpha.3",
|
||||
"target_module_version": null,
|
||||
"source_directory_removed": true,
|
||||
"client_jar_removed": true,
|
||||
"server_jar_removed": true,
|
||||
"registry_ids_removed": [
|
||||
"zevent:zevent_screen"
|
||||
]
|
||||
},
|
||||
"replacement": {
|
||||
"module": "dreamdisplays",
|
||||
"version": "1.9.6",
|
||||
"modrinth_project_id": "4IIKQyBu",
|
||||
"modrinth_version_id": "GxyW2ksW",
|
||||
"client_and_server_required": true,
|
||||
"automatic_screen_conversion": false
|
||||
},
|
||||
"compatibility": {
|
||||
"world_reset_required": false,
|
||||
"world_backup_recommended": true,
|
||||
"existing_zevent_screens_must_be_replaced": true,
|
||||
"remaining_module_data_preserved": true,
|
||||
"remaining_network_protocols_changed": false,
|
||||
"client_and_server_must_remove_zevent": true
|
||||
},
|
||||
"distribution": {
|
||||
"packwiz_index_refreshed": true,
|
||||
"prism_modrinth_index_updated": true,
|
||||
"zevent_jar_absent": true,
|
||||
"dream_displays_required": true,
|
||||
"distributed_module_count": 10
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"schema_version": 1,
|
||||
"status": "released",
|
||||
"released_in": "26.2.0-alpha.237",
|
||||
"pack": {
|
||||
"source_version": "26.2.0-alpha.236",
|
||||
"target_version": "26.2.0-alpha.237"
|
||||
},
|
||||
"dependency": {
|
||||
"id": "dreamdisplays",
|
||||
"source_version": "1.9.6",
|
||||
"target_version": "1.10.0-dev",
|
||||
"target_filename": "dreamdisplays-fabric-26.2-audio-buffer-test.jar",
|
||||
"sha256": "cea9efcea0401ebb44a471f43539c582ffae02fbd9b36d393c7aacdfc198ec74",
|
||||
"client_and_server_required": true,
|
||||
"pinned_test_build": true,
|
||||
"audio_buffer_fix": true
|
||||
},
|
||||
"compatibility": {
|
||||
"world_reset_required": false,
|
||||
"save_migration_required": false,
|
||||
"sanctuary_module_versions_changed": false,
|
||||
"network_protocols_changed": false,
|
||||
"client_and_server_must_update": true
|
||||
},
|
||||
"distribution": {
|
||||
"packwiz_index_refreshed": true,
|
||||
"prism_modrinth_index_updated": true,
|
||||
"old_dreamdisplays_jar_removed": true,
|
||||
"zevent_jar_absent": true,
|
||||
"distributed_module_count": 10
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"schema_version": 1,
|
||||
"status": "released",
|
||||
"released_in": "26.2.0-alpha.238",
|
||||
"pack": {
|
||||
"source_version": "26.2.0-alpha.237",
|
||||
"target_version": "26.2.0-alpha.238"
|
||||
},
|
||||
"dependency": {
|
||||
"id": "dreamdisplays",
|
||||
"source_version": "1.10.0-dev",
|
||||
"target_version": "1.10.0-dev",
|
||||
"source_filename": "dreamdisplays-fabric-26.2-audio-buffer-test.jar",
|
||||
"target_filename": "dreamdisplays-fabric-26.2-audio-buffer-test-2.jar",
|
||||
"sha256": "fae5681de3209dba98d6359fb878e7cf230cde08e96c08fb71394aed35823188",
|
||||
"client_and_server_required": true,
|
||||
"pinned_test_build": true,
|
||||
"audio_buffer_fix": true
|
||||
},
|
||||
"compatibility": {
|
||||
"world_reset_required": false,
|
||||
"save_migration_required": false,
|
||||
"sanctuary_module_versions_changed": false,
|
||||
"network_protocols_changed": false,
|
||||
"client_and_server_must_update": true
|
||||
},
|
||||
"distribution": {
|
||||
"packwiz_index_refreshed": true,
|
||||
"prism_modrinth_index_updated": true,
|
||||
"old_dreamdisplays_jar_removed": true,
|
||||
"zevent_jar_absent": true,
|
||||
"distributed_module_count": 10
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"schema_version": 1,
|
||||
"status": "released",
|
||||
"released_in": "26.2.0-alpha.239",
|
||||
"pack": {
|
||||
"source_version": "26.2.0-alpha.238",
|
||||
"target_version": "26.2.0-alpha.239"
|
||||
},
|
||||
"removed_dependencies": [
|
||||
{
|
||||
"id": "dreamdisplays",
|
||||
"version": "1.10.0-dev",
|
||||
"filename": "dreamdisplays-fabric-26.2-audio-buffer-test-2.jar"
|
||||
}
|
||||
],
|
||||
"added_dependencies": [
|
||||
{
|
||||
"id": "mydisplay",
|
||||
"version": "1.0.0",
|
||||
"filename": "mydisplay-1.0.0-sanctuary.jar",
|
||||
"sha256": "22cd63386bc7ba6961f586949f65b4a2a6cb335d75aa155bcdf0a633f1f9d907",
|
||||
"side": "both",
|
||||
"manifest_client_dependencies_optional": true,
|
||||
"languages": ["en_us", "fr_fr", "ru_ru"]
|
||||
},
|
||||
{
|
||||
"id": "watermedia",
|
||||
"version": "3.0.0.23",
|
||||
"filename": "watermedia-3.0.0.23.jar",
|
||||
"sha256": "c3baefc8fbb005e349b3424f7df8f9d89b18524d5f7a358c6df73ca5e1d98b38",
|
||||
"side": "client"
|
||||
},
|
||||
{
|
||||
"id": "watermedia_binaries",
|
||||
"version": "3.0.0.6",
|
||||
"filename": "watermedia-binaries-3.0.0.6.jar",
|
||||
"sha256": "2d9333061c3d2330033fe68837a31f546dbf58984455b0cfec0deeff6b1f121e",
|
||||
"side": "client"
|
||||
}
|
||||
],
|
||||
"compatibility": {
|
||||
"world_reset_required": false,
|
||||
"save_migration_required": false,
|
||||
"sanctuary_module_versions_changed": false,
|
||||
"network_protocols_changed": false,
|
||||
"client_and_server_must_update": true,
|
||||
"existing_dreamdisplays_blocks_converted": false
|
||||
},
|
||||
"distribution": {
|
||||
"packwiz_index_refreshed": true,
|
||||
"prism_modrinth_index_updated": true,
|
||||
"old_dreamdisplays_jar_removed": true,
|
||||
"watermedia_client_only": true,
|
||||
"zevent_jar_absent": true,
|
||||
"distributed_module_count": 10
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"schema_version": 1,
|
||||
"status": "released",
|
||||
"released_in": "26.2.0-alpha.240",
|
||||
"pack": {
|
||||
"source_version": "26.2.0-alpha.239",
|
||||
"target_version": "26.2.0-alpha.240"
|
||||
},
|
||||
"dependency": {
|
||||
"id": "mydisplay",
|
||||
"version": "1.0.0",
|
||||
"source_filename": "mydisplay-1.0.0-sanctuary.jar",
|
||||
"target_filename": "mydisplay-1.0.0-sanctuary-2.jar",
|
||||
"source_sha256": "22cd63386bc7ba6961f586949f65b4a2a6cb335d75aa155bcdf0a633f1f9d907",
|
||||
"target_sha256": "9ff1645731dc2dfdc248e3c07ac923aba9dfe001a1580a981767f948d4f7427f",
|
||||
"side": "both",
|
||||
"manifest_client_dependencies_optional": true,
|
||||
"languages": ["en_us", "fr_fr", "ru_ru"],
|
||||
"screen_picker_added": true
|
||||
},
|
||||
"compatibility": {
|
||||
"world_reset_required": false,
|
||||
"save_migration_required": false,
|
||||
"sanctuary_module_versions_changed": false,
|
||||
"network_protocols_changed": false,
|
||||
"client_and_server_must_update": true,
|
||||
"existing_mydisplay_blocks_compatible": true
|
||||
},
|
||||
"distribution": {
|
||||
"packwiz_index_refreshed": true,
|
||||
"prism_modrinth_index_updated": true,
|
||||
"old_mydisplay_jar_removed": true,
|
||||
"direct_download_dependencies_skipped_by_modrinth_updater": true,
|
||||
"watermedia_client_only": true,
|
||||
"zevent_jar_absent": true,
|
||||
"distributed_module_count": 10
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
{
|
||||
"schema_version": 1,
|
||||
"status": "released",
|
||||
"released_in": "26.2.0-alpha.241",
|
||||
"pack": {
|
||||
"source_version": "26.2.0-alpha.240",
|
||||
"target_version": "26.2.0-alpha.241"
|
||||
},
|
||||
"dependency": {
|
||||
"id": "mydisplay",
|
||||
"version": "1.0.0",
|
||||
"source_filename": "mydisplay-1.0.0-sanctuary-2.jar",
|
||||
"target_filename": "mydisplay-1.0.0-sanctuary-3.jar",
|
||||
"source_sha256": "9ff1645731dc2dfdc248e3c07ac923aba9dfe001a1580a981767f948d4f7427f",
|
||||
"provided_sha256": "45a7dc0f9852ef776bce1ee81f1683b6333e773299b7e5eb96363cf885c8c6ef",
|
||||
"target_sha256": "97a8b7fc79bb68d661e6d0563c54b90179e6a34339c22a433f858cdff6862cbc",
|
||||
"side": "both",
|
||||
"manifest_client_dependencies_optional": true,
|
||||
"languages": ["en_us", "fr_fr", "ru_ru"]
|
||||
},
|
||||
"optimizations": {
|
||||
"argb_to_rgba_int_buffer": true,
|
||||
"distance_based_decode_lod": true,
|
||||
"distant_live_quality_cap_after_five": true,
|
||||
"proximity_prioritized_upload_budget": true,
|
||||
"last_frame_kept_when_deferred": true,
|
||||
"offscreen_cpu_upload_paused": true,
|
||||
"draw_distance_blocks": 128,
|
||||
"single_wall_render_pass": true,
|
||||
"shared_streamlink_by_channel_and_quality": true,
|
||||
"staggered_player_start": true,
|
||||
"muted_audio_decoder_disabled": true,
|
||||
"screenshot_render_buffer_reset": true,
|
||||
"screenshot_upload_pause": true
|
||||
},
|
||||
"compatibility": {
|
||||
"world_reset_required": false,
|
||||
"save_migration_required": false,
|
||||
"sanctuary_module_versions_changed": false,
|
||||
"network_protocols_changed": false,
|
||||
"client_and_server_must_update": true,
|
||||
"existing_mydisplay_blocks_compatible": true,
|
||||
"all_screens_remain_visible": true
|
||||
},
|
||||
"distribution": {
|
||||
"packwiz_index_refreshed": true,
|
||||
"prism_modrinth_index_updated": true,
|
||||
"old_mydisplay_jar_removed": true,
|
||||
"watermedia_client_only": true,
|
||||
"zevent_jar_absent": true,
|
||||
"distributed_module_count": 10
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"schema_version": 1,
|
||||
"status": "released",
|
||||
"released_in": "26.2.0-alpha.242",
|
||||
"pack": {
|
||||
"source_version": "26.2.0-alpha.241",
|
||||
"target_version": "26.2.0-alpha.242"
|
||||
},
|
||||
"dependency": {
|
||||
"id": "mydisplay",
|
||||
"version": "1.0.0",
|
||||
"source_filename": "mydisplay-1.0.0-sanctuary-3.jar",
|
||||
"target_filename": "mydisplay-1.0.0-sanctuary-4.jar",
|
||||
"source_sha256": "97a8b7fc79bb68d661e6d0563c54b90179e6a34339c22a433f858cdff6862cbc",
|
||||
"provided_sha256": "4c1bf4aa7140e613ff520b04263cb4733561c2e04b39a21b3cb7783f610119b9",
|
||||
"target_sha256": "6c3bb4e7f562c6730a6cfa23a162a1fa0641aed7105cb6b809bb5a097aa2e559",
|
||||
"side": "both",
|
||||
"manifest_client_dependencies_optional": true,
|
||||
"languages": ["en_us", "fr_fr", "ru_ru"],
|
||||
"changed_classes": [
|
||||
"com.mydisplay.client.media.DisplayPerf",
|
||||
"com.mydisplay.client.media.DisplaySession",
|
||||
"com.mydisplay.client.media.WaterMediaBackend",
|
||||
"com.mydisplay.client.media.WaterMediaBackend$Playback"
|
||||
]
|
||||
},
|
||||
"compatibility": {
|
||||
"world_reset_required": false,
|
||||
"save_migration_required": false,
|
||||
"sanctuary_module_versions_changed": false,
|
||||
"network_protocols_changed": false,
|
||||
"client_and_server_must_update": true,
|
||||
"existing_mydisplay_blocks_compatible": true
|
||||
},
|
||||
"distribution": {
|
||||
"packwiz_index_refreshed": true,
|
||||
"prism_modrinth_index_updated": true,
|
||||
"old_mydisplay_jar_removed": true,
|
||||
"watermedia_client_only": true,
|
||||
"zevent_jar_absent": true,
|
||||
"distributed_module_count": 10
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"schema_version": 1,
|
||||
"status": "released",
|
||||
"source": {
|
||||
"pack_version": "26.2.0-alpha.242",
|
||||
"modules": {
|
||||
"sanctuary": "0.0.0-alpha.139",
|
||||
"onlyfun": "0.0.0-alpha.27"
|
||||
}
|
||||
},
|
||||
"target": {
|
||||
"pack_version": "26.2.0-alpha.243",
|
||||
"modules": {
|
||||
"sanctuary": "0.0.0-alpha.140",
|
||||
"onlyfun": "0.0.0-alpha.28"
|
||||
}
|
||||
},
|
||||
"integrated_pull_requests": [172, 173, 174],
|
||||
"shop_catalog": {
|
||||
"local_search": true,
|
||||
"accent_folding": true,
|
||||
"grid_sizes": [3, 4, 5],
|
||||
"grid_preference_persisted": true,
|
||||
"page_counter": true,
|
||||
"flash_sales_unchanged": true
|
||||
},
|
||||
"quest_board": {
|
||||
"stale_sign_resynchronized_after_unloaded_rotation": true,
|
||||
"operator_refresh_rerolls_contract": true,
|
||||
"displayed_contract_matches_claimed_contract": true
|
||||
},
|
||||
"nourra_firework": {
|
||||
"registry_id": "onlyfun:nourra_firework",
|
||||
"skin_face_and_hood_particles": true,
|
||||
"normal_and_large_bursts": true,
|
||||
"vanilla_colored_burst_suppressed": true,
|
||||
"languages": ["en_us", "fr_fr", "ru_ru"]
|
||||
},
|
||||
"compatibility": {
|
||||
"existing_saves_supported": true,
|
||||
"world_reset_required": false,
|
||||
"save_migration_required": false,
|
||||
"persistent_data_formats_changed": false,
|
||||
"network_protocols_changed": false,
|
||||
"sanctuary_data_version": 15,
|
||||
"sanctuary_network_protocol": 24,
|
||||
"onlyfun_data_version": 2,
|
||||
"onlyfun_network_protocol": 3,
|
||||
"client_server_update_required": true
|
||||
},
|
||||
"distribution": {
|
||||
"pack_release_updated": true,
|
||||
"packwiz_index_refreshed": true,
|
||||
"prism_modrinth_index_updated": true,
|
||||
"shared_client_server_mrpack": true,
|
||||
"distributed_module_count": 10
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"schema_version": 1,
|
||||
"status": "released",
|
||||
"source": {
|
||||
"pack_version": "26.2.0-alpha.243",
|
||||
"modules": {
|
||||
"onlyfun": "0.0.0-alpha.28"
|
||||
}
|
||||
},
|
||||
"target": {
|
||||
"pack_version": "26.2.0-alpha.244",
|
||||
"modules": {
|
||||
"onlyfun": "0.0.0-alpha.29"
|
||||
}
|
||||
},
|
||||
"integrated_pull_requests": [176],
|
||||
"skin_fireworks": {
|
||||
"existing_portrait_preserved": "onlyfun:nourra_firework",
|
||||
"new_portraits": [
|
||||
"onlyfun:chrism_firework",
|
||||
"onlyfun:kaninscheun_firework",
|
||||
"onlyfun:poupoutain_firework",
|
||||
"onlyfun:lbeast_firework",
|
||||
"onlyfun:creveforest_firework",
|
||||
"onlyfun:sacdchips_firework",
|
||||
"onlyfun:vaselline_firework",
|
||||
"onlyfun:duncan_firework"
|
||||
],
|
||||
"portrait_size": [8, 8],
|
||||
"hood_overlay": true,
|
||||
"camera_facing_particles": true,
|
||||
"normal_and_large_bursts": true,
|
||||
"shapeless_recipes": {
|
||||
"chrism": "minecraft:red_dye",
|
||||
"kaninscheun": "minecraft:yellow_dye",
|
||||
"poupoutain": "minecraft:light_gray_dye",
|
||||
"lbeast": "minecraft:brown_dye",
|
||||
"creveforest": "minecraft:green_dye",
|
||||
"sacdchips": "minecraft:orange_dye",
|
||||
"vaselline": "minecraft:white_dye",
|
||||
"duncan": "minecraft:pink_dye"
|
||||
},
|
||||
"languages": ["en_us", "fr_fr", "ru_ru"]
|
||||
},
|
||||
"compatibility": {
|
||||
"existing_saves_supported": true,
|
||||
"world_reset_required": false,
|
||||
"save_migration_required": false,
|
||||
"persistent_data_formats_changed": false,
|
||||
"network_protocols_changed": false,
|
||||
"onlyfun_data_version": 2,
|
||||
"onlyfun_network_protocol": 3,
|
||||
"client_server_update_required": true
|
||||
},
|
||||
"distribution": {
|
||||
"pack_release_updated": true,
|
||||
"packwiz_index_refreshed": true,
|
||||
"prism_modrinth_index_updated": true,
|
||||
"shared_client_server_mrpack": true,
|
||||
"distributed_module_count": 10
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"schema_version": 1,
|
||||
"status": "released",
|
||||
"released_in": "26.2.0-alpha.232",
|
||||
"modules": {
|
||||
"sanctuary": {
|
||||
"source_module_version": "0.0.0-alpha.137",
|
||||
"target_module_version": "0.0.0-alpha.138",
|
||||
"data_version": 15,
|
||||
"network_protocol": 24
|
||||
},
|
||||
"redstoner": {
|
||||
"source_module_version": "0.0.0-alpha.18",
|
||||
"target_module_version": "0.0.0-alpha.19",
|
||||
"data_version": 4,
|
||||
"source_network_protocol": 7,
|
||||
"target_network_protocol": 8
|
||||
}
|
||||
},
|
||||
"fixes": {
|
||||
"banner_cape_flat_shield_uv_faces": true,
|
||||
"banner_cape_double_sided_culling": true,
|
||||
"terminal_inventory_key_captured_while_searching": true,
|
||||
"trophy_panel_visible_lines": 8,
|
||||
"trophy_panel_entries_per_view": 7,
|
||||
"trophy_panel_names_then_values": true,
|
||||
"spawn_egg_maps_to_entity_killed_statistic": true
|
||||
},
|
||||
"compatibility": {
|
||||
"existing_saves_supported": true,
|
||||
"new_world_required": false,
|
||||
"save_reset_required": false,
|
||||
"persistent_data_formats_changed": false,
|
||||
"network_protocols_changed": true,
|
||||
"client_server_update_required": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,64 @@
|
||||
{
|
||||
"schema_version": 1,
|
||||
"status": "released",
|
||||
"released_in": "26.2.0-alpha.233",
|
||||
"pack": {
|
||||
"source_version": "26.2.0-alpha.232",
|
||||
"target_version": "26.2.0-alpha.233"
|
||||
},
|
||||
"modules": {
|
||||
"sanctuary": {
|
||||
"source_module_version": "0.0.0-alpha.138",
|
||||
"target_module_version": "0.0.0-alpha.139",
|
||||
"data_version": 15,
|
||||
"network_protocol": 24
|
||||
},
|
||||
"redstoner": {
|
||||
"source_module_version": "0.0.0-alpha.19",
|
||||
"target_module_version": "0.0.0-alpha.20",
|
||||
"source_data_version": 4,
|
||||
"target_data_version": 5,
|
||||
"source_network_protocol": 8,
|
||||
"target_network_protocol": 9
|
||||
}
|
||||
},
|
||||
"trophy_sign": {
|
||||
"owner": "redstoner",
|
||||
"item_id_preserved": "redstoner:trophy_panel",
|
||||
"standing_block_id": "redstoner:trophy_sign",
|
||||
"wall_block_id": "redstoner:trophy_wall_sign",
|
||||
"legacy_block_id": "redstoner:trophy_panel",
|
||||
"legacy_blocks_migrate_on_load": true,
|
||||
"vanilla_sign_block_entity": true,
|
||||
"vanilla_wood_type": "pale_oak",
|
||||
"save_key": "redstoner:trophy_signs",
|
||||
"save_data_version": 1,
|
||||
"maximum_signs": 16384,
|
||||
"maximum_pages_per_sign": 16,
|
||||
"editor_opens_on_first_placement": true,
|
||||
"owner_or_operator_configuration": true,
|
||||
"owner_or_operator_breaking": true,
|
||||
"public_right_click_page_cycle": true,
|
||||
"display_modes": ["names_and_values", "names", "values"],
|
||||
"server_revalidates_distance_owner_block_and_metrics": true
|
||||
},
|
||||
"ranking_api": {
|
||||
"client_catalog_built_from_synchronized_registries": true,
|
||||
"catalog_sent_over_network": false,
|
||||
"cached_player_names_repair_uuid_prefix_placeholders": true,
|
||||
"uuid_prefixes_never_used_as_display_fallback": true
|
||||
},
|
||||
"compatibility": {
|
||||
"existing_saves_supported": true,
|
||||
"existing_item_stacks_supported": true,
|
||||
"new_world_required": false,
|
||||
"save_reset_required": false,
|
||||
"monotone_data_migration": true,
|
||||
"client_server_update_required": true
|
||||
},
|
||||
"distribution": {
|
||||
"packwiz_index_refreshed": true,
|
||||
"prism_modrinth_index_updated": true,
|
||||
"shared_client_server_mrpack": true
|
||||
}
|
||||
}
|
||||
@@ -10,7 +10,7 @@ Cette commande :
|
||||
|
||||
1. reconstruit les dix modules Sanctuary ;
|
||||
2. remplace leurs anciens JAR dans ce pack ;
|
||||
3. sélectionne la dernière version Modrinth marquée `release` de Fabric API, Simple Voice Chat, Sodium et Iris, ou `beta` pour JEI qui ne publie pas de release 26.2 ; aucune alpha n'est acceptée ;
|
||||
3. sélectionne la dernière version Modrinth marquée `release` de Fabric API, Simple Voice Chat, Sodium et Iris, ou `beta` pour JEI qui ne publie pas de release 26.2 ; aucune alpha n'est acceptée et les dépendances privées en téléchargement direct restent épinglées sans interrogation Modrinth ;
|
||||
4. rafraîchit `index.toml` ;
|
||||
5. exporte `build/distributions/sanctuary-<version>-packwiz.mrpack` ;
|
||||
6. produit `build/distributions/sanctuary-<version>-packwiz-site.zip`, à extraire sur un hébergement HTTPS statique.
|
||||
|
||||
@@ -14,15 +14,15 @@ hash = "41f4f4c88c71d0a23446d5014f7407d55ad477441847099cad24492b032335a0"
|
||||
|
||||
[[files]]
|
||||
file = "mods/ambiance-0.0.0-alpha.22.jar"
|
||||
hash = "cdc60ed8f15ca910f41954d9acb6a74ac103e85c73f665fd1bc67be7eab1f15a"
|
||||
hash = "960322cd387c47588f6fd76202c0abf2c9993cf0effa82e19f8bb31d86ab07a4"
|
||||
|
||||
[[files]]
|
||||
file = "mods/anotherworld-0.0.0-alpha.57.jar"
|
||||
hash = "634a122b406bd7206fd19947687fd7cb37e4cc4098822eecf3f0b7d1fea79d90"
|
||||
file = "mods/anotherworld-0.0.0-alpha.58.jar"
|
||||
hash = "8936b0a5bf3f122afc752cba5e8d96ac92cfb1458785c3fac13d25f51cb4814c"
|
||||
|
||||
[[files]]
|
||||
file = "mods/events-0.0.0-alpha.0.jar"
|
||||
hash = "09bd8dfccca004de46ad3237728ef532de50d04c31b88f1e33721204d3c70cd8"
|
||||
hash = "1fe3fc2f6ca371f8dde44e0bb535b1e70df0e9c4de3f56002f9f3ec6d5826745"
|
||||
|
||||
[[files]]
|
||||
file = "mods/fabric-api.pw.toml"
|
||||
@@ -31,7 +31,7 @@ metafile = true
|
||||
|
||||
[[files]]
|
||||
file = "mods/iliketomoveit-0.0.0-alpha.18.jar"
|
||||
hash = "cd026c4735e945ec6cc19261165033dc10bcbbba75af412f4145e54437a61854"
|
||||
hash = "a964e17e139757f948f67aeae73730c97af2c5932bffcc4d366d084c7cdf53ee"
|
||||
|
||||
[[files]]
|
||||
file = "mods/iris.pw.toml"
|
||||
@@ -40,32 +40,37 @@ metafile = true
|
||||
|
||||
[[files]]
|
||||
file = "mods/itsalive-0.0.0-alpha.38.jar"
|
||||
hash = "d905a05edbcb841b173ef5b0090fe7a117ec06e119fba7e184338fec7671fde6"
|
||||
hash = "97a29e1d4875265854d0b4757c6e0c286a35e626df1b8d13b465b85502381309"
|
||||
|
||||
[[files]]
|
||||
file = "mods/jei.pw.toml"
|
||||
hash = "9cc4a91f57effc48b94f6acc1f43067bb8eb99fd1df3397612c55761de9ec2c2"
|
||||
hash = "80d0fa55c1bbc0659e792b047c2bb64c446c2bf92557d9d74777333a8a68a318"
|
||||
metafile = true
|
||||
|
||||
[[files]]
|
||||
file = "mods/masterkey-0.0.0-alpha.9.jar"
|
||||
hash = "cef973db96c7523fe828a2ca57ce1283ed1da3b1ae3c646a88ea601ecfe4e825"
|
||||
hash = "95265c4aa4ebb89d5e89e3245917f47a4044db192f88995cfee2bdf63f348b79"
|
||||
|
||||
[[files]]
|
||||
file = "mods/onlyfun-0.0.0-alpha.27.jar"
|
||||
hash = "1ff5b8853c5a813bbb6c6cf5787c8311d8e72760ed0e9c2adb1da897241e4e1e"
|
||||
file = "mods/mydisplay.pw.toml"
|
||||
hash = "a5538de6d9c38cf37ff0882451fd025c8a24c7cb250482baa4ca5918d1129b06"
|
||||
metafile = true
|
||||
|
||||
[[files]]
|
||||
file = "mods/onlyfun-0.0.0-alpha.29.jar"
|
||||
hash = "c55a23de665475c95c3e5fe085097e3a09bfdf389ca61575161377482deb292a"
|
||||
|
||||
[[files]]
|
||||
file = "mods/ouch-0.0.0-alpha.11.jar"
|
||||
hash = "fd609cfe5f96ae1d2b41b2da7faf077047514772b56bbe130251db3bf72c2ac8"
|
||||
hash = "08f3355b0240c30a65314e8173f2268a1cf4b0a5ae4dac1766e49939e3e5a256"
|
||||
|
||||
[[files]]
|
||||
file = "mods/redstoner-0.0.0-alpha.17.jar"
|
||||
hash = "d7bef2bdf533d2c83f7b05549c01a77028dd5edc60418c7244447ca61160f216"
|
||||
file = "mods/redstoner-0.0.0-alpha.20.jar"
|
||||
hash = "39f0cba6213e4efcd40b8b72cf7812b56315e1d637803a87a2672b00bc4ee4a0"
|
||||
|
||||
[[files]]
|
||||
file = "mods/sanctuary-0.0.0-alpha.136.jar"
|
||||
hash = "973c12a3f26eb516bc1a053ebd18dab3f845645807448ff5638a1e9b26ba28bd"
|
||||
file = "mods/sanctuary-0.0.0-alpha.140.jar"
|
||||
hash = "f13f793dea9300543280eb761862c45e9ad86a299c4d1efa11eb7af83d2b7891"
|
||||
|
||||
[[files]]
|
||||
file = "mods/simple-voice-chat.pw.toml"
|
||||
@@ -76,3 +81,13 @@ metafile = true
|
||||
file = "mods/sodium.pw.toml"
|
||||
hash = "f06c0b9150da9877b99cb265d037c067e509340d9bf347e02cef2043c110e963"
|
||||
metafile = true
|
||||
|
||||
[[files]]
|
||||
file = "mods/watermedia-binaries.pw.toml"
|
||||
hash = "1b7c4327062eb0f70d815a2461b0ded2a2495eed8fca0fd00d75467a4aa777da"
|
||||
metafile = true
|
||||
|
||||
[[files]]
|
||||
file = "mods/watermedia.pw.toml"
|
||||
hash = "c99e2e5e4d26ec3414e6af55f252091fd728a52f1a97c69a14cacdda7af15a88"
|
||||
metafile = true
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
name = "Just Enough Items (JEI)"
|
||||
filename = "jei-26.2-fabric-30.29.0.199.jar"
|
||||
filename = "jei-26.2-fabric-30.29.0.201.jar"
|
||||
side = "both"
|
||||
pin = true
|
||||
|
||||
[download]
|
||||
url = "https://cdn.modrinth.com/data/u6dRKJwZ/versions/astSvyl6/jei-26.2-fabric-30.29.0.199.jar"
|
||||
url = "https://cdn.modrinth.com/data/u6dRKJwZ/versions/d3HeviSL/jei-26.2-fabric-30.29.0.201.jar"
|
||||
hash-format = "sha512"
|
||||
hash = "2849ff6a4cc91822798f0c70e7749c298b911c1037fc74e9ab0881734b8d5cb6507fb3169b4a240ef6c37eb6f7c573794c46073ff352f160feee245233b2abe5"
|
||||
hash = "2279cb0ec4e41d9eebad80c2ecac76d19c8bc8e5aac69ba13f35b77494625c70d66edc74d59959116012bfb2f464b55806dd69fbf6387f25679b1553953e329a"
|
||||
|
||||
[update]
|
||||
[update.modrinth]
|
||||
mod-id = "u6dRKJwZ"
|
||||
version = "astSvyl6"
|
||||
version = "d3HeviSL"
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
name = "MyDisplay"
|
||||
filename = "mydisplay-1.0.0-sanctuary-4.jar"
|
||||
side = "both"
|
||||
pin = true
|
||||
|
||||
[download]
|
||||
url = "https://download.botsu.cloud/sanctuary/artifacts/mydisplay-1.0.0-sanctuary-4.jar"
|
||||
hash-format = "sha256"
|
||||
hash = "6c3bb4e7f562c6730a6cfa23a162a1fa0641aed7105cb6b809bb5a097aa2e559"
|
||||
@@ -0,0 +1,9 @@
|
||||
name = "WaterMedia: Binaries"
|
||||
filename = "watermedia-binaries-3.0.0.6.jar"
|
||||
side = "client"
|
||||
pin = true
|
||||
|
||||
[download]
|
||||
url = "https://download.botsu.cloud/sanctuary/artifacts/watermedia-binaries-3.0.0.6.jar"
|
||||
hash-format = "sha256"
|
||||
hash = "2d9333061c3d2330033fe68837a31f546dbf58984455b0cfec0deeff6b1f121e"
|
||||
@@ -0,0 +1,9 @@
|
||||
name = "WaterMedia"
|
||||
filename = "watermedia-3.0.0.23.jar"
|
||||
side = "client"
|
||||
pin = true
|
||||
|
||||
[download]
|
||||
url = "https://download.botsu.cloud/sanctuary/artifacts/watermedia-3.0.0.23.jar"
|
||||
hash-format = "sha256"
|
||||
hash = "c3baefc8fbb005e349b3424f7df8f9d89b18524d5f7a358c6df73ca5e1d98b38"
|
||||
@@ -1,12 +1,12 @@
|
||||
name = "Sanctuary 26.2"
|
||||
author = "KOKA99CAB"
|
||||
version = "26.2.0-alpha.230"
|
||||
version = "26.2.0-alpha.244"
|
||||
pack-format = "packwiz:1.1.0"
|
||||
|
||||
[index]
|
||||
file = "index.toml"
|
||||
hash-format = "sha256"
|
||||
hash = "a78df91699f1ffa661e1bf59101891a217bd74334ee338b96824f5a9b745e443"
|
||||
hash = "e31218336db4e25008fa5203ab85cbb85172d0b21425b77ec5bfb20949d5ea3e"
|
||||
|
||||
[versions]
|
||||
fabric = "0.19.3"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"game": "minecraft",
|
||||
"name": "Sanctuary 26.2",
|
||||
"summary": "Sanctuary 26.2 — progression, exploration, worldgen and multiplayer systems by KOKA99CAB.",
|
||||
"versionId": "26.2.0-alpha.230",
|
||||
"versionId": "26.2.0-alpha.244",
|
||||
"files": [
|
||||
{
|
||||
"path": "mods/fabric-api-0.159.0+26.2.jar",
|
||||
@@ -21,19 +21,19 @@
|
||||
"fileSize": 2535793
|
||||
},
|
||||
{
|
||||
"path": "mods/jei-26.2-fabric-30.29.0.199.jar",
|
||||
"path": "mods/jei-26.2-fabric-30.29.0.201.jar",
|
||||
"hashes": {
|
||||
"sha1": "1d6ab9269be16f85fb13a34a36b34ad07a9b32a7",
|
||||
"sha512": "2849ff6a4cc91822798f0c70e7749c298b911c1037fc74e9ab0881734b8d5cb6507fb3169b4a240ef6c37eb6f7c573794c46073ff352f160feee245233b2abe5"
|
||||
"sha1": "e82447aff07e87a372cf817bc9c28b0d77b6f55c",
|
||||
"sha512": "2279cb0ec4e41d9eebad80c2ecac76d19c8bc8e5aac69ba13f35b77494625c70d66edc74d59959116012bfb2f464b55806dd69fbf6387f25679b1553953e329a"
|
||||
},
|
||||
"env": {
|
||||
"client": "required",
|
||||
"server": "required"
|
||||
},
|
||||
"downloads": [
|
||||
"https://cdn.modrinth.com/data/u6dRKJwZ/versions/astSvyl6/jei-26.2-fabric-30.29.0.199.jar"
|
||||
"https://cdn.modrinth.com/data/u6dRKJwZ/versions/d3HeviSL/jei-26.2-fabric-30.29.0.201.jar"
|
||||
],
|
||||
"fileSize": 1849188
|
||||
"fileSize": 1860103
|
||||
},
|
||||
{
|
||||
"path": "mods/voicechat-fabric-2.6.22+26.2.jar",
|
||||
@@ -79,6 +79,51 @@
|
||||
"https://cdn.modrinth.com/data/YL57xq9U/versions/oaD6KQls/iris-fabric-1.11.2%2Bmc26.2.jar"
|
||||
],
|
||||
"fileSize": 2820763
|
||||
},
|
||||
{
|
||||
"path": "mods/mydisplay-1.0.0-sanctuary-4.jar",
|
||||
"hashes": {
|
||||
"sha1": "2253da2b8e1b8d0111dc63a0d926022acef2c422",
|
||||
"sha512": "a8fcf35c6d465ef16140a5c699762939aa12e4fccae3891fbbdb38e4f14ba4cfd978193e2ef2c165ecc820927104c5e35b42fd65eeb802a6280dc2faca0e39bd"
|
||||
},
|
||||
"env": {
|
||||
"client": "required",
|
||||
"server": "required"
|
||||
},
|
||||
"downloads": [
|
||||
"https://download.botsu.cloud/sanctuary/artifacts/mydisplay-1.0.0-sanctuary-4.jar"
|
||||
],
|
||||
"fileSize": 112172
|
||||
},
|
||||
{
|
||||
"path": "mods/watermedia-3.0.0.23.jar",
|
||||
"hashes": {
|
||||
"sha1": "a644ab079cc9ed19a62b181e0252be5a9a422166",
|
||||
"sha512": "b2f9c31828285bf7cb039b91e8756b35c2a9e425d614d9c767bdcd752475a7abf4f025d6f6005d74f5c610c298fdadf01e53b29124d1d9fd03554fff71b1993b"
|
||||
},
|
||||
"env": {
|
||||
"client": "required",
|
||||
"server": "unsupported"
|
||||
},
|
||||
"downloads": [
|
||||
"https://download.botsu.cloud/sanctuary/artifacts/watermedia-3.0.0.23.jar"
|
||||
],
|
||||
"fileSize": 3625444
|
||||
},
|
||||
{
|
||||
"path": "mods/watermedia-binaries-3.0.0.6.jar",
|
||||
"hashes": {
|
||||
"sha1": "8f132fc2fec0fe91a9a085c11088f0773da187fc",
|
||||
"sha512": "45b5c1d645f75fb54de4d7e92b54f50372bd9d24c7543b57e6d32ba6b35ce346250bc871ba1a39c8b1988a423d2fca75a4806ae75af502d194455caabb470897"
|
||||
},
|
||||
"env": {
|
||||
"client": "required",
|
||||
"server": "unsupported"
|
||||
},
|
||||
"downloads": [
|
||||
"https://download.botsu.cloud/sanctuary/artifacts/watermedia-binaries-3.0.0.6.jar"
|
||||
],
|
||||
"fileSize": 143725808
|
||||
}
|
||||
],
|
||||
"dependencies": {
|
||||
|
||||