[Résolu] Les Armures
Règles du forum
[En Attente] - Qui est défini par défaut à l'ouverture de la demande d'aide
[En Cours] - Qui est à mettre lorsque vous venez d'avoir une réponse à votre demande d'aide
[Résolu] - Qui est à mettre lorsque votre problème est résolu
Version de Forge: (Il s'agit du numéro de version indiqué sur le nom de votre dossier forge téléchargé)
Description du problème:
(Un maximum d'informations sera utile, quel code fait crash ?, quand cela ce produit ?, ne pas hésiter à mettre des captures d'écran et fichiers de log en pièces jointes)
[En Attente] - Qui est défini par défaut à l'ouverture de la demande d'aide
[En Cours] - Qui est à mettre lorsque vous venez d'avoir une réponse à votre demande d'aide
[Résolu] - Qui est à mettre lorsque votre problème est résolu
Version de Minecraft:Merci de respecter ce modèle pour toutes demandes d'assistances !
Merci de mettre votre code dans les balises code prévus à cet effet, icon </>
Version de Forge: (Il s'agit du numéro de version indiqué sur le nom de votre dossier forge téléchargé)
Description du problème:
(Un maximum d'informations sera utile, quel code fait crash ?, quand cela ce produit ?, ne pas hésiter à mettre des captures d'écran et fichiers de log en pièces jointes)
-
- Messages : 55
- Inscription : 19 mars 2020 23:15
Les Armures
Bonjour j'aimerai créer des armures en mod forge 1.12.2 mais je sais pas quel vidéo suivre car je ne sais pas si les vidéo faite en 1.7.10 ou 1.8 ou 1.9 sont toujours compatible ?
- Checconio
- Site Admin
- Messages : 660
- Inscription : 20 juil. 2019 18:53
- Localisation : Istres
- Contact :
Re: Les Armures
le principe reste le même quelque soit la version, il suffit juste d'extends la class des outils ou de l'armure selon ce que tu veut faire
Tu peux passer ton sujet en [En Cours] ou [Résolu]
Tu peux passer ton sujet en [En Cours] ou [Résolu]
Tu veux des réductions et du cashback ? passe par iGraal 
3€ Offert en passant par mon lien
https://fr.igraal.com/?parrain=AG_577542b686c1d


3€ Offert en passant par mon lien

https://fr.igraal.com/?parrain=AG_577542b686c1d

-
- Messages : 55
- Inscription : 19 mars 2020 23:15
Re: Les Armures
Le problème c'est que le jeu ne ce lance mais au bout de 2% atteint il crash avec un texte inexplicable je ne comprend pas pourquoi ?
-
- Messages : 55
- Inscription : 19 mars 2020 23:15
Re: Les Armures
J'ai fait tout le code du tuto 1.9 il n'y a aucune erreur est ça me marque ça :
Code : Tout sélectionner
Details:
Minecraft Version: 1.12.2
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_241, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 843819216 bytes (804 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML:
Loaded coremods (and transformers):
GL info: ' Vendor: 'Intel' Version: '4.4.0 - Build 20.19.15.4531' Renderer: 'Intel(R) Iris(TM) Graphics 6100'
[20:19:52] [main/INFO] [FML]: MinecraftForge v14.23.5.2768 Initialized
[20:19:52] [main/INFO] [FML]: Starts to replace vanilla recipe ingredients with ore ingredients.
[20:19:52] [main/INFO] [FML]: Replaced 1036 ore ingredients
[20:19:52] [main/INFO] [FML]: Searching C:\Users\turpi\OneDrive\Bureau\forge-1.12.2-14.23.5.2768-mdk\.\mods for mods
[20:19:54] [main/INFO] [FML]: Forge Mod Loader has identified 5 mods to load
[20:19:54] [Thread-3/INFO] [FML]: Using sync timing. 200 frames of Display.update took 476162800 nanos
[20:19:54] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, tuto] at CLIENT
[20:19:54] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, tuto] at SERVER
[20:19:55] [main/INFO] [minecraft/SimpleReloadableResourceManager]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Heart of ender
[20:19:56] [main/INFO] [FML]: Processing ObjectHolder annotations
[20:19:56] [main/INFO] [FML]: Found 1168 ObjectHolder annotations
[20:19:56] [main/INFO] [FML]: Identifying ItemStackHolder annotations
[20:19:56] [main/INFO] [FML]: Found 0 ItemStackHolder annotations
[20:19:56] [main/INFO] [FML]: Configured a dormant chunk cache size of 0
[20:19:56] [Forge Version Check/INFO] [forge.VersionCheck]: [forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[20:19:56] [main/INFO] [FML]: Applying holder lookups
[20:19:56] [main/INFO] [FML]: Holder lookups applied
[20:19:56] [main/ERROR] [FML]: Exception caught during firing event net.minecraftforge.event.RegistryEvent$Register@19e86461:
java.lang.NullPointerException: Can't use a null-name for the registry, object fr.samlegamer.heartofender.items.ItemArmorTuto@543d242e.
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:864) ~[guava-21.0.jar:?]
at net.minecraftforge.registries.ForgeRegistry.add(ForgeRegistry.java:295) ~[ForgeRegistry.class:?]
at net.minecraftforge.registries.ForgeRegistry.add(ForgeRegistry.java:289) ~[ForgeRegistry.class:?]
at net.minecraftforge.registries.ForgeRegistry.register(ForgeRegistry.java:122) ~[ForgeRegistry.class:?]
at net.minecraftforge.registries.ForgeRegistry.registerAll(ForgeRegistry.java:163) ~[ForgeRegistry.class:?]
at fr.samlegamer.heartofender.init.ItemsMod.registerItems6(ItemsMod.java:161) ~[ItemsMod.class:?]
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_29_ItemsMod_registerItems6_Register.invoke(.dynamic) ~[?:?]
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) ~[ASMEventHandler.class:?]
at net.minecraftforge.fml.common.eventhandler.EventBus$1.invoke(EventBus.java:144) ~[EventBus$1.class:?]
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182) [EventBus.class:?]
at net.minecraftforge.registries.GameData.fireRegistryEvents(GameData.java:782) [GameData.class:?]
at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:628) [Loader.class:?]
at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:252) [FMLClientHandler.class:?]
at net.minecraft.client.Minecraft.init(Minecraft.java:513) [Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Minecraft.java:421) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_241]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_241]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_241]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_241]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_241]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_241]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_241]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_241]
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
at GradleStart.main(GradleStart.java:25) [start/:?]
[20:19:56] [main/ERROR] [FML]: Index: 15 Listeners:
[20:19:56] [main/ERROR] [FML]: 0: NORMAL
[20:19:56] [main/ERROR] [FML]: 1: net.minecraftforge.fml.common.eventhandler.EventBus$1@631f188a
[20:19:56] [main/ERROR] [FML]: 2: net.minecraftforge.fml.common.eventhandler.EventBus$1@285bee4e
[20:19:56] [main/ERROR] [FML]: 3: net.minecraftforge.fml.common.eventhandler.EventBus$1@d181ca3
[20:19:56] [main/ERROR] [FML]: 4: net.minecraftforge.fml.common.eventhandler.EventBus$1@78b9d614
[20:19:56] [main/ERROR] [FML]: 5: net.minecraftforge.fml.common.eventhandler.EventBus$1@63f95ac1
[20:19:56] [main/ERROR] [FML]: 6: net.minecraftforge.fml.common.eventhandler.EventBus$1@14a7e16e
[20:19:56] [main/ERROR] [FML]: 7: net.minecraftforge.fml.common.eventhandler.EventBus$1@59171a5d
[20:19:56] [main/ERROR] [FML]: 8: net.minecraftforge.fml.common.eventhandler.EventBus$1@6f286e1d
[20:19:56] [main/ERROR] [FML]: 9: net.minecraftforge.fml.common.eventhandler.EventBus$1@46ae1e6b
[20:19:56] [main/ERROR] [FML]: 10: net.minecraftforge.fml.common.eventhandler.EventBus$1@6d293b41
[20:19:56] [main/ERROR] [FML]: 11: net.minecraftforge.fml.common.eventhandler.EventBus$1@c0d114b
[20:19:56] [main/ERROR] [FML]: 12: net.minecraftforge.fml.common.eventhandler.EventBus$1@2079ce51
[20:19:56] [main/ERROR] [FML]: 13: net.minecraftforge.fml.common.eventhandler.EventBus$1@1692d173
[20:19:56] [main/ERROR] [FML]: 14: net.minecraftforge.fml.common.eventhandler.EventBus$1@32c503d3
[20:19:56] [main/ERROR] [FML]: 15: net.minecraftforge.fml.common.eventhandler.EventBus$1@5626cb89
[20:19:56] [main/ERROR] [FML]: 16: net.minecraftforge.fml.common.eventhandler.EventBus$1@38c38c5a
[20:19:56] [main/ERROR] [FML]: 17: net.minecraftforge.fml.common.eventhandler.EventBus$1@38dacb78
[20:19:56] [main/ERROR] [FML]: 18: net.minecraftforge.fml.common.eventhandler.EventBus$1@221b9c2b
[20:19:56] [main/ERROR] [FML]: 19: net.minecraftforge.fml.common.eventhandler.EventBus$1@42017162
[20:19:56] [main/ERROR] [FML]: 20: net.minecraftforge.fml.common.eventhandler.EventBus$1@66049424
[20:19:56] [main/ERROR] [FML]: 21: net.minecraftforge.fml.common.eventhandler.EventBus$1@8eb1297
[20:19:56] [main/ERROR] [FML]: 22: net.minecraftforge.fml.common.eventhandler.EventBus$1@766f2d65
[20:19:56] [main/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:629]: ---- Minecraft Crash Report ----
// Don't be sad, have a hug! <3
Time: 4/2/20 8:19 PM
Description: Initializing game
java.lang.NullPointerException: Can't use a null-name for the registry, object fr.samlegamer.heartofender.items.ItemArmorTuto@543d242e.
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:864)
at net.minecraftforge.registries.ForgeRegistry.add(ForgeRegistry.java:295)
at net.minecraftforge.registries.ForgeRegistry.add(ForgeRegistry.java:289)
at net.minecraftforge.registries.ForgeRegistry.register(ForgeRegistry.java:122)
at net.minecraftforge.registries.ForgeRegistry.registerAll(ForgeRegistry.java:163)
at fr.samlegamer.heartofender.init.ItemsMod.registerItems6(ItemsMod.java:161)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_29_ItemsMod_registerItems6_Register.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
at net.minecraftforge.fml.common.eventhandler.EventBus$1.invoke(EventBus.java:144)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
at net.minecraftforge.registries.GameData.fireRegistryEvents(GameData.java:782)
at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:628)
at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:252)
at net.minecraft.client.Minecraft.init(Minecraft.java:513)
at net.minecraft.client.Minecraft.run(Minecraft.java:421)
at net.minecraft.client.main.Main.main(Main.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
at GradleStart.main(GradleStart.java:25)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Client thread
Stacktrace:
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:864)
at net.minecraftforge.registries.ForgeRegistry.add(ForgeRegistry.java:295)
at net.minecraftforge.registries.ForgeRegistry.add(ForgeRegistry.java:289)
at net.minecraftforge.registries.ForgeRegistry.register(ForgeRegistry.java:122)
at net.minecraftforge.registries.ForgeRegistry.registerAll(ForgeRegistry.java:163)
at fr.samlegamer.heartofender.init.ItemsMod.registerItems6(ItemsMod.java:161)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_29_ItemsMod_registerItems6_Register.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
at net.minecraftforge.fml.common.eventhandler.EventBus$1.invoke(EventBus.java:144)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
at net.minecraftforge.registries.GameData.fireRegistryEvents(GameData.java:782)
at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:628)
at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:252)
at net.minecraft.client.Minecraft.init(Minecraft.java:513)
-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.Minecraft.run(Minecraft.java:421)
at net.minecraft.client.main.Main.main(Main.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
at GradleStart.main(GradleStart.java:25)
-- System Details --
Details:
Minecraft Version: 1.12.2
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_241, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 728356984 bytes (694 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP 9.42 Powered by Forge 14.23.5.2768 5 mods loaded, 5 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
| State | ID | Version | Source | Signature |
|:----- |:--------- |:------------ |:-------------------------------- |:--------- |
| UCH | minecraft | 1.12.2 | minecraft.jar | None |
| UCH | mcp | 9.42 | minecraft.jar | None |
| UCH | FML | 8.0.99.99 | forgeSrc-1.12.2-14.23.5.2768.jar | None |
| UCH | forge | 14.23.5.2768 | forgeSrc-1.12.2-14.23.5.2768.jar | None |
| UCH | tuto | 1.0 | bin | None |
Loaded coremods (and transformers):
GL info: ' Vendor: 'Intel' Version: '4.4.0 - Build 20.19.15.4531' Renderer: 'Intel(R) Iris(TM) Graphics 6100'
Launched Version: 1.12.2
LWJGL: 2.9.4
OpenGL: Intel(R) Iris(TM) Graphics 6100 GL version 4.4.0 - Build 20.19.15.4531, Intel
GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.
Using VBOs: No
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Packs:
Current Language: Français (France)
Profiler Position: N/A (disabled)
CPU: 4x Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz
[20:19:56] [main/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:629]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\turpi\OneDrive\Bureau\forge-1.12.2-14.23.5.2768-mdk\.\crash-reports\crash-2020-04-02_20.19.56-client.txt
Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
-
- Messages : 55
- Inscription : 19 mars 2020 23:15
Re: Les Armures
J'ai trouvé en fait la class de l'armure je l'ai mis a la fin
-
- Messages : 55
- Inscription : 19 mars 2020 23:15
Re: Les Armures
En fait c'est un mix de ta vidéo en 1.7.10 et de la vidéo de Zom' en 1.10.2 après pour moi sa a marcher mais je pense que sa doit être un truc comme ça 

- Checconio
- Site Admin
- Messages : 660
- Inscription : 20 juil. 2019 18:53
- Localisation : Istres
- Contact :
Re: Les Armures
Par contre petit conseil, il est très fortement deconseiller de mettre le dossier forge dans u' dossier drive comme onedrive
Tu veux des réductions et du cashback ? passe par iGraal 
3€ Offert en passant par mon lien
https://fr.igraal.com/?parrain=AG_577542b686c1d


3€ Offert en passant par mon lien

https://fr.igraal.com/?parrain=AG_577542b686c1d

-
- Messages : 55
- Inscription : 19 mars 2020 23:15
Re: Les Armures
Tu veux dire dans des stokage en ligne moi je le sauvegarde sur une clé USB
- Checconio
- Site Admin
- Messages : 660
- Inscription : 20 juil. 2019 18:53
- Localisation : Istres
- Contact :
Re: Les Armures
ton dossier forge est sur un onedrive la C:\Users\turpi\OneDrive\Bureau\forge-1.12.2-14.23.5.2768-mdk\.\mods for mods
Tu veux des réductions et du cashback ? passe par iGraal 
3€ Offert en passant par mon lien
https://fr.igraal.com/?parrain=AG_577542b686c1d


3€ Offert en passant par mon lien

https://fr.igraal.com/?parrain=AG_577542b686c1d

-
- Messages : 55
- Inscription : 19 mars 2020 23:15
Re: Les Armures
je pense que c'est un bug car il est bien sur mon bureau d'ordinateur
Et puis en fait je suis trop bête
car j'ai mis ice and fire (pour voir comment il faissait) sans le mod llibrary il peut pas fonctionner sans c'est pour sa.
Sinon j'ai essayé de mettre les textures de mods comme sur ta vidéo mais soit parfois il n'y a aucune texture (rose et noir) soit aucune texture (sur le joueur comme si il n'avait rien sur lui) du coup j'ai essayé de regarder mais les fichier son vérouillé du coup je ne sais pas quoi faire sachant que le seul tuto qui marche pour moi c'est celui de Zom' en 1.10.2 si j'essaie de mettre ma textures que j'ai personnalisé (que j'ai fait a la base de la textures de diamant layer 1 et 2) si j'essaie de les importer comme dans ton tuto en 1.7.10 et bien ma texture redevient rose et noir.
Du coup je me demande si la façon d'importer des textures est différente en 1.12.2 ???
Et puis en fait je suis trop bête

Sinon j'ai essayé de mettre les textures de mods comme sur ta vidéo mais soit parfois il n'y a aucune texture (rose et noir) soit aucune texture (sur le joueur comme si il n'avait rien sur lui) du coup j'ai essayé de regarder mais les fichier son vérouillé du coup je ne sais pas quoi faire sachant que le seul tuto qui marche pour moi c'est celui de Zom' en 1.10.2 si j'essaie de mettre ma textures que j'ai personnalisé (que j'ai fait a la base de la textures de diamant layer 1 et 2) si j'essaie de les importer comme dans ton tuto en 1.7.10 et bien ma texture redevient rose et noir.
Du coup je me demande si la façon d'importer des textures est différente en 1.12.2 ???