Jump to content

[1.8] Class not found exception


Failender

Recommended Posts

I am encountering a problem when building my mod and running it on the server.

I know that the class not found exception is occuring because the server is triing to access EntityPlayerSP, which he isnt knowing (because hes a server). But I dont know know WHERE he is acessing it.

 

The log seems to be in here

at de.failender.shadowsrising.ShadowsRising.init(ShadowsRising.java:127) ~[shadowsRising.class:?]

 

which is

 MinecraftForge.EVENT_BUS.register(new ShadowHandler()); 

 

To be honest. I have no idea.

 

public class ShadowHandler {


@SubscribeEvent
public void entityConstructing(EntityConstructing event)
{

	if(event.entity instanceof EntityPlayer)
	{
		EntityPlayer player = (EntityPlayer) event.entity;

		if(ExtendedPlayer.get((EntityPlayer)event.entity)==null)
		{
			ExtendedPlayer.register(player);
		}

	}
}

@SubscribeEvent
public void playerDamaged(LivingHurtEvent event) {
	if(event.entity.worldObj.isRemote) return;
	if(event.entity instanceof EntityPlayer){
		EntityPlayer player =(EntityPlayer) event.entity;
		if(event.source.damageType.equals("fall") && player.isPotionActive(23)) event.setCanceled(true);
		else ExtendedPlayer.get((EntityPlayer) event.entity).damaged(event);
	}
}

@SubscribeEvent
public void interact(PlayerInteractEvent event) {
	if(event.action == Action.RIGHT_CLICK_BLOCK) {
		Block block = event.entityPlayer.worldObj.getBlockState(event.pos).getBlock();
		if (block==Blocks.furnace || block==Blocks.lit_furnace) {
			ShadowsRising.network.sendToServer(new OpenInventoryMessage(ShadowsRising.FURNACEID, event.pos.getX(), event.pos.getY(), event.pos.getZ()));
			event.setCanceled(true);
		}
		else if(block==Blocks.chest) {
			ShadowsRising.network.sendToServer(new OpenInventoryMessage(ShadowsRising.CHESTID, event.pos.getX(), event.pos.getY(), event.pos.getZ()));
			event.setCanceled(true);
		}
		else if(block==Blocks.crafting_table) {
			ShadowsRising.network.sendToServer(new OpenInventoryMessage(ShadowsRising.CRAFTINGID, event.pos.getX(), event.pos.getY(), event.pos.getZ()));
			event.setCanceled(true);
		}
		else if(block==Blocks.dispenser || block==Blocks.dropper) {
			ShadowsRising.network.sendToServer(new OpenInventoryMessage(ShadowsRising.DISPENSER, event.pos.getX(), event.pos.getY(), event.pos.getZ()));
			event.setCanceled(true);
		}

		else if(block==Blocks.hopper) {
			ShadowsRising.network.sendToServer(new OpenInventoryMessage(ShadowsRising.HOPPERID, event.pos.getX(), event.pos.getY(), event.pos.getZ()));
			event.setCanceled(true);
		}
	}
}

@SubscribeEvent 
public void guiOpened(GuiOpenEvent event) {
	EntityPlayer player = Minecraft.getMinecraft().thePlayer;
	if(event.gui==null) return;
	if(event.gui instanceof GuiInventory)
	{
		if(Minecraft.getMinecraft().thePlayer.capabilities.isCreativeMode) return;
		event.setCanceled(true);

		ShadowsRising.network.sendToServer(new OpenInventoryMessage(ShadowsRising.INVENTORYID, (int)player.posX, (int)player.posY, (int)player.posZ ));
	}


}

@SubscribeEvent
public void cloning(PlayerEvent.Clone event)
{
	ExtendedPlayer old = ExtendedPlayer.get(event.original);


	ExtendedPlayer ext = ExtendedPlayer.get(event.entityPlayer);

	NBTTagCompound compound = new NBTTagCompound();

	old.saveNBTData(compound);
	ext.loadNBTData(compound);

}

@SubscribeEvent
public void joining(EntityJoinWorldEvent event)
{

	if(event.entity instanceof EntityPlayer &&! event.world.isRemote)
	{
		EntityPlayer player = (EntityPlayer) event.entity;
		ExtendedPlayer ext = ExtendedPlayer.get(player);
		if(!player.getEntityData().hasKey("FIRSTJOIN")){

			player.getEntityData().setBoolean("FIRSTJOIN", false);

			ext.inventory.setInventorySlotContents(1, new ItemStack(ShadowsRising.oxygentank));
			ext.inventory.setInventorySlotContents(2, new ItemStack(ShadowsRising.lapisCrystal));
			ext.inventory.setInventorySlotContents(3, new ItemStack(ShadowsRising.shieldGenerator));
		}

	}
}


@SubscribeEvent
public void entityPickedItem(EntityItemPickupEvent event)
{

	if(event.entityPlayer!=null && ! event.entityPlayer.worldObj.isRemote)
	{
		ItemStack stack = event.item.getDataWatcher().getWatchableObjectItemStack(10);
		if(!canItemBeAdded(stack, event.entityPlayer)) event.setCanceled(true);


	}
}

private boolean canItemBeAdded(ItemStack stack, EntityPlayer player)
{
	ExtendedPlayer ext = ExtendedPlayer.get(player);
	ItemStack[] stacks = player.inventory.mainInventory;

	for(int i=0; i<ext.getInventoryLimit(); i++)
	{
		if(stacks[i]==null) return true;
		if(stack.isItemDamaged()) continue;
		if(stacks[i].getItem()==stack.getItem() && stacks[i].stackSize<64) {
			stacks[i].stackSize+=stack.stackSize;
			if(stacks[i].stackSize>64)
			{
				stack.stackSize = stacks[i].stackSize-64;
				stacks[i].stackSize=64;
			}
		}

	}
	return false;
}

}

