Jump to content

Help removing broken items from a player's inventory


Spharin

Recommended Posts

EDIT: I fixed this problem with finding the ID of the item causing the crash, starting up the world in a server and get my player to join, and before my player fully loads I clear that broken item from my inventory that's causing the rendering crashes, and my player loaded in fine since the item was gone. I was having a little trouble getting the server to work since certain client-sided mods cause servers to crash if they try to load it.

So I know which item and where it's located in the player's inventory that's repeatedly causing the crash but every time I delete it enitrely, or change it to stone and start the world back up, it'd crash and revert back to the item that's causing the crashes. After saving my changes in the NBTExplorer, I close the explorer and reopen it and reopen the inventory file, and it's still changed, but when I open the world it reverts back? How can I get rid of this item for good? Is this "internal server" messing with it? is my player data saved somewhere else and changing the player data back to when I had the broken item in my inventory when I load up the world?

Spoiler

A recap on what I just said was, an item in a player's inventory is causing a crash,

I find the item in the NBT Explorer

I change it's data to stone or delete the item entirely.

I close and reopen the explorer to make sure it saved correctly, as it is.

I open up minecraft and load the world back up, it crashes again due to a rendering problem

I reopen the NBT Editor, the item I changed reverted back to the item that is causing the rendering crash, and no stone is seen anywhere in my inventory that I changed it to.

EDIT: This is ran in singleplayer and I am the only player, but I don't believe this changes much about what happens along with any inventory management or entities.

 

Edited by Spharin
Link to comment
Share on other sites

20 minutes ago, Differentiation said:

Show us your code please.

I don't think he's writing his own mod, and just has a problem with his world crashing.

 

@Spharin If you haven't solved your issue yet, can you post the FML log? It might help us identify the crashing item.

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Link to comment
Share on other sites

10 minutes ago, Differentiation said:

I don't even bother reading these posts anymore anyway...

If you're not going to read the post, please don't reply to them.

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Link to comment
Share on other sites

:S

Anyways, I got some issues with my world now after installing some new mods and attempting to figure out how to just plainly delete my overworld to get a fresh slate rather than having to travel thousands of blocks, or attempting to find a spot in creative in a decent area far off. I tried playing with things myself without knowing much and i sorta messed things up.. The world still works but it's pretty messed up and I really need to clear the whole thing and it seems to go along with the issue I was having with that inventory problem, deleting/editing files and it not saving over after reopening the world.

And with this I'm just plainly deleting the overworld and it's just reappearing as it was and I can't figure out how to generate a new one..

 

(I am not asking for help in the paragraph below, I am just giving information with what I deal with so give more backstory to reasons what I wanted above)

Issues with loading and other problems cause me to die repeatedly (Fall damage when all blocks end up as ghost blocks forcing me to move dimensions or saving and exiting which causes max fall damage when loading back in, falling through the world if chunks don't load and forced to relog and I end up spawning in in the void) while traveling between dimensions so I have keepinventory on, so I very often end up at the spawn chunks and other problems with some mods when entering different dimensions it resets my spawnpoint so I can't really get away from the original spawn chunks easily..

Edited by Spharin
Adding more information on referred topics.
Link to comment
Share on other sites

3 hours ago, CoderAtParadise said:

Jjust below create new world button there is a button called re-create world which regens with world with the same seed and generator settings

Side note if mods are reseting your spawnpoint something is wrong with those mods

I don't want to lose my character or any of my other dimensions. I should've included that if it wasn't already apparent enough. Copying over saves and other things from the save folder doesn't work for some odd reason so I can't just transfer over player or dimension data, I already tried early in my playthrough when I didn't like my current world.

Edited by Spharin
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.



×
×
  • Create New...

Important Information

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