Jump to content

Block missing issue


CreativeMD

Recommended Posts

Hi,

I have changed one of my block Ids.

Normally, when you open a world, where some Ids haven't got a block, opens a gui where you have to click Yes and No. These gui is there, but in the next second Minecraft crashs and says Shutting down internal server....

 

Console:

2013-03-25 16:30:34 [sCHWERWIEGEND] [fml.ItemTracker] Missing items : {901=Item 901, Type randomadditions.ItemBlockRandom, owned by RandomAdditions, ordinal 1, name null, claimedModId null}

2013-03-25 16:30:34 [sCHWERWIEGEND] [fml.ItemTracker] Mismatched items : {139=(Item 139, Type net.minecraft.item.ItemMultiTextureTile, owned by Minecraft, ordinal 6, name null, claimedModId null, Item 139, Type net.minecraft.item.ItemMultiTextureTile, owned by Minecraft, ordinal 7, name null, claimedModId null), 66=(Item 66, Type net.minecraft.block.BlockRail, owned by Minecraft, ordinal 1, name null, claimedModId null, Item 66, Type net.minecraft.block.BlockRail, owned by Minecraft, ordinal 0, name null, claimedModId null), 6=(Item 6, Type net.minecraft.item.ItemMultiTextureTile, owned by Minecraft, ordinal 5, name null, claimedModId null, Item 6, Type net.minecraft.item.ItemMultiTextureTile, owned by Minecraft, ordinal 6, name null, claimedModId null), 143=(Item 143, Type net.minecraft.block.BlockButton, owned by Minecraft, ordinal 1, name null, claimedModId null, Item 143, Type net.minecraft.block.BlockButtonWood, owned by Minecraft, ordinal 0, name null, claimedModId null), 77=(Item 77, Type net.minecraft.block.BlockButton, owned by Minecraft, ordinal 0, name null, claimedModId null, Item 77, Type net.minecraft.block.BlockButtonStone, owned by Minecraft, ordinal 0, name null, claimedModId null), 78=(Item 78, Type net.minecraft.block.BlockSnow, owned by Minecraft, ordinal 0, name null, claimedModId null, Item 78, Type net.minecraft.item.ItemSnow, owned by Minecraft, ordinal 0, name null, claimedModId null), 27=(Item 27, Type net.minecraft.block.BlockRail, owned by Minecraft, ordinal 0, name null, claimedModId null, Item 27, Type net.minecraft.block.BlockRailPowered, owned by Minecraft, ordinal 0, name null, claimedModId null)}

 

My Block is a Block, which uses Metadata, so i have also an ItemBlock.

Have no idea what went wrong, so i looked into the code.

Forge checks if an Id hasn't got a Block or an Item, if not it will check if the Mod irgnore it. But i find no way to say that my mod ignore it.

if (!isModIgnoredForIdValidation(diff.getModId()))
                {
                    foundNonIgnored = true;
                }

The function isModIgnoredForIdValidation is checking if this map:

private static Map<String,String> ignoredMods;

contains my Mods. But i can't add my Mod to this list.

Can anybody help me?

Thanks previously.

Link to comment
Share on other sites

Well why did you change the blockID then if you didn't want to corrupt old worlds?

Anyways I guess one could apply some script to the world file and then swap the old BlockID out for the new one which would solve the issues.

If you guys dont get it.. then well ya.. try harder...

Link to comment
Share on other sites

That what i'm trying to do, but Minecraft crashs before i can do it.

I use the event onChunkLoading, then i check the version of the Chunk .If it needs an update, i check every block and set the new ID, also i Chest and all other kind of storage. On the onPlayerLogin event, i check the iventory of the players.

But the world crashs before all this.

Link to comment
Share on other sites

for the script, I think it will be easier to do it out of Minecraft, just run it on the world folder and make it sort out the ID's

But then again, you have to be sure to know the basics of programming and you should be able to do it inn whatever language you are most familiar with :)

PS: Before you start testing your scripts etc. do a backup of the worlds or else you can end up losing your world over a simple logic mistake :P

If you guys dont get it.. then well ya.. try harder...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Discovering that a trusted colleague had accessed my Bitcoin account and transferred $30,000 worth of bitcoins was a devastating blow. It shattered the trust I had placed in them and left me feeling vulnerable and betrayed. However, in the face of adversity, I turned to MUYERN TRUST HACKER for assistance in reclaiming control over my finances and holding the perpetrators accountable for their actions. One of the standout features of MUYERN TRUST HACKER was its ability to provide real-time alerts and notifications, keeping me informed every step of the way. With the support of MUYERN TRUST HACKER, I was able to gather irrefutable evidence of the perpetrator's actions and hold them accountable for their crimes. Armed with the information provided by the platform, I pursued legal recourse and ensured that justice was served. The perpetrator faced severe consequences for their actions, including legal penalties and financial restitution. Beyond its role in facilitating the recovery process, MUYERN TRUST HACKER provided me with a sense of empowerment and resilience in the face of adversity. While the experience was undoubtedly challenging, it ultimately served as a testament to the importance of vigilance and the power of technology in safeguarding our digital assets. Thanks to MUYERN TRUST HACKER, I emerged stronger and more resilient, ready to face whatever challenges the future may hold. Mail; muyerntrusted[At] mail-me .c o m
    • Discovering that a trusted colleague had accessed my Bitcoin account and transferred $30,000 worth of bitcoins was a devastating blow. It shattered the trust I had placed in them and left me feeling vulnerable and betrayed. However, in the face of adversity, I turned to MUYERN TRUST HACKER web [ ht tps:// muyerntrusthack.solutions/ ] for assistance in reclaiming control over my finances and holding the perpetrators accountable for their actions. One of the standout features of MUYERN TRUST HACKER was its ability to provide real-time alerts and notifications, keeping me informed every step of the way. With the support of MUYERN TRUST HACKER, I was able to gather irrefutable evidence of the perpetrator's actions and hold them accountable for their crimes. Armed with the information provided by the platform, I pursued legal recourse and ensured that justice was served. The perpetrator faced severe consequences for their actions, including legal penalties and financial restitution. Beyond its role in facilitating the recovery process, MUYERN TRUST HACKER provided me with a sense of empowerment and resilience in the face of adversity. While the experience was undoubtedly challenging, it ultimately served as a testament to the importance of vigilance and the power of technology in safeguarding our digital assets. Thanks to MUYERN TRUST HACKER, I emerged stronger and more resilient, ready to face whatever challenges the future may hold. Mail; muyerntrusted[At] mail-me .c o m  
    • Do you have still this problem? (I have it too so I want to know if you did something with it)  
    • Thank you very much, the mod worked. I almost destroyed my computer out of anger because I couldn't find the error.
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.