Invalid id 4096 maximum id range exceeded как исправить

@zackeezy

Issue description:

Game crashes after pre-initialization with a stack trace that shows it originated in XNet while registering ids in McJtyLib.

Steps to reproduce:

Run with current versions of McJtyLib and XNet and a few other mods (can be seen in logs)

Versions:

  • Minecraft: 1.12.2
  • Forge: 14.23.3.2689
  • CompatLayer (only if on Minecraft 1.10 or 1.11): N/A
  • McJtyLib: 2.6.7
  • XNet: 1.6.9

Possibly incompatible mods and versions:

BetterFps (maybe, idk)

Relevant logs, if any:

https://pastebin.com/35xFETQ3

@josephcsible

Forge only lets you use 4096 different blocks, and your modpack is trying to use too many. XNet just happens to be what’s crashing because it’s at the end of the list alphabetically, so all the earlier mods got their blocks before it ran out. To fix it, either remove some mods that are using too many blocks, or install NotEnoughIDs.

JakeVoluntary, YannickMyxe, Erizon0, PowerBuxoK, Evansj306, rafciu41, kalel33, lewisc64, WereWolfCZ, jonko17, and 5 more reacted with thumbs up emoji
Kayno0o, Investor69, diogo-r, Lorttexwolf, Zwodder, ragnathurdx, 811Alex, YannickMyxe, EduardoMGP, Erizon0, and 16 more reacted with heart emoji
rafciu41, WereWolfCZ, and Luuuuuucky reacted with rocket emoji

@zackeezy

Okay thanks. I’ll install it

@TomoyaFujita2016

Thanks! I resolved it too!XD

@DeereJ18

@Kingofthezing

@Behamut

Super awesome! thanks for the help Fixed 4

@Scha7ten

Forge only lets you use 4096 different blocks, and your modpack is trying to use too many. XNet just happens to be what’s crashing because it’s at the end of the list alphabetically, so all the earlier mods got their blocks before it ran out. To fix it, either remove some mods that are using too many blocks, or install NotEnoughIDs.

You, sir, are a true hero to my selfmade 179 mods modpack (now due to notenoughids 180 mods). I thank you from the bottom of my heart.

@Catacide

Not all heroes wear capes, thank you so much !

@rafciu41

Forge only lets you use 4096 different blocks, and your modpack is trying to use too many. XNet just happens to be what’s crashing because it’s at the end of the list alphabetically, so all the earlier mods got their blocks before it ran out. To fix it, either remove some mods that are using too many blocks, or install NotEnoughIDs.

thx

@Faasquit123

Thank you sooo much! Solved the Problem in my Modpack with 400+ Mods…

@Entity202s

Forge only lets you use 4096 different blocks, and your modpack is trying to use too many. XNet just happens to be what’s crashing because it’s at the end of the list alphabetically, so all the earlier mods got their blocks before it ran out. To fix it, either remove some mods that are using too many blocks, or install NotEnoughIDs.

THANK YOU IVE BEEN TRYING TO FIX THIS FOR 3 DAYS NOW, NOW I CAN FINNALLY PLAY THE MODPACK IVE BEEN MAKING

@Lmaxplay

@MiMorais1234

THANK YOU SO MUCH, I WAS TRYING TO USE JEID, BUT IT KEPT CRASHING BUT NOW USING NEID, IT WORKS FINE!
THANK YOU!

@Luuuuuucky

Forge only lets you use 4096 different blocks, and your modpack is trying to use too many. XNet just happens to be what’s crashing because it’s at the end of the list alphabetically, so all the earlier mods got their blocks before it ran out. To fix it, either remove some mods that are using too many blocks, or install NotEnoughIDs.

5 years later… but tysm !

@DanielVALAT

Thank you ! This worked here

  • Автор
    • Поделиться

Только что, OBSERVER сказал:

java.lang.RuntimeException: Invalid id 4096 — maximum id range exceeded.

