What Block/Item ID's are save to use for a mod?
I am making a mod for minecraft and I want to know which ID's can be used and which ones are taken by the game allready? I mean which Block/Item ID's (basically a number used to load a block in minecraft)
which ID's are safe to use for my own mod?
Best Answer
Use a high number, and try it. The game will tell you (in a crash report) if you've used an invalid or taken ID.
Once you've found a free ID, you're not done yet though. Use it as the default, but add a config file and read it from there so that end-users can change it. This makes it possible to fix ID conflicts between different mods and makes ID conflicts people run into not your problem.
Pictures about "What Block/Item ID's are save to use for a mod?"



How do you get a mod block ID?
You can press F3 + H which will enable tooltips. You can now hover over an item or block to see its id.How do you see what mod an item is from Minecraft?
There are 2 ways to see the mod, one easy one hard:What Minecraft mod tells you what blocks are?
Think of it as a different flavor, serving a similar function but in a different way. It displays information about blocks and entities when you look at them. WIT also has an API for modders to work with.Minecraft: Block IDs \u0026 Item IDs
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Sarah Chai, SHVETS production, SHVETS production, SHVETS production