Crash log

 

 

 

[17:02:28] [server thread/INFO]: Starting minecraft server version 1.8

[17:02:28] [server console handler/ERROR]: Exception handling console input

java.io.IOException: Das Handle ist ungültig

at java.io.FileInputStream.readBytes(Native Method) ~[?:1.8.0_40]

at java.io.FileInputStream.read(Unknown Source) ~[?:1.8.0_40]

at java.io.BufferedInputStream.read1(Unknown Source) ~[?:1.8.0_40]

at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.8.0_40]

at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) ~[?:1.8.0_40]

at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.8.0_40]

at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.8.0_40]

at java.io.InputStreamReader.read(Unknown Source) ~[?:1.8.0_40]

at java.io.BufferedReader.fill(Unknown Source) ~[?:1.8.0_40]

at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_40]

at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_40]

at net.minecraft.server.dedicated.DedicatedServer$2.run(DedicatedServer.java:97) [pq.class:?]

[17:02:30] [server thread/INFO]: Loading properties

[17:02:30] [server thread/INFO]: Default game type: SURVIVAL

[17:02:30] [server thread/INFO]: Generating keypair

[17:02:30] [server thread/INFO]: Starting Minecraft server on *:1708

[17:02:30] [server thread/WARN]: **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!

[17:02:30] [server thread/WARN]: The server will make no attempt to authenticate usernames. Beware.

[17:02:30] [server thread/WARN]: While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.

[17:02:30] [server thread/WARN]: To change this, set "online-mode" to "true" in the server.properties file.

[17:02:31] [server thread/ERROR]: Encountered an unexpected exception

net.minecraftforge.fml.common.LoaderException: java.lang.NoClassDefFoundError: net/minecraft/client/entity/EntityPlayerSP

 

at net.minecraftforge.fml.common.LoadController.transition(LoadController.java:163) ~[LoadController.class:?]

at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:733) ~[Loader.class:?]

at net.minecraftforge.fml.server.FMLServerHandler.finishServerLoading(FMLServerHandler.java:97) ~[FMLServerHandler.class:?]

at net.minecraftforge.fml.common.FMLCommonHandler.onServerStarted(FMLCommonHandler.java:360) ~[FMLCommonHandler.class:?]