Forge позволяет использовать только 4096 различных блоков, и ваш модпак пытается использовать их слишком много. cocricotmod просто оказывается тем, что дает сбой, потому что он находится в конце списка по алфавиту, поэтому все предыдущие моды получили свои блоки до того, как он закончился. Чтобы исправить это, либо удалите некоторые моды, в которых используется слишком много блоков, либо установите NotEnoughIDs .

Спасибо. Сейчас попробую

Ссылка на комментарий
Поделиться на другие сайты

This thread was marked as Locked by user-6840779.


  • Search


    • Search all Forums


    • Search this Forum


    • Search this Thread


  • Tools


    • Jump to Forum


  • #1

    Dec 27, 2018

    Im trying to make a modpack, but it keeps crashing saying,

    The game crashed whilst initializing game
    Error: java.lang.RuntimeException: Invalid id 4096 — maximum id range exceeded.

    the entire entire crash report says

    —- Minecraft Crash Report ——— Minecraft Crash Report —-
    WARNING: coremods are present: Wizardry Plugin (wizardry-0.9.7.jar) llibrary (llibrary-core-1.0.10-1.12.2.jar) EnderCorePlugin (EnderCore-1.12.2-0.5.43.jar) OTGCorePlugin (OTG-Core.jar) LibrarianLib Plugin (librarianlib-1.12.2-4.15.jar) AstralCore (astralsorcery-1.12.2-1.10.7.jar) AdvancedRocketryPlugin (AdvancedRocketry-1.12.2-1.4.1-118-universal.jar) DCLoadingPlugin (DummyCoreUnofficial-2.4.112.5.jar) TransformerLoader (OpenComputers-MC1.12.2-1.7.3.146.jar) ForgelinPlugin (Forgelin-1.8.2.jar) CTMCorePlugin (CTM-MC1.12.2-0.3.3.22.jar) HCASM (HammerCore-1.12.2-2.0.4.1.jar)Contact their authors BEFORE contacting forge
    // My bad.
    Time: 12/27/18 5:06 PMDescription: Initializing game
    java.lang.RuntimeException: Invalid id 4096 — maximum id range exceeded. at net.minecraftforge.registries.ForgeRegistry.add(ForgeRegistry.java:295) at net.minecraftforge.registries.ForgeRegistry.add(ForgeRegistry.java:281) at net.minecraftforge.registries.ForgeRegistry.register(ForgeRegistry.java:113) at com.blakebr0.cucumber.registry.ModRegistry.registerBlocks(ModRegistry.java:230) at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_610_ModRegistry_registerBlocks_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:775) 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.func_71384_a(Minecraft.java:467) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:378) at net.minecraft.client.main.Main.main(SourceFile:123) 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:497) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

    A detailed walkthrough of the error, its code path and all known details is as follows:—————————————————————————————
    — Head —Thread: Client threadStacktrace: at net.minecraftforge.registries.ForgeRegistry.add(ForgeRegistry.java:295) at net.minecraftforge.registries.ForgeRegistry.add(ForgeRegistry.java:281) at net.minecraftforge.registries.ForgeRegistry.register(ForgeRegistry.java:113) at com.blakebr0.cucumber.registry.ModRegistry.registerBlocks(ModRegistry.java:230) at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_610_ModRegistry_registerBlocks_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:775) 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.func_71384_a(Minecraft.java:467)
    — Initialization —Details:Stacktrace: at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:378) at net.minecraft.client.main.Main.main(SourceFile:123) 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:497) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    — System Details —Details: Minecraft Version: 1.12.2 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_51, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 4391461720 bytes (4188 MB) / 5998903296 bytes (5721 MB) up to 5998903296 bytes (5721 MB) JVM Flags: 4 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx6144m -Xms6144m -XX:PermSize=6144m IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP 9.42 Powered by Forge 14.23.5.2796 161 mods loaded, 161 mods active States: ‘U’ = Unloaded ‘L’ = Loaded ‘C’ = Constructed ‘H’ = Pre-initialized ‘I’ = Initialized ‘J’ = Post-initialized ‘A’ = Available ‘D’ = Disabled ‘E’ = Errored


  • #2

    Dec 27, 2018


    CannonFoddr


    • View User Profile


    • View Posts


    • Send Message



    View CannonFoddr's Profile

    • Void Walker
    • Join Date:

      5/29/2011
    • Posts:

      1,901
    • Minecraft:

      CannonFoddr
    • Member Details

    I’m no expert but the line

    id 4096 - maximum id range exceeded.

    seems to suggest that you’ve got mods installed that has somehow exeeded the maximum available number of id’s..

    In older Minecraft IIRC this was due to items/block etc were given a number instead of a name (eg was ‘0’ stone = ‘1’ etc) but since ‘forge’ is mentioned I suspect Forge can only handle a maximum of 4096 id’s.

    Googling this problem I found on a post to an old mod & found this reply that seems to support my guesswork

    Forge only lets you use 4096 different blocks, and your modpack is trying to use too many. XNet just happens to be what’s crashing because
    it’s at the end of the list alphabetically, so all the earlier mods got their blocks before it ran out. To fix it, either remove some mods that are using too many blocks, or install NotEnoughIDs.

    You don’t seem to have a full crash report above as I cannont see any mods listed.. without that I guess noone can take a guess as to what mod may the main culprit

  • To post a comment, please login.

