Créer un bloc basique
-
Faut m’expliquer un truc : Comment t’arrives à créer un BlockTutoriel si ton constructeur est protected ?

-
Si la classe du bloc est dans le même package que la classe principale cela ne cause pas problème.
-
protected restreint l’accès aux classes filles mais aussi aux autres classes du même package

-
@‘Blackout’:
protected restreint l’accès aux classes filles mais aussi aux autres classes du même package

non, en protected les classe fille peuvent y accédé. c’est en private ^^.
-
@‘Diangle’:
@‘Blackout’:
protected restreint l’accès aux classes filles mais aussi aux autres classes du même package

non, en protected les classe fille peuvent y accédé. c’est en private ^^.
Blackout a raison, protected restreint bien aux classes filles et aux classes du même package

Sent from my GT-I9000 using Tapatalk 2
-
Robin, comment on fais pour que le bloc se genere dans le monde (je veux creer un mineraie) et comment on lui fais dropper un autre item quand on le casse avec le bon outils ?
-
http://www.minecraftforgefrance.fr/showthread.php?tid=693
Et pour le drop faut passer par la fonction getItemDropped.
Un peu de cherche ne fait pas de mal … -
Bonjour, j’aurai besoin d’aide.
J’ai bien suivis le tutoriel pour créer un block simple, cependant quand je lance le jeu mon block n’apparait pas dans mon creativeTab Block.
Voici mon codepackage fr.timelight.Camouflage.common; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.EventHandler; import cpw.mods.fml.common.Mod.Instance; import cpw.mods.fml.common.SidedProxy; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLPostInitializationEvent; import cpw.mods.fml.common.event.FMLPreInitializationEvent; import fr.timelight.Camouflage.proxy.TestCommonProxy; @Mod(modid = "modtest", name = "Mod Camouflage", version = "1.0.0") public class ModTest { @Instance("modtest") public static ModTest instance; @SidedProxy(clientSide = "fr.timelight.Camouflage.proxy.TestClientProxy", serverSide = "fr.timelight.Camouflage.proxy.TestCommonProxy ") public static TestCommonProxy proxy; public static Block blockCamouflage, blockCamouflage2; @EventHandler public void preInit(FMLPreInitializationEvent event) { blockCamouflage = new BlockCamouflage(Material.rock).setBlockName("camouflage") .setBlockTextureName(MODID + ":block_camouflage").setCreativeTab(CreativeTab.tabBlock); blockCamouflage2 = new BlockCamouflage2(Material.ground).setBlockName("camouflage2") .setBlockTextureName(MODID + ":block_camouflage2").setCreativeTab(CreativeTab.tabBlock); GameRegistry.registerBlock(blockCamouflage, "block_camouflage"); GameRegistry.registerBlock(blockCamouflage2, "block_camouflage2"); } @EventHandler public void init(FMLInitializationEvent event) { proxy.registerRender(); } @EventHandler public void postinit(FMLPostInitializationEvent event) { } } -
Salut,
Tu arrives a te give l’item ? -
@‘robin4002’:
Salut,
Tu arrives a te give l’item ?Non, je n’y arrive pas

Et j’ai le meme probleme avec un item -
Ton mod apparaît-il dans la liste des mods ?
-
@‘robin4002’:
Ton mod apparaît-il dans la liste des mods ?
oui
-
Vraiment pas normal …
Tu test ton mod en solo ou sur un serveur ? -
@‘robin4002’:
Vraiment pas normal …
Tu test ton mod en solo ou sur un serveur ?Ouais je comprends pas
Et en solo je le lance -
Il y a en effet un gros soucis.
Tu peux m’envoyer un zip de ton dossier src ?EDIT : essaies avant de clean la workspace.
-
Je t’ai envoyé tout ça en mp robin

