@‘robin4002’:
Il faut les retirer de la classe commonproxy, pas clientproxy.
Merci mon serveur remarche !
Problème trouvé.
Les deux lignes suivantes :
RenderingRegistry.registerEntityRenderingHandler(EntityDynamite.class, new RenderDynamite(ItemMod.dynamite)); EntityRegistry.registerModEntity(EntityDynamite.class, "EntityDynamite", 420, Exonia.instance, 32, 20, false);
qui sont dans le communproxy n’ont rien à faire là.
registerModEntity est déjà dans la classe principale et registerEntityRenderingHandler est déjà dans le client proxy.
Retires-les donc.
@‘robin4002’:
Problème trouvé.
Les deux lignes suivantes :
RenderingRegistry.registerEntityRenderingHandler(EntityDynamite.class, new RenderDynamite(ItemMod.dynamite)); EntityRegistry.registerModEntity(EntityDynamite.class, "EntityDynamite", 420, Exonia.instance, 32, 20, false); qui sont dans le communproxy n’ont rien à faire là.
registerModEntity est déjà dans la classe principale et registerEntityRenderingHandler est déjà dans le client proxy.
Retires-les donc.
Si je les enleve sa me fait quand je jette ma dynamite sa fait un carrer blanc sa me fait pas quand je la jette bh sa jette pas la dynamite
Si je met cette phrase la : MinecraftForge.EVENT_BUS.register(new GuiMainMenuEventHandler());
bh sa ajoute l’interface minecraft mais si je l’enleve bh ces le vieu interface
et si je met cette phrase la : RenderingRegistry.registerEntityRenderingHandler(EntityDynamite.class, new RenderSnowball(ItemMod.dynamite));
quand je jette la dynamite bh ces la dynamite mais si je l’enleve ces un vieu carrer blanc
Il faut les retirer de la classe commonproxy, pas clientproxy.
@‘robin4002’:
Il faut les retirer de la classe commonproxy, pas clientproxy.
Merci mon serveur remarche !
Bonjour, Quand je rajoute mon mod sur mon serveur je ne peux pas lancer le serveur voici les log
---- Minecraft Crash Report ----
// Don't be sad, have a hug! <3
Time: 26/01/20 19:19
Description: Exception in server tick loop
cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: net/minecraft/client/gui/GuiScreen
at cpw.mods.fml.common.LoadController.transition(LoadController.java:163)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:544)
at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:87)
at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:319)
at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:176)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:643)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: net/minecraft/client/gui/GuiScreen
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:440)
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.loadMods(Loader.java:513)
... 5 more
Caused by: java.lang.ClassNotFoundException: net.minecraft.client.gui.GuiScreen
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 30 more
Caused by: java.lang.RuntimeException: Attempted to load class bdw for invalid side SERVER
at cpw.mods.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:51)
at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279)
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176)
... 32 more
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.7.10
Thermos Version: cyberdynecc:Thermos:1.7.10-1614.57
Plugins: ~~ERROR~~ NullPointerException: null
Disabled Plugins: ~~ERROR~~ NullPointerException: null
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_221, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 1014320672 bytes (967 MB) / 1297612800 bytes (1237 MB) up to 1908932608 bytes (1820 MB)
JVM Flags: 4 total; -XX:PermSize=128m -XX:MaxPermSize=256m -Xmx2G -Xms1G
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 14 mods loaded, 14 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
UC mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)
UC FML{7.10.99.99} [Forge Mod Loader] (Thermos-1.7.10-1614-57-server.jar)
UC Forge{10.13.4.1614} [Minecraft Forge] (Thermos-1.7.10-1614-57-server.jar)
UC kimagine{0.2} [KImagine] (minecraft.jar)
UC CodeChickenCore{1.0.7.47} [CodeChicken Core] (minecraft.jar)
UC NotEnoughItems{1.0.5.120} [Not Enough Items] (NotEnoughItems-1.7.10-1.0.5.120-universal.jar)
UC CarpentersBlocks{3.2.8.7} [Carpenter's Blocks] (CarpenterBlocks.jar)
UC customnpcs{1.7.10d} [CustomNpcs] (CustomNPCs.jar)
UC IronChest{6.0.43.730} [Iron Chest] (IronChest.jar)
UC secretroomsmod{4.7.1} [The SecretRoomsMod] (SecretRooms.jar)
UC StorageDrawers{1.7.10-1.10.9} [Storage Drawers] (StorageDrawers.jar)
UC valerium{1.0.0} [ValeriumMod] (ValeriumClient.jar)
UC palamod{2.0} [Palamod] (ValeriumClient.jar)
UE palashopclient{1.0} [PalaShopClient] (ValeriumClient.jar)
Profiler Position: N/A (disabled)
Is Modded: Definitely; Server brand changed to 'thermos,cauldron,craftbukkit,mcpc,kcauldron,fml,forge'
Type: Dedicated Server (map_server.txt)
aidé moi svp
Bonsoir,
Ton mod fait appel à une classe présente uniquement sur le client donc forcement cela crash.
Aussi minecraft forge france ne fait plus de support pour la 1.7.10.
Bonjour.
Je sait que minecraftforgefrance ne fait plus e support pour la 1.7.10, mais j’en ait marre de tourner en rond.
J’ai la même erreur, et je ne comprends pas pourquoi.
Les lignes ou je me demande si ce ne sont pas elles qui font craft sont celles la :
GameRegistry.registerWorldGenerator(new WGen(), 0);
@Override
public void registerRender(){
}
Il ne veux pas de mon override.
Alors que j’ai la même méthode coté Client Proxy et Common Proxy
et il me met cette erreur
The method registerRender() of type ClP must override or implement a supertype method
ClP est ma classe client proxy
je remet mon crash remport :
---- Minecraft Crash Report ----
// Hi. I'm Minecraft, and I'm a crashaholic.
Time: 8/13/21 10:34 PM
Description: Exception in server tick loop
cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: net/minecraft/client/renderer/entity/RenderBiped
at cpw.mods.fml.common.LoadController.transition(LoadController.java:163)
at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:559)
at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:88)
at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:320)
at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:176)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:643)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NoClassDefFoundError: net/minecraft/client/renderer/entity/RenderBiped
at cpw.mods.fml.client.registry.RenderingRegistry.addNewArmourRendererPrefix(RenderingRegistry.java:51)
at fr.traymic.trayt.items.init.armor.registerArmors.init(registerArmors.java:72)
at fr.traymic.trayt.TrayMod.preInit(TrayMod.java:40)
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 cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
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(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
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)
... 5 more
Caused by: java.lang.ClassNotFoundException: net.minecraft.client.renderer.entity.RenderBiped
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
... 34 more
Caused by: java.lang.RuntimeException: Attempted to load class bnw for invalid side SERVER
at cpw.mods.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:51)
at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279)
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176)
... 36 more
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.7.10
Thermos Version: cyberdynecc:Thermos:1.7.10-1614.58
Plugins: ~~ERROR~~ NullPointerException: null
Disabled Plugins: ~~ERROR~~ NullPointerException: null
Operating System: Linux (amd64) version 4.9.0-12-amd64
Java Version: 1.8.0_302, Oracle Corporation
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 237506800 bytes (226 MB) / 1005322240 bytes (958 MB) up to 2075918336 bytes (1979 MB)
JVM Flags: 2 total; -Xms128M -Xmx2048M
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 14 mods loaded, 14 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] (Thermos-1.7.10-1614.jar)
UCH Forge{10.13.4.1614} [Minecraft Forge] (Thermos-1.7.10-1614.jar)
UCH kimagine{0.2} [KImagine] (minecraft.jar)
UCH chisel{2.9.4.10} [Chisel] (Chisel-2.9.4.10.jar)
UCH CarpentersBlocks{3.3.8.2} [Carpenter's Blocks] (Carpenter's+Blocks+v3.3.8.2+-+MC+1.7.10.jar)
UCH customnpcs{1.7.10d} [CustomNpcs] (CustomNPCs_1.7.10d(29oct17).jar)
UCH PTRModelLib{1.0.0} [PTRModelLib] (Decocraft-2.4.1_1.7.10.jar)
UCH props{2.4.1} [Decocraft] (Decocraft-2.4.1_1.7.10.jar)
UCH IronChest{6.0.62.742} [Iron Chest] (ironchest-1.7.10-6.0.62.742-universal.jar)
UCH MoreFurnaces{1.3.9} [More Furnaces] (MoreFurnaces-1.3.9-MC1.7.10.jar)
UCH secretroomsmod{4.7.1} [The SecretRoomsMod] (secretroomsmod-1.7.10-4.7.1.413.jar)
UCH StorageDrawers{1.7.10-1.10.9} [Storage Drawers] (StorageDrawers-1.7.10-1.10.9.jar)
UCE traymod{1.0} [TrayMod] (traymod-1.0.jar)
Chisel: Errors like "[FML]: Unable to lookup ..." are NOT the cause of this crash. You can safely ignore these errors. And update forge while you're at it.
Profiler Position: N/A (disabled)
Is Modded: Definitely; Server brand changed to 'thermos,cauldron,craftbukkit,mcpc,kcauldron,fml,forge'
Type: Dedicated Server (map_server.txt)
merci de m’aider.
-Gzol