Jump to content

[1.7.2][SOLVED] unassigned blocks & items upon reenter the World


Zzyxz

Recommended Posts

Hello again,

 

i got a very strange problem. When i start MC from IDE(I'm using forge 1.7.2-10.12.0.1034) and create/load my world, everything is fine and works.

 

BUT! if i hit esc -> quit -> load my world, i get the screen that there are unassigned  blocks & items in this save.

 

any ideas?

 

Edit: The mod is still loaded under Mods

 

Console

Starting up SoundSystem...
[21:44:46] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
Initializing LWJGL OpenAL
    (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
OpenAL initialized.

[21:44:46] [sound Library Loader/INFO]: Sound engine started
[21:44:47] [server thread/INFO]: Starting integrated minecraft server version 1.7.2
[21:44:47] [server thread/INFO]: Generating keypair
[21:44:48] [server thread/INFO] [FML]: Injecting new block and item data into this server instance
[21:44:48] [server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@5d59cce)
[21:44:48] [server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@5d59cce)
[21:44:48] [server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@5d59cce)
[21:44:48] [server thread/INFO]: Preparing start region for level 0
POKEE false
[21:44:49] [Netty Client IO #0/INFO] [FML]: Server protocol version 1
[21:44:49] [Netty IO #1/INFO] [FML]: Client protocol version 1
[21:44:49] [Netty IO #1/INFO] [FML]: Client attempting to join with 4 mods : mcp@8.09,FML@7.2.125.1034,Forge@10.12.0.1034,friedegg@1.0
[21:44:49] [Netty IO #1/INFO] [FML]: Attempting connection with missing mods [] at CLIENT
[21:44:49] [Netty Client IO #0/INFO] [FML]: Attempting connection with missing mods [] at SERVER
[21:44:49] [server thread/INFO] [FML]: [server thread] Server side modded connection established
[21:44:49] [server thread/INFO]: Zzyxzz[local:E:ae4181b7] logged in with entity id 398 at (-269.6201373845077, 71.0, 187.19922599934844)
[21:44:49] [server thread/INFO]: Zzyxzz joined the game
[21:44:49] [Client thread/INFO] [FML]: [Client thread] Client side modded connection established
[21:45:00] [server thread/INFO]: Saving and pausing game...
[21:45:00] [server thread/INFO]: Saving chunks for level 'New World'/Overworld
[21:45:00] [server thread/INFO]: Saving chunks for level 'New World'/Nether
[21:45:00] [server thread/INFO]: Saving chunks for level 'New World'/The End
[21:45:00] [server thread/INFO]: Stopping server
[21:45:00] [server thread/INFO]: Saving players
[21:45:00] [server thread/INFO]: Saving worlds
[21:45:00] [server thread/INFO]: Saving chunks for level 'New World'/Overworld
[21:45:00] [server thread/INFO]: Saving chunks for level 'New World'/Nether
[21:45:00] [server thread/INFO]: Saving chunks for level 'New World'/The End
[21:45:00] [server thread/INFO] [FML]: Unloading dimension 0
[21:45:00] [server thread/INFO] [FML]: Unloading dimension -1
[21:45:00] [server thread/INFO] [FML]: Unloading dimension 1
[21:45:08] [server thread/INFO]: Starting integrated minecraft server version 1.7.2
[21:45:08] [server thread/INFO]: Generating keypair
[21:45:08] [server thread/INFO] [FML]: Found a missing id from the world friedegg:betterFurnaceActive
[21:45:08] [server thread/INFO] [FML]: Found a missing id from the world friedegg:betterFurnaceIdle
[21:45:08] [server thread/INFO] [FML]: Found a missing id from the world friedegg:betterFurnaceIdle
[21:45:08] [server thread/INFO] [FML]: Found a missing id from the world friedegg:betterFurnaceActive
[21:45:08] [server thread/INFO] [FML]: Found a missing id from the world friedegg:friedEgg
[21:45:08] [server thread/ERROR] [FML]: There are unidentified mappings in this world - we are going to attempt to process anyway
[21:45:08] [server thread/ERROR] [FML]: This world contains blocks and items that refuse to be remapped. The world will not be loaded
POKE
[21:45:08] [server thread/ERROR]: Encountered an unexpected exception
cpw.mods.fml.common.registry.GameRegistryException: Failed to load the world - there are fatal block and item id issues
at cpw.mods.fml.common.FMLContainer.readData(FMLContainer.java:193) ~[FMLContainer.class:?]
at cpw.mods.fml.common.FMLCommonHandler.handleWorldDataLoad(FMLCommonHandler.java:386) ~[FMLCommonHandler.class:?]
at net.minecraft.world.storage.SaveHandler.loadWorldInfo(SaveHandler.java:149) ~[saveHandler.class:?]
at net.minecraft.world.World.<init>(World.java:293) ~[World.class:?]
at net.minecraft.world.WorldServer.<init>(WorldServer.java:111) ~[WorldServer.class:?]
at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:65) ~[integratedServer.class:?]
at net.minecraft.server.integrated.IntegratedServer.startServer(IntegratedServer.java:98) ~[integratedServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:490) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:788) [MinecraftServer$2.class:?]
[21:45:08] [server thread/ERROR]: This crash report has been saved to: C:\Users\Thomas\workspace\run\.\crash-reports\crash-2014-03-04_21.45.08-server.txt
[21:45:08] [server thread/INFO] [FML]: The state engine was in incorrect state SERVER_STARTING and forced into state SERVER_STOPPED. Errors may have been discarded.
POKE
POKEE false
POKE

 

server log

 

---- Minecraft Crash Report ----
// This doesn't make any sense!

Time: 04.03.14 21:45
Description: Exception in server tick loop

cpw.mods.fml.common.registry.GameRegistryException: Failed to load the world - there are fatal block and item id issues
at cpw.mods.fml.common.FMLContainer.readData(FMLContainer.java:193)
at cpw.mods.fml.common.FMLCommonHandler.handleWorldDataLoad(FMLCommonHandler.java:386)
at net.minecraft.world.storage.SaveHandler.loadWorldInfo(SaveHandler.java:149)
at net.minecraft.world.World.<init>(World.java:293)
at net.minecraft.world.WorldServer.<init>(WorldServer.java:111)
at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:65)
at net.minecraft.server.integrated.IntegratedServer.startServer(IntegratedServer.java:98)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:490)
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:788)


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

-- System Details --
Details:
Minecraft Version: 1.7.2
Operating System: Windows 8 (amd64) version 6.2
Java Version: 1.7.0_51, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 575160816 bytes (548 MB) / 710934528 bytes (678 MB) up to 1899495424 bytes (1811 MB)
JVM Flags: 0 total; 
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
FML: MCP v9.01-pre FML v7.2.125.1034 Minecraft Forge 10.12.0.1034 4 mods loaded, 4 mods active
mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available
FML{7.2.125.1034} [Forge Mod Loader] (forgeSrc-1.7.2-10.12.0.1034.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available
Forge{10.12.0.1034} [Minecraft Forge] (forgeSrc-1.7.2-10.12.0.1034.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available
friedegg{1.0} [Example Mod] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available
Profiler Position: N/A (disabled)
Player Count: 0 / 8; []
Type: Integrated Server (map_client.txt)
Is Modded: Definitely; Client brand changed to 'fml,forge'

 

my mainclass

package com.example.friedegg;



import com.zzyxz.betterFurnace.BetterFurnace;
import com.zzyxz.betterFurnace.BetterFurnaceGuiHandler;
import com.zzyxz.betterFurnace.TileEntityBetterFurnace;

import net.minecraft.block.Block;
import net.minecraft.client.Minecraft;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.init.Items;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.Mod.Instance;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.network.NetworkRegistry;
import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.relauncher.Side;

@Mod(modid = ExampleMod.MODID, version = ExampleMod.VERSION)
public class ExampleMod
{
    public static final String MODID = "friedegg";
    public static final String VERSION = "1.0";

    @Instance(MODID)
    public static ExampleMod instance;
    
public static  Item friedEgg; 
private BetterFurnaceGuiHandler guihandler = new BetterFurnaceGuiHandler();
public static	Block betterFurnaceIdle;
public static	Block betterFurnaceActive;

public static final int guiIdBetterFurnace = 0; 
    
    
    @EventHandler
    public void preinit(FMLInitializationEvent event)
    {
    	
    	
    	friedEgg = new FriedEgg(4, 2.0f, false);
    	GameRegistry.registerItem(friedEgg, "friedEgg");	
    	GameRegistry.addSmelting(new ItemStack(Items.egg,1), new ItemStack(friedEgg,5), 0);
    	
    	betterFurnaceIdle = new BetterFurnace(false).setCreativeTab(CreativeTabs.tabMisc).setBlockName("betterFurnaceIdle").setHardness(3.5f);
    	betterFurnaceActive = new BetterFurnace(true).setBlockName("betterFurnaceActive").setHardness(3.5f).setLightLevel(0.9f);  
    	GameRegistry.registerBlock(betterFurnaceIdle, "betterFurnaceIdle");
    	GameRegistry.registerBlock(betterFurnaceActive, "betterFurnaceActive");
    	GameRegistry.registerTileEntity(TileEntityBetterFurnace.class, "BetterFurnace"); 
    	NetworkRegistry.INSTANCE.registerGuiHandler(this, guihandler); 
    	
    	
    	
    	

      if (event.getSide() == Side.CLIENT)
        Minecraft.getMinecraft().refreshResources();
    }
    
    
    
    @EventHandler
    public void init(FMLInitializationEvent event)
    {

    }
}

*********************************

**  Always remember you are unique,  **

**  just like everyone else                   **     

**********************************

Was my post helpful? Say thanks and

press the thank you button, on my post!!

God, damn it!

Link to comment
Share on other sites

I just tried to make a new mod which was one simple item, works fine when i start MC and enter the game, but again, when i hit esc -> save and quit to title -> load, i get this error. i tried to setupDevWorkspace --refresh-dependencies && eclipse --refresh-dependencies but it didn't help.

 

Is that issue not known?

*********************************

**  Always remember you are unique,  **

**  just like everyone else                   **     

**********************************

Was my post helpful? Say thanks and

press the thank you button, on my post!!

God, damn it!

Link to comment
Share on other sites

FriedEgg.class

package com.example.friedegg;


import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.ItemFood;

public class FriedEgg extends ItemFood {

public FriedEgg(int p_i45339_1_, float p_i45339_2_, boolean p_i45339_3_) {
	super(p_i45339_1_, p_i45339_2_, p_i45339_3_);

	this.setUnlocalizedName("friedEgg");
	this.setCreativeTab(CreativeTabs.tabFood);
	this.setTextureName(ExampleMod.MODID + ":" + "friedEgg");
}

}


*********************************

**  Always remember you are unique,  **

**  just like everyone else                   **     

**********************************

Was my post helpful? Say thanks and

press the thank you button, on my post!!

God, damn it!

Link to comment
Share on other sites

I don't know if this will help you but I added this to my Init method

FMLClientHandler.instance().setDefaultMissingAction(FMLMissingMappingsEvent.Action.IGNORE);

 

This line allowed my mods to load on a world that I used to test a mod and then removed. After removing the mod I got the unassigned blocks or item message and was unable to continue.

Link to comment
Share on other sites

I don't know if this will help you but I added this to my Init method

FMLClientHandler.instance().setDefaultMissingAction(FMLMissingMappingsEvent.Action.IGNORE);

 

This line allowed my mods to load on a world that I used to test a mod and then removed. After removing the mod I got the unassigned blocks or item message and was unable to continue.

 

it works! thank you very much for this hint.

 

The question is still, is this a forge bug?

*********************************

**  Always remember you are unique,  **

**  just like everyone else                   **     

**********************************

Was my post helpful? Say thanks and

press the thank you button, on my post!!

God, damn it!

Link to comment
Share on other sites

Personally, I think it is an oversight, rather than a "bug". When I'd like to see happen is the field should have another setting. FAIL, IGNORE, and ASK. The latter option would gui prompt the user to ignore or fail.

Link to comment
Share on other sites

  • 2 months later...

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

    • i tried downloading the drivers but it says no AMD graphics hardware has been detected    
    • Update your AMD/ATI drivers - get the drivers from their website - do not update via system  
    • As the title says i keep on crashing on forge 1.20.1 even without any mods downloaded, i have the latest drivers (nvidia) and vanilla minecraft works perfectly fine for me logs: https://pastebin.com/5UR01yG9
    • Hello everyone, I'm making this post to seek help for my modded block, It's a special block called FrozenBlock supposed to take the place of an old block, then after a set amount of ticks, it's supposed to revert its Block State, Entity, data... to the old block like this :  The problem I have is that the system breaks when handling multi blocks (I tried some fix but none of them worked) :  The bug I have identified is that the function "setOldBlockFields" in the item's "setFrozenBlock" function gets called once for the 1st block of multiblock getting frozen (as it should), but gets called a second time BEFORE creating the first FrozenBlock with the data of the 1st block, hence giving the same data to the two FrozenBlock :   Old Block Fields set BlockState : Block{minecraft:black_bed}[facing=east,occupied=false,part=head] BlockEntity : net.minecraft.world.level.block.entity.BedBlockEntity@73681674 BlockEntityData : id:"minecraft:bed",x:3,y:-60,z:-6} Old Block Fields set BlockState : Block{minecraft:black_bed}[facing=east,occupied=false,part=foot] BlockEntity : net.minecraft.world.level.block.entity.BedBlockEntity@6d1aa3da BlockEntityData : {id:"minecraft:bed",x:2,y:-60,z:-6} Frozen Block Entity set BlockState : Block{minecraft:black_bed}[facing=east,occupied=false,part=foot] BlockPos{x=3, y=-60, z=-6} BlockEntity : net.minecraft.world.level.block.entity.BedBlockEntity@6d1aa3da BlockEntityData : {id:"minecraft:bed",x:2,y:-60,z:-6} Frozen Block Entity set BlockState : Block{minecraft:black_bed}[facing=east,occupied=false,part=foot] BlockPos{x=2, y=-60, z=-6} BlockEntity : net.minecraft.world.level.block.entity.BedBlockEntity@6d1aa3da BlockEntityData : {id:"minecraft:bed",x:2,y:-60,z:-6} here is the code inside my custom "freeze" item :    @Override     public @NotNull InteractionResult useOn(@NotNull UseOnContext pContext) {         if (!pContext.getLevel().isClientSide() && pContext.getHand() == InteractionHand.MAIN_HAND) {             BlockPos blockPos = pContext.getClickedPos();             BlockPos secondBlockPos = getMultiblockPos(blockPos, pContext.getLevel().getBlockState(blockPos));             if (secondBlockPos != null) {                 createFrozenBlock(pContext, secondBlockPos);             }             createFrozenBlock(pContext, blockPos);             return InteractionResult.SUCCESS;         }         return super.useOn(pContext);     }     public static void createFrozenBlock(UseOnContext pContext, BlockPos blockPos) {         BlockState oldState = pContext.getLevel().getBlockState(blockPos);         BlockEntity oldBlockEntity = oldState.hasBlockEntity() ? pContext.getLevel().getBlockEntity(blockPos) : null;         CompoundTag oldBlockEntityData = oldState.hasBlockEntity() ? oldBlockEntity.serializeNBT() : null;         if (oldBlockEntity != null) {             pContext.getLevel().removeBlockEntity(blockPos);         }         BlockState FrozenBlock = setFrozenBlock(oldState, oldBlockEntity, oldBlockEntityData);         pContext.getLevel().setBlockAndUpdate(blockPos, FrozenBlock);     }     public static BlockState setFrozenBlock(BlockState blockState, @Nullable BlockEntity blockEntity, @Nullable CompoundTag blockEntityData) {         BlockState FrozenBlock = BlockRegister.FROZEN_BLOCK.get().defaultBlockState();         ((FrozenBlock) FrozenBlock.getBlock()).setOldBlockFields(blockState, blockEntity, blockEntityData);         return FrozenBlock;     }  
    • It is an issue with quark - update it to this build: https://www.curseforge.com/minecraft/mc-mods/quark/files/3642325
  • Topics

×
×
  • Create New...

Important Information

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