at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:210) ~[po.class:?]

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:438) [MinecraftServer.class:?]

at java.lang.Thread.run(Unknown Source) [?:1.8.0_40]

Caused by: java.lang.NoClassDefFoundError: net/minecraft/client/entity/EntityPlayerSP

at de.failender.shadowsrising.ShadowsRising.init(ShadowsRising.java:127) ~[shadowsRising.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_40]

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_40]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_40]

at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_40]

at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:537) ~[FMLModContainer.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_40]

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_40]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_40]

at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_40]

at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[minecraft_server.1.8.jar:?]

at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[minecraft_server.1.8.jar:?]

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[minecraft_server.1.8.jar:?]

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[minecraft_server.1.8.jar:?]

at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[minecraft_server.1.8.jar:?]

at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:212) ~[LoadController.class:?]

at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:190) ~[LoadController.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_40]

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_40]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_40]

at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_40]

at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[minecraft_server.1.8.jar:?]

at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[minecraft_server.1.8.jar:?]

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[minecraft_server.1.8.jar:?]

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[minecraft_server.1.8.jar:?]

at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[minecraft_server.1.8.jar:?]

at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:119) ~[LoadController.class:?]

at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:731) ~[Loader.class:?]

... 5 more

Caused by: java.lang.ClassNotFoundException: net.minecraft.client.entity.EntityPlayerSP

at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.12.jar:?]

at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_40]

at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_40]

at de.failender.shadowsrising.ShadowsRising.init(ShadowsRising.java:127) ~[shadowsRising.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_40]

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_40]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_40]

at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_40]

at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:537) ~[FMLModContainer.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_40]

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_40]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_40]

at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_40]

at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[minecraft_server.1.8.jar:?]

at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[minecraft_server.1.8.jar:?]

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[minecraft_server.1.8.jar:?]

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[minecraft_server.1.8.jar:?]

at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[minecraft_server.1.8.jar:?]

at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:212) ~[LoadController.class:?]

at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:190) ~[LoadController.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_40]

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_40]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_40]

at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_40]

at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[minecraft_server.1.8.jar:?]

at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[minecraft_server.1.8.jar:?]

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[minecraft_server.1.8.jar:?]

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[minecraft_server.1.8.jar:?]

at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[minecraft_server.1.8.jar:?]

at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:119) ~[LoadController.class:?]

at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:731) ~[Loader.class:?]

... 5 more

Caused by: net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerException: Exception in class transformer net.minecraftforge.fml.common.asm.transformers.SideTransformer@48793bef from coremod FMLCorePlugin

at net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerWrapper.transform(ASMTransformerWrapper.java:234) ~[forge-1.8-11.14.3.1486-universal.jar:?]

at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279) ~[launchwrapper-1.12.jar:?]

at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) ~[launchwrapper-1.12.jar:?]

at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_40]

at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_40]

at de.failender.shadowsrising.ShadowsRising.init(ShadowsRising.java:127) ~[shadowsRising.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_40]

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_40]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_40]

at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_40]

at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:537) ~[FMLModContainer.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_40]

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_40]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_40]

at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_40]

at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[minecraft_server.1.8.jar:?]

at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[minecraft_server.1.8.jar:?]

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[minecraft_server.1.8.jar:?]

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[minecraft_server.1.8.jar:?]

at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[minecraft_server.1.8.jar:?]

at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:212) ~[LoadController.class:?]

at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:190) ~[LoadController.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_40]

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_40]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_40]

at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_40]

at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[minecraft_server.1.8.jar:?]

at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[minecraft_server.1.8.jar:?]

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[minecraft_server.1.8.jar:?]

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[minecraft_server.1.8.jar:?]

at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[minecraft_server.1.8.jar:?]

at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:119) ~[LoadController.class:?]

at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:731) ~[Loader.class:?]

... 5 more

Caused by: java.lang.RuntimeException: Attempted to load class cio for invalid side SERVER

at net.minecraftforge.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:49) ~[forge-1.8-11.14.3.1486-universal.jar:?]