ÉDIT : tu l’as reçu ?
-
J’avais demandé un zip du dossier src, pas de tout le dossier forge x)
Bon c’est pas grave c’est juste plus lourd. Je regardes, j’éditerai ce message dans ~10 min.EDIT : bon la classe principale chez moi ne contient pas ton bloc. Donc dans ton dossier src/main/java/fr/timelight/Camouflage/common le fichier BaseMod ne contient pas ce que tu as envoyé, d’où ton problème.
Maintenant reste à savoir quel fichier tu as modifié ?!?
-
@‘robin4002’:
J’avais demandé un zip du dossier src, pas de tout le dossier forge x)
Bon c’est pas grave c’est juste plus lourd. Je regardes, j’éditerai ce message dans ~10 min.EDIT : bon la classe principale chez moi ne contient pas ton bloc. Donc dans ton dossier src/main/java/fr/timelight/Camouflage/common le fichier BaseMod ne contient pas ce que tu as envoyé, d’où ton problème.
Maintenant reste à savoir quel fichier tu as modifié ?!?
C’est bon j’ai trouvé, enfin vraiment merci de ton aide tu as étais super !
-
Quand je démarre mon client il me met ça en log
[20:42:51] [main/INFO] [GradleStart]: Extra: []
[20:42:51] [main/INFO] [GradleStart]: Running with arguments: [–userProperties, {}, --assetsDir, C:/Users/T-o/.gradle/caches/minecraft/assets, --assetIndex, 1.7.10, --accessToken, {REDACTED}, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[20:42:51] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[20:42:51] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[20:42:51] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[20:42:51] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
[20:42:51] [main/INFO] [FML]: Forge Mod Loader version 7.99.40.1614 for Minecraft 1.7.10 loading
[20:42:51] [main/INFO] [FML]: Java is Java HotSpot
64-Bit Server VM, version 1.8.0_91, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre1.8.0_91
[20:42:51] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[20:42:51] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[20:42:51] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin
[20:42:51] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[20:42:51] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[20:42:51] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
[20:42:51] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[20:42:51] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[20:42:51] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[20:42:51] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[20:42:52] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[20:42:53] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[20:42:53] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[20:42:53] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
[20:42:54] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[20:42:54] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
[20:42:54] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
[20:42:54] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[20:42:55] [main/INFO]: Setting user: Player29
[20:42:57] [Client thread/INFO]: LWJGL Version: 2.9.1
[20:42:58] [Client thread/INFO] [FML]: Could not load splash.properties, will create a default one
[20:42:58] [Client thread/INFO] [STDOUT]: [cpw.mods.fml.client.SplashProgress:start:188]: –-- Minecraft Crash Report ----
// I blame Dinnerbone.Time: 08/05/16 20:42
Description: Loading screen debug infoThis is just a prompt for computer specs to be printed. THIS IS NOT A ERROR
A detailed walkthrough of the error, its code path and all known details is as follows:
– System Details –
Details:
Minecraft Version: 1.7.10
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.8.0_91, Oracle Corporation
Java VM Version: Java HotSpot
64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 769354488 bytes (733 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML:
GL info: ’ Vendor: ‘Intel’ Version: ‘4.0.0 - Build 10.18.10.3412’ Renderer: ‘Intel
HD Graphics 4000’
[20:42:58] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
[20:42:58] [Client thread/INFO] [FML]: MinecraftForge v10.13.4.1614 Initialized
[20:42:58] [Client thread/INFO] [FML]: Replaced 183 ore recipies
[20:42:58] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
[20:42:59] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
[20:42:59] [Client thread/INFO] [FML]: Searching C:\Users\T-o\Desktop\Personnel\Archive Forge\eclipse\mods for mods
[20:43:10] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
[20:43:10] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, ModTEM] at CLIENT
[20:43:10] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, ModTEM] at SERVER
[20:43:11] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:The Evolution Of McDonald
[20:43:11] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
[20:43:11] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations
[20:43:11] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
[20:43:11] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
[20:43:11] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[20:43:11] [Client thread/ERROR] [FML]: Caught an exception during block registration
java.lang.NullPointerException: Can’t add null-object to the registry, name ModTEM:Barre.
at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:384) ~[FMLControlledNamespacedRegistry.class:?]
at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:894) ~[GameData.class:?]
at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:869) ~[GameData.class:?]
at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:229) [GameRegistry.class:?]
at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:188) [GameRegistry.class:?]
at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:177) [GameRegistry.class:?]
at com.google.commando24.common.ModTEM.preInit(ModTEM.java:36) [ModTEM.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532) [FMLModContainer.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) [guava-17.0.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) [guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) [guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) [guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) [guava-17.0.jar:?]
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212) [LoadController.class:?]
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190) [LoadController.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) [guava-17.0.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) [guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) [guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) [guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) [guava-17.0.jar:?]
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119) [LoadController.class:?]
at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:556) [Loader.class:?]
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243) [FMLClientHandler.class:?]
at net.minecraft.client.Minecraft.startGame(Minecraft.java:522) [Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Minecraft.java:942) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
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 net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
at GradleStart.main(Unknown Source) [start/:?]
[20:43:11] [Client thread/INFO] [FML]: Applying holder lookups
[20:43:11] [Client thread/INFO] [FML]: Holder lookups applied
[20:43:11] [Client thread/INFO] [FML]: Injecting itemstacks
[20:43:11] [Client thread/INFO] [FML]: Itemstack injection complete
[20:43:11] [Client thread/ERROR] [FML]: Fatal errors were detected during the transition from PREINITIALIZATION to INITIALIZATION. Loading cannot continue
[20:43:11] [Client thread/ERROR] [FML]:
States: ‘U’ = Unloaded ‘L’ = Loaded ‘C’ = Constructed ‘H’ = Pre-initialized ‘I’ = Initialized ‘J’ = Post-initialized ‘A’ = Available ‘D’ = Disabled ‘E’ = Errored
UCH mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)
UCH FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar)
UCH Forge{10.13.4.1614} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar)
UCE ModTEM{1.0.0} [The Evolution Of McDonald] (bin)
[20:43:11] [Client thread/ERROR] [FML]: The following problems were captured during this phase
[20:43:11] [Client thread/ERROR] [FML]: Caught exception from ModTEM
cpw.mods.fml.common.LoaderException: java.lang.NullPointerException: Can’t add null-object to the registry, name ModTEM:Barre.at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:239) ~[forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar:?]
at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:188) ~[forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar:?]
at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:177) ~[forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar:?]
at com.google.commando24.common.ModTEM.preInit(ModTEM.java:36) ~[bin/:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532) ~[forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212) ~[forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar:?]
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190) ~[forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119) [LoadController.class:?]
at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:556) [Loader.class:?]
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243) [FMLClientHandler.class:?]
at net.minecraft.client.Minecraft.startGame(Minecraft.java:522) [Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Minecraft.java:942) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
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 net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
at GradleStart.main(Unknown Source) [start/:?]
Caused by: java.lang.NullPointerException: Can’t add null-object to the registry, name ModTEM:Barre.
at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:384) ~[forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar:?]
at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:894) ~[forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar:?]
at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:869) ~[forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar:?]
at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:229) ~[forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar:?]
… 42 more
[20:43:11] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388]: –-- Minecraft Crash Report ----
// Hi. I’m Minecraft, and I’m a crashaholic.Time: 08/05/16 20:43
Description: There was a severe problem during mod loading that has caused the game to failcpw.mods.fml.common.LoaderException: java.lang.NullPointerException: Can’t add null-object to the registry, name ModTEM:Barre.
at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:239)
at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:188)
at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:177)
at com.google.commando24.common.ModTEM.preInit(ModTEM.java:36)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119)
at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:556)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:522)
at net.minecraft.client.Minecraft.run(Minecraft.java:942)
at net.minecraft.client.main.Main.main(Main.java:164)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)
at GradleStart.main(Unknown Source)
Caused by: java.lang.NullPointerException: Can’t add null-object to the registry, name ModTEM:Barre.
at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:384)
at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:894)
at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:869)
at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:229)
… 42 moreA detailed walkthrough of the error, its code path and all known details is as follows:
– System Details –
Details:
Minecraft Version: 1.7.10
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.8.0_91, Oracle Corporation
Java VM Version: Java HotSpot
64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 812198488 bytes (774 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1614 4 mods loaded, 4 mods active
States: ‘U’ = Unloaded ‘L’ = Loaded ‘C’ = Constructed ‘H’ = Pre-initialized ‘I’ = Initialized ‘J’ = Post-initialized ‘A’ = Available ‘D’ = Disabled ‘E’ = Errored
UCH mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)
UCH FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar)
UCH Forge{10.13.4.1614} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar)
UCE ModTEM{1.0.0} [The Evolution Of McDonald] (bin)
GL info: ’ Vendor: ‘Intel’ Version: ‘4.0.0 - Build 10.18.10.3412’ Renderer: ‘Intel
HD Graphics 4000’
[20:43:11] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:398]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\T-o\Desktop\Personnel\Archive Forge\eclipse.\crash-reports\crash-2016-05-08_20.43.11-client.txt
Java HotSpot
64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future releaseEt il me met ça en crash report
–-- Minecraft Crash Report ----
// Quite honestly, I wouldn’t worry myself about that.Time: 08/05/16 20:42
Description: There was a severe problem during mod loading that has caused the game to failcpw.mods.fml.common.LoaderException: java.lang.NullPointerException: Can’t add null-object to the registry, name ModTEM:Barre.
at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:239)
at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:188)
at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:177)
at com.google.commando24.common.ModTEM.preInit(ModTEM.java:36)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119)
at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:556)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:522)
at net.minecraft.client.Minecraft.run(Minecraft.java:942)
at net.minecraft.client.main.Main.main(Main.java:164)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)
at GradleStart.main(Unknown Source)
Caused by: java.lang.NullPointerException: Can’t add null-object to the registry, name ModTEM:Barre.
at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:384)
at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:894)
at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:869)
at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:229)
… 42 moreA detailed walkthrough of the error, its code path and all known details is as follows:
– System Details –
Details:
Minecraft Version: 1.7.10
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.8.0_91, Oracle Corporation
Java VM Version: Java HotSpot
64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 813200400 bytes (775 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1614 4 mods loaded, 4 mods active
States: ‘U’ = Unloaded ‘L’ = Loaded ‘C’ = Constructed ‘H’ = Pre-initialized ‘I’ = Initialized ‘J’ = Post-initialized ‘A’ = Available ‘D’ = Disabled ‘E’ = Errored
UCH mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)
UCH FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar)
UCH Forge{10.13.4.1614} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar)
UCE ModTEM{1.0.0} [RP Life] (bin)
GL info: ’ Vendor: ‘Intel’ Version: ‘4.0.0 - Build 10.18.10.3412’ Renderer: ‘Intel
HD Graphics 4000’ -
Tu essayes de register ton Item sans qu’il soit initializé (avant tonItem = quelque chose).
Envoyé de mon RAINBOW LITE 4G en utilisant Tapatalk