Skip to content
GitLab
Explorer
Connexion
Navigation principale
Rechercher ou aller à…
Projet
M
MineStic
Gestion
Activité
Membres
Labels
Programmation
Tickets
Tableaux des tickets
Jalons
Wiki
Wiki externe
Code
Requêtes de fusion
Dépôt
Branches
Validations
Étiquettes
Graphe du dépôt
Comparer les révisions
Extraits de code
Déploiement
Releases
Registre de conteneur
Registre de modèles
Surveillance
Incidents
Analyse
Données d'analyse des chaînes de valeur
Analyse des contributeurs
Données d'analyse du dépôt
Expériences du modèle
Aide
Aide
Support
Documentation de GitLab
Comparer les forfaits GitLab
Forum de la communauté
Contribuer à GitLab
Donner votre avis
Raccourcis clavier
?
Extraits de code
Groupes
Projets
Afficher davantage de fils d'Ariane
Tony 'Nitorac' RANINI
MineStic
Validations
5eedc642
Valider
5eedc642
rédigé
4 years ago
par
Tony 'Nitorac' RANINI
Parcourir les fichiers
Options
Téléchargements
Correctifs
Plain Diff
Working example
parent
9efb8dc9
Aucune branche associée trouvée
Branches contenant la validation
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
Modifications
2
Masquer les modifications d'espaces
En ligne
Côte à côte
Affichage de
2 fichiers modifiés
src/main/java/com/example/examplemod/ExampleMod.java
+1
-1
1 ajout, 1 suppression
src/main/java/com/example/examplemod/ExampleMod.java
src/main/resources/META-INF/mods.toml
+3
-3
3 ajouts, 3 suppressions
src/main/resources/META-INF/mods.toml
avec
4 ajouts
et
4 suppressions
src/main/java/com/example/examplemod/ExampleMod.java
+
1
−
1
Voir le fichier @
5eedc642
...
@@ -54,7 +54,7 @@ public class ExampleMod
...
@@ -54,7 +54,7 @@ public class ExampleMod
private
void
enqueueIMC
(
final
InterModEnqueueEvent
event
)
private
void
enqueueIMC
(
final
InterModEnqueueEvent
event
)
{
{
// some example code to dispatch IMC to another mod
// some example code to dispatch IMC to another mod
InterModComms
.
sendTo
(
"
examplemod
"
,
"helloworld"
,
()
->
{
LOGGER
.
info
(
"Hello world from the MDK"
);
return
"Hello world"
;});
InterModComms
.
sendTo
(
"
minestic
"
,
"helloworld"
,
()
->
{
LOGGER
.
info
(
"Hello world from the MDK"
);
return
"Hello world"
;});
}
}
private
void
processIMC
(
final
InterModProcessEvent
event
)
private
void
processIMC
(
final
InterModProcessEvent
event
)
...
...
Ce diff est replié.
Cliquez pour l'agrandir.
src/main/resources/META-INF/mods.toml
+
3
−
3
Voir le fichier @
5eedc642
...
@@ -8,7 +8,7 @@ modLoader="javafml" #mandatory
...
@@ -8,7 +8,7 @@ modLoader="javafml" #mandatory
# A version range to match for said mod loader - for regular FML @Mod it will be the forge version
# A version range to match for said mod loader - for regular FML @Mod it will be the forge version
loaderVersion
=
"[32,)"
#mandatory This is typically bumped every Minecraft version by Forge. See our download page for lists of versions.
loaderVersion
=
"[32,)"
#mandatory This is typically bumped every Minecraft version by Forge. See our download page for lists of versions.
# A URL to refer people to when problems occur with this mod
# A URL to refer people to when problems occur with this mod
issueTrackerURL
=
""
#optional
#
issueTrackerURL="" #optional
# A list of mods - how many allowed here is determined by the individual mod loader
# A list of mods - how many allowed here is determined by the individual mod loader
[[mods]]
#mandatory
[[mods]]
#mandatory
# The modid of the mod
# The modid of the mod
...
@@ -18,9 +18,9 @@ version="${file.jarVersion}" #mandatory
...
@@ -18,9 +18,9 @@ version="${file.jarVersion}" #mandatory
# A display name for the mod
# A display name for the mod
displayName
=
"MineStic"
#mandatory
displayName
=
"MineStic"
#mandatory
# A URL to query for updates for this mod. See the JSON update specification <here>
# A URL to query for updates for this mod. See the JSON update specification <here>
updateJSONURL
=
""
#optional
#
updateJSONURL="" #optional
# A URL for the "homepage" for this mod, displayed in the mod UI
# A URL for the "homepage" for this mod, displayed in the mod UI
displayURL
=
""
#optional
#
displayURL="" #optional
# A file name (in the root of the mod JAR) containing a logo for display
# A file name (in the root of the mod JAR) containing a logo for display
logoFile
=
""
#optional
logoFile
=
""
#optional
# A text field displayed in the mod UI
# A text field displayed in the mod UI
...
...
Ce diff est replié.
Cliquez pour l'agrandir.
Aperçu
0%
Chargement en cours
Veuillez réessayer
ou
joindre un nouveau fichier
.
Annuler
You are about to add
0
people
to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Enregistrer le commentaire
Annuler
Veuillez vous
inscrire
ou vous
se connecter
pour commenter