Non résolu Block TileEntitySpecialRenderer bug server
-
Bonjour, je code un mod en 1.7.10 mais j’ai mis 1.12.2 en espérant que la demande soit accéptée.
Donc J’ai fait un bloc en utilisant “TileEntitySpecialRenderer” tout marche en solo mais j’ai un petit problème quand je le met sur mon serveur.
Quand je saute sur mon bloc le serveur crash et je n’ai aucune idée de pourquoi et j’ai du mal a comprendre les rapports de crash.
Je voulais donc savoir si le problème était récurrent et si oui comment le régler je vous fournirez tout ce que vous aurez besoin.
Bonne journée à vous !
-
exemple de crash report lors de cet évènement :
---- Minecraft Crash Report ---- // Daisy, daisy... Time: 26/08/23 17:17 Description: Exception in server tick loop java.lang.NoClassDefFoundError: net/minecraft/client/renderer/tileentity/TileEntitySpecialRenderer at fr.realliferp.test.blocks.BlockTesrRoulette.func_149645_b(BlockTesrRoulette.java:42) at net.minecraft.entity.Entity.func_70091_d(Entity.java:936) at net.minecraft.network.NetHandlerPlayServer.func_147347_a(NetHandlerPlayServer.java:520) at net.minecraft.network.play.client.C03PacketPlayer.func_148833_a(C03PacketPlayer.java:36) at net.minecraft.network.play.client.C03PacketPlayer$C06PacketPlayerPosLook.func_148833_a(C03PacketPlayer.java:234) at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:245) at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:173) at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:991) at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:431) at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:809) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:669) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.ClassNotFoundException: net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 12 more Caused by: java.lang.NullPointerException A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.7.10 KCauldron Version: pw.prok:KCauldron:1.7.10-1614.201 Official Plugins: WorldEdit, Skript, Essentials, EssentialsProtect, WildSkript, EssentialsChat, GroupManager, EssentialsAntiBuild, SkQuery, Vault, EssentialsSpawn, WorldGuard, Multiverse-Core, Skellett, skRayFall, Umbaska, TuSKe Disabled Plugins: Operating System: Linux (amd64) version 4.19.0-10-amd64 Java Version: 1.8.0_202, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 82733544 bytes (78 MB) / 593088512 bytes (565 MB) up to 31136546816 bytes (29694 MB) JVM Flags: 22 total; -Xms512M -XX:PermSize=384M -XX:MaxPermSize=768M -XX:-UseConcMarkSweepGC -XX:+UseParNewGC -XX:+UseNUMA -XX:+CMSParallelRemarkEnabled -XX:+UseAdaptiveGCBoundary -XX:-UseGCOverheadLimit -XX:+UseBiasedLocking -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=15 -XX:UseSSE=3 -XX:+UseLargePages -XX:+UseFastAccessorMethods -XX:+UseStringCache -XX:+UseCompressedOops -XX:+OptimizeStringConcat -XX:+AggressiveOpts -XX:MaxGCPauseMillis=50 -XX:ParallelGCThreads=2 AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95 FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1614 24 mods loaded, 24 mods active States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored UCHIJAAAA mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) UCHIJAAAA FML{7.10.99.99} [Forge Mod Loader] (KCauldron-1.7.10-1614.201.jar) UCHIJAAAA Forge{10.13.4.1614} [Minecraft Forge] (KCauldron-1.7.10-1614.201.jar) UCHIJAAAA kimagine{0.2} [KImagine] (minecraft.jar) UCHIJAAAA itemphysic{1.1.5} [ItemPhysic] (minecraft.jar) UCHIJAAAA armamania{1.0.0} [Arma Mania Mod] (ArmaMania_Mod_1.0.6.1.jar) UCHIJAAAA BiblioCraft{1.11.7} [BiblioCraft] (BiblioCraft[v1.11.7][MC1.7.10].jar) UCHIJAAAA CarpentersBlocks{3.3.8.1_dev_r1} [Carpenter's Blocks] (Carpenter's Blocks v3.3.8.1_dev_r1 - MC 1.7.10.jar) UCHIJAAAA gvc{0.6.1} [�aGliby's�f Voice Chat Mod] (GlibysVC-1.7.10-0.6.2a.jar) UCHIJAAAA hidenames{1.1.7} [Hide Names] (Hide+Names-1.7.10-1.1.8.jar) UCHIJAAAA malisiscore{1.7.10-0.14.3} [MalisisCore] (malisiscore-1.7.10-0.14.3.jar) UCHIJAAAA malisisdoors{1.7.10-1.13.2} [Malisis' Doors] (malisisdoors-1.7.10-1.13.2.jar) UCHIJAAAA Backpack{2.0.1} [Backpack] (Mod Backpack.jar) UCHIJAAAA customnpcs{1.7.10d} [CustomNpcs] (Mod CustomNPC.jar) UCHIJAAAA flansmod{4.10.0} [Flan's Mod] (Mod Flans Mod.jar) UCHIJAAAA flenixcities{0.18.0} [FlenixCities] (Mod FlenixCitiesCore.jar) UCHIJAAAA cfm{3.4.8} [�9MrCrayfish's Furniture Mod] (Mod Furniture.jar) UCHIJAAAA mm{Minecraft Money} [Minecraft Money] (Mod Money.jar) UCHIJAAAA pda{1.7.10} [Plus d'aliments] (Mod Plus D'aliments.jar) UCHIJAAAA roadstuff{1.0.3-final} [Road Stuff] (Mod RoadStuff.jar) UCHIJAAAA securitycraft{v1.8.2} [SecurityCraft] (Mod SecurityCraft.jar) UCHIJAAAA reallife{1.0.0} [Mod RealLifeRP] (reallife-2.0.2.jar) UCHIJAAAA thehunt{Pre-Alpha} [The Hunt] (The-Hunt-Mod-1.7.10.jar) UCHIJAAAA kitchen{1.3.17} [The Kitchen Mod] (TheKitchenMod-1.3.17-1.7.2-10.jar) Profiler Position: N/A (disabled) Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Player Count: 1 / 100; [EntityPlayerMP['FuFuLeNarco'/19, l='world', x=-394,99, y=81,08, z=-127,99](FuFuLeNarco at -394.98954051518865,81.0780550727022,-127.9857142141841)] Is Modded: Definitely; Server brand changed to 'kcauldron,cauldron,craftbukkit,mcpc,fml,forge' Type: Dedicated Server (map_server.txt)
-
Bonsoir,
La 1.7.10 est une version obsolète qui n’a plus de support et qui contient plusieurs failles de sécurité, il n’est pas recommandé de l’utiliser et encore moins de faire un serveur avec.
Après ton problème est assez simple, il faut ajouter
@SideOnly(Side.CLIENT)
au-dessus des fonctions qui font référence aux classes client pour le corriger.