Posts Quoted:

Reply

Clear All Quotes


What’s this error and how do I solve it?

java.lang.RuntimeException: Invalid id 4096 - maximum id range exceeded.
	at net.minecraftforge.registries.ForgeRegistry.add(ForgeRegistry.java:295)
	at net.minecraftforge.registries.ForgeRegistry.add(ForgeRegistry.java:281)
	at net.minecraftforge.registries.ForgeRegistry.register(ForgeRegistry.java:113)
	at epicsquid.mysticallib.LibRegistry.registerBlocks(LibRegistry.java:140)
	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_2161_LibRegistry_registerBlocks_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:845)
	at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:630)
	at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:252)
	at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:467)
	at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:378)
	at net.minecraft.client.main.Main.main(SourceFile:123)
	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:497)
	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
	at net.minecraft.launchwrapper.Launch.main(Launch.java:28)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Client thread
Stacktrace:
	at net.minecraftforge.registries.ForgeRegistry.add(ForgeRegistry.java:295)
	at net.minecraftforge.registries.ForgeRegistry.add(ForgeRegistry.java:281)
	at net.minecraftforge.registries.ForgeRegistry.register(ForgeRegistry.java:113)
	at epicsquid.mysticallib.LibRegistry.registerBlocks(LibRegistry.java:140)
	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_2161_LibRegistry_registerBlocks_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:845)
	at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:630)
	at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:252)
	at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:467)

Crash due to «Invalid id 4096 — maximum id range exceeded.» — Just Enough IDs

Nitrouille opened this issue a year ago · 2 comments

Nitrouille commented a year ago

Hello,

When I launch Minecraft without the mod, everything works fine (so the crash comes from this mod)
When I launch my modpack with TerraFirma :

  • I get this in latest.log : https://pastebin.com/0CzmNbFW
  • And this in my crash report : https://pastebin.com/ZnyH5dCM

Could you help me asap please ?

Thanks a lot

alcatrazEscapee commented a year ago

You have too many blocks. Remove some mods that add blocks, or use the mod «Just Enough IDs» which removes the maximum block limit.

KingofDogeII commented 10 months ago

I installed just enough ids but now it crashes instantly and it says this crash may have been caused by invalid java runtime configuration.

Понравилась статья? Поделить с друзьями:

Не пропустите также:

  • Как найти все скрытые фото на компьютере
  • Как найти карту памяти народные
  • Как сбросить аирподс чтобы их не нашли
  • Как найти экспортированные контакты
  • Как найти начальную цену до скидки

  • 0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии