Comments (7)
I still don't know why the item shift has not been updated to 4096, Can a Forge Dev enlighten me?
from minecraftforge.
Cause that would break all the existing worlds. It should have been done when the save changed to anvil.
from minecraftforge.
Until then Itemid on Blockid conflicts have to be treated the same way as Blockid on Blockid conflicts. Right now Itemid on Blockid is ignored and causes "interesting" interactions.
A more extensive solution would include two mod loading passes. The first pass would only load mods that have been loaded previously (have an existing config file) and the second pass would add new mods.
from minecraftforge.
is it now? last time I checked, the items are automatically shifted as necessary.. and are not allowed to have IDs that conflict with Items..
from minecraftforge.
The problem is @AbrarSyed, that items conflict with blocks. To fix this, always use item ids above 4096, and block ids below this. ALWAYS!
What you could do is write a small bit of code that would take two constants, one being 4096 and the other being 256, and shift your items in your own mod by 4096 ( MAX_BLOCK_ID ) minus 256 ( ITEM_SHIFT ), Then when/if ever Forge changes it's item shift to 4096, You change it in your mod and bang you're already compatible and your ids never changed!
from minecraftforge.
The dummy blocks in the block array matching any item which is not an item block prevent this being an issue...
from minecraftforge.
Forge will NOT shift items by 4096. not really wanting to repeat this all, but making old worlds explode is bad mmkay.
This isn't a forge issuse, though, I could optimize it to use a single array as you said, but this has nothing to do with items/blocks in the mods.
Buildcraft needs to get there items out of the 4096 range.
from minecraftforge.
Related Issues (20)
- Forge 47.2.0 is incompatible with GraalVM HOT 3
- world/serverconfig configs keep resetting to default every time after restart, how can I disable this? HOT 1
- Minecraft
- [1.20.6] Can't open villager GUI
- [1.20.6] `EventNetworkChannel` not working HOT 1
- [SECURITY] Vulnerabilities in Forge 47.2.X HOT 1
- [1.20.6] ATs still use SRG mappings HOT 1
- Vault Block crash in 1.20.6 HOT 2
- [1.20.6] getArmorTexture bug HOT 1
- [1.20.6] DeferredRegister for ArmorMaterial is broken HOT 2
- update mcp for 1.20.6 HOT 1
- finalizeSpawn() is always passed null SpawnGroupData
- forge 1.20.6 patches the stencil enable into the wrong spot
- [1.20.6] Shield does not work HOT 3
- Forge Crashes HOT 1
- Crash when mods folder contains jar file without mods.toml HOT 6
- The game crashed whilst unexpected error Error: java.lang.IllegalStateException: Missing registry: ResourceKey[minecraft:root / minecraft:dimension_type] HOT 1
- [1.20.6] Potion Brewing is broken
- [1.20.6] Cancelling MobSpawnEvent.FinalizeSpawn for a spawner causes NullPointerException
- 1.20.1 Forge Redstone differs from Vanilla and Fabric HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from minecraftforge.