at net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerWrapper.transform(ASMTransformerWrapper.java:230) ~[forge-1.8-11.14.3.1486-universal.jar:?]

at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279) ~[launchwrapper-1.12.jar:?]

at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) ~[launchwrapper-1.12.jar:?]

at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_40]

at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_40]

at de.failender.shadowsrising.ShadowsRising.init(ShadowsRising.java:127) ~[shadowsRising.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_40]

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_40]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_40]

at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_40]

at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:537) ~[FMLModContainer.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_40]

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_40]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_40]

at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_40]

at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[minecraft_server.1.8.jar:?]

at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[minecraft_server.1.8.jar:?]

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[minecraft_server.1.8.jar:?]

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[minecraft_server.1.8.jar:?]

at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[minecraft_server.1.8.jar:?]

at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:212) ~[LoadController.class:?]

at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:190) ~[LoadController.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_40]

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_40]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_40]

at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_40]

at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[minecraft_server.1.8.jar:?]

at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[minecraft_server.1.8.jar:?]

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[minecraft_server.1.8.jar:?]

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[minecraft_server.1.8.jar:?]

at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[minecraft_server.1.8.jar:?]

at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:119) ~[LoadController.class:?]

at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:731) ~[Loader.class:?]

... 5 more

[17:02:31] [server thread/ERROR]: This crash report has been saved to: F:\Server\.\crash-reports\crash-2015-09-10_17.02.31-server.txt

 

 

 

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

    • hola thanks for answering  i set some system outs to test and see whats going on      @Override     protected void saveAdditional( CompoundTag nbt ){                  nbt.put("itemhandler", itemhandler.serializeNBT() );         nbt.putInt("progress", this.progress );         System.out.println("saveAdditional(nbt)");                 System.out.println(NbtUtils.prettyPrint(nbt)); //<-- this is whats getting saved         super.saveAdditional( nbt );     }     @Override     public void load( CompoundTag nbt ){         itemhandler.deserializeNBT( nbt.getCompound("itemhandler") );         this.progress = nbt.getInt("progress" );         System.out.println(NbtUtils.prettyPrint(nbt)); //<-- this is whats minecraft is giving back to the entity          System.out.println("load(nbt)");         super.load( nbt );     }   This dead adventurer body  has two parts a block and a block Item  both has their own item-handlers and their own menus all of that seems fine  Testing remarks : *when i change some element inside the gui  it triggers the saveAdditional(nbt) system out and shows a pretty print of the data being saved  *when the world map loads it triggers the load(nbt) system out and shows a pretty print of the data minecraft is giving to this Block Entity For the testing i gonna set mi BlockEntityBodyBlock, save something in it, close minecraft, fireup the game again and check if the items remain      ################ first try set the block entity (dead adventurer body like shaped) and left only a weath seed  in the slot 10 the console says its all right    close minecraft, launch it again i see the system out whit the data returned to the entity and its look good theres is only a weed seed  ################ Second try, now i gonna change the seed for two arrows  the console says its all right the two arrows are being saved    ######### Now close and run again bam Error  minecraft returns the original data whit only a wheat seed the two arrows has been loss   ########## try again now i gonna put 3 wheat seeds Console system out says it gets it and is saving the data   ############## but after close fire again  wheat seed,  data losed once more time  and it just throw the original   ####################################################################################### sorry for the long post and the crappy video  this is the reason why i say its saving the Block Entity data only when it feels like  coze its saves data when it feels like  ¿ its something wrong whit mi BlockEntity.saveAdditional()  if  i keep trying eventually it updates and the data chages      i alredy try to  level.removeBlockEntity(pos); level.setBlockEntity(pos, bebb);     BlockEntityBodyBlock.class   BlockEntityInit.class     body_blockitem.class                  
    • Yesterday I buy a minecraft server to play with my friends you know... One of my friends send me the list of mods to add and then i start to dowload them, when i add them to the server it start crashing but i don't know about this things because it's my first time buying a minecraft server This is the error: https://paste.ee/p/sJf7B
    • 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)  
  • Topics

  • Who's Online (See full list)

×
×
  • Create New...

Important Information

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