Jump to content

IntArray in NBt Help please


Kloonder

Recommended Posts

Hey, I tried to save some Variables in NBT with ExtendedPlayerProperties, but the don't save, do you know how you do that, so that it works fine?

 

package com.kloon.periodicsystem.eventhandler;

import net.minecraft.entity.Entity;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.world.World;
import net.minecraftforge.common.IExtendedEntityProperties;

public class ExtendedPlayer implements IExtendedEntityProperties{


public final static String EXT_PROP_NAME = "Extended Player";

private final EntityPlayer player; 

private static int Story;

private static int AnalyzeResultQuest1;
private static int AnalyzeResultQuest2;
private static int AnalyzeResultQuest3;
//Int Array don't work
//	private int ResearchState1;
//	private int ResearchState2;
//	private int ResearchState3;
//	private int ResearchState4;
//	private int ResearchState5;
//	private int ResearchState6;
//	private int ResearchState7;
//	private int ResearchState8;
//	private int ResearchState9;
//	private int ResearchState10;
//	private int ResearchState11;
//	private int ResearchState12;
//	private int ResearchState13;
//	private int ResearchState14;
//	private int ResearchState15;
//	private int ResearchState16;
//	private int ResearchState17;
//	private int ResearchState18;
//	private int ResearchState19;
//	private int ResearchState20;
//	private int ResearchState21;
//	private int ResearchState22;
//	private int ResearchState23;
//	private int ResearchState24;
//	private int ResearchState25;
//	private int ResearchState26;
//	private int ResearchState27;
//	private int ResearchState28;
//	private int ResearchState29;
//	private int ResearchState30;
//	private int ResearchState31;
//	private int ResearchState32;
//	private int ResearchState33;
//	private int ResearchState34;
//	private int ResearchState35;
//	private int ResearchState36;
//	private int ResearchState37;
//	private int ResearchState38;
//	private int ResearchState39;
//	private int ResearchState40;
//	private int ResearchState41;
//	private int ResearchState42;
//	private int ResearchState43;
//	private int ResearchState44;
//	private int ResearchState45;
//	private int ResearchState46;
//	private int ResearchState47;
//	private int ResearchState48;
//	private int ResearchState49;
//	private int ResearchState50;
//	private int ResearchState51;
//	private int ResearchState52;
//	private int ResearchState53;
//	private int ResearchState54;
//	private int ResearchState55;
//	private int ResearchState56;
//	private int ResearchState57;
//	private int ResearchState58;
//	private int ResearchState59;
//	private int ResearchState60;
//	private int ResearchState61;
//	private int ResearchState62;
//	private int ResearchState63;
//	private int ResearchState64;
//	private int ResearchState65;
//	private int ResearchState66;
//	private int ResearchState67;
//	private int ResearchState68;
//	private int ResearchState69;
//	private int ResearchState70;
//	private int ResearchState71;
//	private int ResearchState72;
//	private int ResearchState73;
//	private int ResearchState74;
//	private int ResearchState75;
//	private int ResearchState76;
//	private int ResearchState77;
//	private int ResearchState78;
//	private int ResearchState79;
//	private int ResearchState80;
//	private int ResearchState81;
//	private int ResearchState82;
//	private int ResearchState83;
//	private int ResearchState84;
//	private int ResearchState85;
//	private int ResearchState86;
//	private int ResearchState87;
//	private int ResearchState88;
//	private int ResearchState89;
//	private int ResearchState90;
//	private int ResearchState91;
//	private int ResearchState92;
//	private int ResearchState93;
//	private int ResearchState94;
//	private int ResearchState95;
//	private int ResearchState96;
//	private int ResearchState97;
//	private int ResearchState98;
//	private int ResearchState99;
//	private int ResearchState100;
//	private int ResearchState101;
//	private int ResearchState102;
//	private int ResearchState103;
//	private int ResearchState104;
//	private int ResearchState105;
//	private int ResearchState106;
//	private int ResearchState107;
//	private int ResearchState108;
//	private int ResearchState109;
//	private int ResearchState110;
//	private int ResearchState111;
//	private int ResearchState112;
//	private int ResearchState113;
//	private int ResearchState114;
//	private int ResearchState115;
//	private int ResearchState116;
//	private int ResearchState117;
//	private int ResearchState118;
//	private int ResearchState119;
//	private int ResearchState120;
public int[] ResearchState = new int[121];
//	{for(int k = 0; k<120; k++){
//		
//		this.ResearchState[k] = 0;
//		}
//	}

public ExtendedPlayer(EntityPlayer player)
{
	this.player = player;
}

public static final void register(EntityPlayer player)
{
player.registerExtendedProperties(ExtendedPlayer.EXT_PROP_NAME, new ExtendedPlayer(player));
}

public static final ExtendedPlayer get(EntityPlayer player)
{
return (ExtendedPlayer) player.getExtendedProperties(EXT_PROP_NAME);
}

@Override
public void init(Entity entity, World world) {


}

@Override
public void loadNBTData(NBTTagCompound compound) {
	NBTTagCompound properties = (NBTTagCompound) compound.getTag(EXT_PROP_NAME);
	this.Story = properties.getInteger("Story");
	System.out.println("[Periodicsystem] Story state" + this.Story);
	this.AnalyzeResultQuest1 = properties.getInteger("AnalyzeResultQuest1");
	this.AnalyzeResultQuest2 = properties.getInteger("AnalyzeResultQuest2");
	this.AnalyzeResultQuest3 = properties.getInteger("AnalyzeResultQuest3");
	this.ResearchState = properties.getIntArray("Research State");
	for(int k = 1; k<120; k++){

		System.out.println("[Periodicsystem] ResearchState" + this.ResearchState[k]);

	}


//		this.ResearchState78 = properties.getInteger("78");
}

@Override
public void saveNBTData(NBTTagCompound compound) {
	NBTTagCompound properties = new NBTTagCompound();

	compound.setTag(EXT_PROP_NAME, properties);
	properties.setInteger("Story", this.Story);
	properties.setInteger("AnalyzeResultQuest1", this.AnalyzeResultQuest1);
	properties.setInteger("AnalyzeResultQuest2", this.AnalyzeResultQuest2);
	properties.setInteger("AnalyzeResultQuest3", this.AnalyzeResultQuest3);
	properties.setIntArray("Research State", this.ResearchState);
	int i = 1;
//		properties.setInteger("ResearchState" + i++, this.ResearchState1);
//		properties.setInteger("ResearchState" + i++, this.ResearchState2);
//		properties.setInteger("ResearchState" + i++, this.ResearchState3);
//		properties.setInteger("ResearchState" + i++, this.ResearchState4);
//		properties.setInteger("ResearchState" + i++, this.ResearchState5);
//		properties.setInteger("ResearchState" + i++, this.ResearchState6);
//		properties.setInteger("ResearchState" + i++, this.ResearchState7);
//		properties.setInteger("ResearchState" + i++, this.ResearchState7);
//		properties.setInteger("ResearchState" + i++, this.ResearchState9);
//		properties.setInteger("ResearchState" + i++, this.ResearchState10);
//		properties.setInteger("ResearchState" + i++, this.ResearchState11);
//		properties.setInteger("ResearchState" + i++, this.ResearchState12);
//		properties.setInteger("ResearchState" + i++, this.ResearchState13);
//		properties.setInteger("ResearchState" + i++, this.ResearchState14);
//		properties.setInteger("ResearchState" + i++, this.ResearchState15);
//		properties.setInteger("ResearchState" + i++, this.ResearchState16);
//		properties.setInteger("ResearchState" + i++, this.ResearchState17);
//		properties.setInteger("ResearchState" + i++, this.ResearchState18);
//		properties.setInteger("ResearchState" + i++, this.ResearchState19);
//		properties.setInteger("ResearchState" + i++, this.ResearchState20);
//		properties.setInteger("ResearchState" + i++, this.ResearchState21);
//		properties.setInteger("ResearchState" + i++, this.ResearchState22);
//		properties.setInteger("ResearchState" + i++, this.ResearchState23);
//		properties.setInteger("ResearchState" + i++, this.ResearchState24);
//		properties.setInteger("ResearchState" + i++, this.ResearchState25);
//		properties.setInteger("ResearchState" + i++, this.ResearchState26);
//		properties.setInteger("ResearchState" + i++, this.ResearchState27);
//		properties.setInteger("ResearchState" + i++, this.ResearchState28);
//		properties.setInteger("ResearchState" + i++, this.ResearchState29);
//		properties.setInteger("ResearchState" + i++, this.ResearchState30);
//		properties.setInteger("ResearchState" + i++, this.ResearchState31);
//		properties.setInteger("ResearchState" + i++, this.ResearchState32);
//		properties.setInteger("ResearchState" + i++, this.ResearchState33);
//		properties.setInteger("ResearchState" + i++, this.ResearchState34);
//		properties.setInteger("ResearchState" + i++, this.ResearchState35);
//		properties.setInteger("ResearchState" + i++, this.ResearchState36);
//		properties.setInteger("ResearchState" + i++, this.ResearchState37);
//		properties.setInteger("ResearchState" + i++, this.ResearchState38);
//		properties.setInteger("ResearchState" + i++, this.ResearchState39);
//		properties.setInteger("ResearchState" + i++, this.ResearchState40);
//		properties.setInteger("ResearchState" + i++, this.ResearchState41);
//		properties.setInteger("ResearchState" + i++, this.ResearchState42);
//		properties.setInteger("ResearchState" + i++, this.ResearchState43);
//		properties.setInteger("ResearchState" + i++, this.ResearchState44);
//		properties.setInteger("ResearchState" + i++, this.ResearchState45);
//		properties.setInteger("ResearchState" + i++, this.ResearchState46);
//		properties.setInteger("ResearchState" + i++, this.ResearchState47);
//		properties.setInteger("ResearchState" + i++, this.ResearchState48);
//		properties.setInteger("ResearchState" + i++, this.ResearchState49);
//		properties.setInteger("ResearchState" + i++, this.ResearchState50);
//		properties.setInteger("ResearchState" + i++, this.ResearchState51);
//		properties.setInteger("ResearchState" + i++, this.ResearchState52);
//		properties.setInteger("ResearchState" + i++, this.ResearchState53);
//		properties.setInteger("ResearchState" + i++, this.ResearchState54);
//		properties.setInteger("ResearchState" + i++, this.ResearchState55);
//		properties.setInteger("ResearchState" + i++, this.ResearchState56);
//		properties.setInteger("ResearchState" + i++, this.ResearchState57);
//		properties.setInteger("ResearchState" + i++, this.ResearchState58);
//		properties.setInteger("ResearchState" + i++, this.ResearchState59);
//		properties.setInteger("ResearchState" + i++, this.ResearchState60);
//		properties.setInteger("ResearchState" + i++, this.ResearchState61);
//		properties.setInteger("ResearchState" + i++, this.ResearchState62);
//		properties.setInteger("ResearchState" + i++, this.ResearchState63);
//		properties.setInteger("ResearchState" + i++, this.ResearchState64);
//		properties.setInteger("ResearchState" + i++, this.ResearchState65);
//		properties.setInteger("ResearchState" + i++, this.ResearchState66);
//		properties.setInteger("ResearchState" + i++, this.ResearchState67);
//		properties.setInteger("ResearchState" + i++, this.ResearchState68);
//		properties.setInteger("ResearchState" + i++, this.ResearchState69);
//		properties.setInteger("ResearchState" + i++, this.ResearchState70);
//		properties.setInteger("ResearchState" + i++, this.ResearchState71);
//		properties.setInteger("ResearchState" + i++, this.ResearchState72);
//		properties.setInteger("ResearchState" + i++, this.ResearchState73);
//		properties.setInteger("ResearchState" + i++, this.ResearchState74);
//		properties.setInteger("ResearchState" + i++, this.ResearchState75);
//		properties.setInteger("ResearchState" + i++, this.ResearchState76);
//		properties.setInteger("ResearchState" + i++, this.ResearchState77);
//		properties.setInteger("ResearchState" + i++, this.ResearchState78);
//		properties.setInteger("ResearchState" + i++, this.ResearchState79);
//		properties.setInteger("ResearchState" + i++, this.ResearchState80);
//		properties.setInteger("ResearchState" + i++, this.ResearchState81);
//		properties.setInteger("ResearchState" + i++, this.ResearchState82);
//		properties.setInteger("ResearchState" + i++, this.ResearchState83);
//		properties.setInteger("ResearchState" + i++, this.ResearchState84);
//		properties.setInteger("ResearchState" + i++, this.ResearchState85);
//		properties.setInteger("ResearchState" + i++, this.ResearchState86);
//		properties.setInteger("ResearchState" + i++, this.ResearchState87);
//		properties.setInteger("ResearchState" + i++, this.ResearchState88);
//		properties.setInteger("ResearchState" + i++, this.ResearchState89);
//		properties.setInteger("ResearchState" + i++, this.ResearchState90);
//		properties.setInteger("ResearchState" + i++, this.ResearchState91);
//		properties.setInteger("ResearchState" + i++, this.ResearchState92);
//		properties.setInteger("ResearchState" + i++, this.ResearchState93);
//		properties.setInteger("ResearchState" + i++, this.ResearchState94);
//		properties.setInteger("ResearchState" + i++, this.ResearchState95);
//		properties.setInteger("ResearchState" + i++, this.ResearchState96);
//		properties.setInteger("ResearchState" + i++, this.ResearchState97);
//		properties.setInteger("ResearchState" + i++, this.ResearchState98);
//		properties.setInteger("ResearchState" + i++, this.ResearchState99);
//		properties.setInteger("ResearchState" + i++, this.ResearchState100);
//		properties.setInteger("ResearchState" + i++, this.ResearchState101);
//		properties.setInteger("ResearchState" + i++, this.ResearchState102);
//		properties.setInteger("ResearchState" + i++, this.ResearchState103);
//		properties.setInteger("ResearchState" + i++, this.ResearchState104);
//		properties.setInteger("ResearchState" + i++, this.ResearchState105);
//		properties.setInteger("ResearchState" + i++, this.ResearchState106);
//		properties.setInteger("ResearchState" + i++, this.ResearchState107);
//		properties.setInteger("ResearchState" + i++, this.ResearchState108);
//		properties.setInteger("ResearchState" + i++, this.ResearchState109);
//		properties.setInteger("ResearchState" + i++, this.ResearchState110);
//		properties.setInteger("ResearchState" + i++, this.ResearchState111);
//		properties.setInteger("ResearchState" + i++, this.ResearchState112);
//		properties.setInteger("ResearchState" + i++, this.ResearchState113);
//		properties.setInteger("ResearchState" + i++, this.ResearchState114);
//		properties.setInteger("ResearchState" + i++, this.ResearchState115);
//		properties.setInteger("ResearchState" + i++, this.ResearchState116);
//		properties.setInteger("ResearchState" + i++, this.ResearchState117);
//		properties.setInteger("ResearchState" + i++, this.ResearchState118);
//		properties.setInteger("ResearchState" + i++, this.ResearchState119);
//		properties.setInteger("ResearchState" + i++, this.ResearchState120);


}
public int getcurrentStory(){

	return Story;	
}
public int setcurrentStory(int state){
	this.Story = state;

	return this.Story;

}

public int setAnalyzeResultQuest1(int state){
	this.AnalyzeResultQuest1 = state;

	return this.AnalyzeResultQuest1;
}

public int setAnalyzeResultQuest2(int state){
	this.AnalyzeResultQuest2 = state;

	return this.AnalyzeResultQuest2;
}

public int setAnalyzeResultQuest3(int state){
	this.AnalyzeResultQuest3 = state;

	return this.AnalyzeResultQuest3;
}

public int getAnalyzeResultQuest1(){


	return this.AnalyzeResultQuest1;
}

public int getAnalyzeResultQuest2(){


	return this.AnalyzeResultQuest2;
}

public int getAnalyzeResultQuest3(){


	return this.AnalyzeResultQuest3;
}
public void setResearchState(int Number, int State){
	this.ResearchState[Number] = State;

}
public int getResearchState(int Number){
	return this.ResearchState[Number];

}
//	public int setResearchState78(int State){
//		this.ResearchState78 = State;
//		return this.ResearchState78;
//	}
//	public int getResearchState78(){
//		return this.ResearchState78;
//	}


}

Creator of Extra Shoes

 

Watch out, I'm total jerk, and I'll troll anybody if it feels like its necessary. Pls report me then

Link to comment
Share on other sites

I have the suspicion you are changing the values on the client.

Also "Extended Player" is a horrible identifier for your properties, use something unique, based on your ModID.

 

My propblem for now is, that my game crashes every time andI have no Idea why, I tried to fix this with the client, but the crash report sais, that my Array Idex i sout of Bounds

But it can't be I think, does somebody know why?

 

public class ExtendedPlayer implements IExtendedEntityProperties{

public final static String EXT_PROP_NAME = "Extended Player";

private final EntityPlayer player; 

private static int Story;

private static int AnalyzeResultQuest1;
private static int AnalyzeResultQuest2;
private static int AnalyzeResultQuest3;

private int ResearchState[] = new int[200];




//	{for(int k = 0; k<120; k++){
//		
//		this.ResearchState[k] = 1;
//		}
//	}

public ExtendedPlayer(EntityPlayer player)
{
	this.player = player;
}

public static final void register(EntityPlayer player)
{
player.registerExtendedProperties(ExtendedPlayer.EXT_PROP_NAME, new ExtendedPlayer(player));
}

public static final ExtendedPlayer get(EntityPlayer player)
{
return (ExtendedPlayer) player.getExtendedProperties(EXT_PROP_NAME);
}

@Override
public void init(Entity entity, World world) {


}

@Override
public void loadNBTData(NBTTagCompound compound) {
	NBTTagCompound properties = (NBTTagCompound) compound.getTag(EXT_PROP_NAME);
	this.Story = properties.getInteger("Story");
	System.out.println("[Periodicsystem] Story state" + this.Story);
	this.AnalyzeResultQuest1 = properties.getInteger("AnalyzeResultQuest1");
	this.AnalyzeResultQuest2 = properties.getInteger("AnalyzeResultQuest2");
	this.AnalyzeResultQuest3 = properties.getInteger("AnalyzeResultQuest3");
	this.ResearchState = properties.getIntArray("Research State");


//		this.ResearchState78 = properties.getInteger("78");
}

@Override
public void saveNBTData(NBTTagCompound compound) {
	NBTTagCompound properties = new NBTTagCompound();

	compound.setTag(EXT_PROP_NAME, properties);
	properties.setInteger("Story", this.Story);
	properties.setInteger("AnalyzeResultQuest1", this.AnalyzeResultQuest1);
	properties.setInteger("AnalyzeResultQuest2", this.AnalyzeResultQuest2);
	properties.setInteger("AnalyzeResultQuest3", this.AnalyzeResultQuest3);
	properties.setIntArray("Research State", this.ResearchState);

}
public int getcurrentStory(){

	return Story;	
}
public int setcurrentStory(int state){
	this.Story = state;

	return this.Story;

}

public int setAnalyzeResultQuest1(int state){
	this.AnalyzeResultQuest1 = state;

	return this.AnalyzeResultQuest1;
}

public int setAnalyzeResultQuest2(int state){
	this.AnalyzeResultQuest2 = state;

	return this.AnalyzeResultQuest2;
}

public int setAnalyzeResultQuest3(int state){
	this.AnalyzeResultQuest3 = state;

	return this.AnalyzeResultQuest3;
}

public int getAnalyzeResultQuest1(){


	return this.AnalyzeResultQuest1;
}

public int getAnalyzeResultQuest2(){


	return this.AnalyzeResultQuest2;
}

public int getAnalyzeResultQuest3(){


	return this.AnalyzeResultQuest3;
}
public void setResearchState(int Number, int State){
	this.ResearchState[Number] = State;

}
public int getResearchState(int Number){

	return this.ResearchState[Number];

}
//	public int setResearchState78(int State){
//		this.ResearchState78 = State;
//		return this.ResearchState78;
//	}
//	public int getResearchState78(){
//		return this.ResearchState78;
//	}


}

 

[20:23:17] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[20:23:17] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[20:23:17] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
[20:23:17] [main/INFO] [FML]: Forge Mod Loader version 7.2.156.1060 for Minecraft 1.7.2 loading
[20:23:17] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre8
[20:23:17] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[20:23:17] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[20:23:17] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
[20:23:17] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[20:23:17] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[20:23:17] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[20:23:17] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[20:23:17] [main/ERROR] [FML]: The minecraft jar file:/C:/Users/Tim/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.1.1060/forgeSrc-1.7.2-10.12.1.1060.jar!/net/minecraft/client/ClientBrandRetriever.class appears to be corrupt! There has been CRITICAL TAMPERING WITH MINECRAFT, it is highly unlikely minecraft will work! STOP NOW, get a clean copy and try again!
[20:23:17] [main/ERROR] [FML]: FML has been ordered to ignore the invalid or missing minecraft certificate. This is very likely to cause a problem!
[20:23:17] [main/ERROR] [FML]: Technical information: ClientBrandRetriever was at jar:file:/C:/Users/Tim/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.1.1060/forgeSrc-1.7.2-10.12.1.1060.jar!/net/minecraft/client/ClientBrandRetriever.class, there were 0 certificates for it
[20:23:17] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[20:23:17] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[20:23:17] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
[20:23:18] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[20:23:18] [main/INFO]: Setting user: Player390
[20:23:19] [Client thread/INFO]: LWJGL Version: 2.9.0
[20:23:20] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
[20:23:20] [Client thread/INFO] [FML]: MinecraftForge v10.12.1.1060 Initialized
[20:23:20] [Client thread/INFO] [FML]: Replaced 141 ore recipies
[20:23:20] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
[20:23:21] [Client thread/INFO] [FML]: Searching C:\Users\Tim\Desktop\forge\ForgeMods\eclipse\mods for mods
[20:23:21] [Client thread/INFO] [Periodicsystem]: Mod Periodicsystem is missing the required element 'name'. Substituting Periodicsystem
[20:23:22] [Client thread/ERROR] [FML]: FML has detected a mod that is using a package name based on 'net.minecraft.src' : net.minecraft.src.FMLRenderAccessLibrary. This is generally a severe programming error.  There should be no mod code in the minecraft namespace. MOVE YOUR MOD! If you're in eclipse, select your source code and 'refactor' it into a new package. Go on. DO IT NOW!
[20:23:24] [Client thread/INFO] [FML]: Forge Mod Loader has identified 5 mods to load
[20:23:24] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Example Mod, FMLFileResourcePack:Periodicsystem
[20:23:24] [Client thread/ERROR] [Periodicsystem]: The mod Periodicsystem appears to have an invalid event annotation EventHandler. This annotation can only apply to methods with recognized event arguments - it will not be called
[20:23:24] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0

Starting up SoundSystem...
Initializing LWJGL OpenAL
    (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
OpenAL initialized.

[20:23:25] [sound Library Loader/INFO]: Sound engine started
[20:23:25] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
[20:23:25] [Client thread/INFO]: Created: 256x256 textures/items-atlas
DIRT BLOCK >> tile.dirt
[20:23:26] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 5 mods
[20:23:26] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Example Mod, FMLFileResourcePack:Periodicsystem
[20:23:26] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
[20:23:26] [Client thread/INFO]: Created: 512x256 textures/items-atlas

SoundSystem shutting down...
    Author: Paul Lamb, www.paulscode.com


Starting up SoundSystem...
Initializing LWJGL OpenAL
    (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
OpenAL initialized.

[20:23:27] [sound Library Loader/INFO]: Sound engine started
[20:23:28] [MCO Availability Checker #1/ERROR]: Couldn't connect to Realms
[20:23:31] [server thread/INFO]: Starting integrated minecraft server version 1.7.2
[20:23:31] [server thread/INFO]: Generating keypair
[20:23:31] [server thread/INFO] [FML]: Injecting existing block and item data into this server instance
[20:23:32] [server thread/INFO] [FML]: Loading dimension 0 (Periodicsytem) (net.minecraft.server.integrated.IntegratedServer@7dff263e)
[20:23:33] [server thread/INFO] [FML]: Loading dimension 5 (Periodicsytem) (net.minecraft.server.integrated.IntegratedServer@7dff263e)
[20:23:34] [server thread/INFO] [FML]: Loading dimension 1 (Periodicsytem) (net.minecraft.server.integrated.IntegratedServer@7dff263e)
[20:23:34] [server thread/INFO] [FML]: Loading dimension -1 (Periodicsytem) (net.minecraft.server.integrated.IntegratedServer@7dff263e)
[20:23:34] [server thread/INFO]: Preparing start region for level 0
[20:23:35] [Netty Client IO #0/INFO] [FML]: Server protocol version 1
[20:23:35] [Netty IO #1/INFO] [FML]: Client protocol version 1
[20:23:35] [Netty IO #1/INFO] [FML]: Client attempting to join with 5 mods : [email protected],[email protected],[email protected],[email protected],[email protected]
[20:23:35] [Netty IO #1/INFO] [FML]: Attempting connection with missing mods [] at CLIENT
[20:23:35] [Netty Client IO #0/INFO] [FML]: Attempting connection with missing mods [] at SERVER
[20:23:35] [server thread/INFO] [FML]: [server thread] Server side modded connection established
[Periodicsystem] Story state2
[20:23:35] [server thread/INFO]: Player390[local:E:c08cf27c] logged in with entity id 203 at (-71.40336512281014, 65.0, -4.930206465669917)
[20:23:35] [Client thread/INFO] [FML]: [Client thread] Client side modded connection established
[20:23:35] [server thread/INFO]: Player390 joined the game
Yo
[20:23:41] [server thread/INFO]: Stopping server
[20:23:41] [server thread/INFO]: Saving players
[20:23:41] [server thread/INFO]: Saving worlds
[20:23:41] [server thread/INFO]: Saving chunks for level 'Periodicsytem'/Overworld
[20:23:41] [server thread/INFO]: Saving chunks for level 'Periodicsytem'/Nether
[20:23:41] [server thread/INFO]: Saving chunks for level 'Periodicsytem'/The End
[20:23:41] [server thread/INFO]: Saving chunks for level 'Periodicsytem'/Element Dimension
[20:23:41] [server thread/INFO] [FML]: Unloading dimension 0
[20:23:41] [server thread/INFO] [FML]: Unloading dimension -1
[20:23:41] [server thread/INFO] [FML]: Unloading dimension 1
[20:23:41] [server thread/INFO] [FML]: Unloading dimension 5
[20:23:41] [Client thread/FATAL]: Reported exception thrown!
net.minecraft.util.ReportedException: Updating screen events
at net.minecraft.client.Minecraft.runTick(Minecraft.java:1699) ~[Minecraft.class:?]
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:994) ~[Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Minecraft.java:910) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(Main.java:112) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]
Caused by: java.lang.ArrayIndexOutOfBoundsException: 199
at com.kloon.periodicsystem.eventhandler.ExtendedPlayer.getResearchState(ExtendedPlayer.java:132) ~[ExtendedPlayer.class:?]
at com.kloon.periodicsystem.gui.GuiElementCreator.initGui(GuiElementCreator.java:208) ~[GuiElementCreator.class:?]
at com.kloon.periodicsystem.gui.GuiElementCreator.actionPerformed(GuiElementCreator.java:359) ~[GuiElementCreator.class:?]
at net.minecraft.client.gui.GuiScreen.mouseClicked(GuiScreen.java:248) ~[GuiScreen.class:?]
at net.minecraft.client.gui.inventory.GuiContainer.mouseClicked(GuiContainer.java:352) ~[GuiContainer.class:?]
at net.minecraft.client.gui.GuiScreen.handleMouseInput(GuiScreen.java:339) ~[GuiScreen.class:?]
at net.minecraft.client.gui.GuiScreen.handleInput(GuiScreen.java:303) ~[GuiScreen.class:?]
at net.minecraft.client.Minecraft.runTick(Minecraft.java:1685) ~[Minecraft.class:?]
... 9 more
---- Minecraft Crash Report ----
// I blame Dinnerbone.

Time: 28.06.14 20:23
Description: Updating screen events

java.lang.ArrayIndexOutOfBoundsException: 199
at com.kloon.periodicsystem.eventhandler.ExtendedPlayer.getResearchState(ExtendedPlayer.java:132)
at com.kloon.periodicsystem.gui.GuiElementCreator.initGui(GuiElementCreator.java:208)
at com.kloon.periodicsystem.gui.GuiElementCreator.actionPerformed(GuiElementCreator.java:359)
at net.minecraft.client.gui.GuiScreen.mouseClicked(GuiScreen.java:248)
at net.minecraft.client.gui.inventory.GuiContainer.mouseClicked(GuiContainer.java:352)
at net.minecraft.client.gui.GuiScreen.handleMouseInput(GuiScreen.java:339)
at net.minecraft.client.gui.GuiScreen.handleInput(GuiScreen.java:303)
at net.minecraft.client.Minecraft.runTick(Minecraft.java:1685)
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:994)
at net.minecraft.client.Minecraft.run(Minecraft.java:910)
at net.minecraft.client.main.Main.main(Main.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:134)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)


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

-- Head --
Stacktrace:
at com.kloon.periodicsystem.eventhandler.ExtendedPlayer.getResearchState(ExtendedPlayer.java:132)
at com.kloon.periodicsystem.gui.GuiElementCreator.initGui(GuiElementCreator.java:208)
at com.kloon.periodicsystem.gui.GuiElementCreator.actionPerformed(GuiElementCreator.java:359)
at net.minecraft.client.gui.GuiScreen.mouseClicked(GuiScreen.java:248)
at net.minecraft.client.gui.inventory.GuiContainer.mouseClicked(GuiContainer.java:352)
at net.minecraft.client.gui.GuiScreen.handleMouseInput(GuiScreen.java:339)
at net.minecraft.client.gui.GuiScreen.handleInput(GuiScreen.java:303)

-- Affected screen --
Details:
Screen name: com.kloon.periodicsystem.gui.GuiElementCreator

-- Affected level --
Details:
Level name: MpServer
All players: 1 total; [EntityClientPlayerMP['Player390'/203, l='MpServer', x=-71,97, y=66,62, z=-5,21]]
Chunk stats: MultiplayerChunkCache: 225, 225
Level seed: 0
Level generator: ID 00 - default, ver 1. Features enabled: false
Level generator options: 
Level spawn location: World: (-13,64,-19), Chunk: (at 3,4,13 in -1,-2; contains blocks -16,0,-32 to -1,255,-17), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1)
Level time: 3025333 game time, 6000 day time
Level dimension: 0
Level storage version: 0x00000 - Unknown?
Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
Forced entities: 152 total; [EntityChicken['Chicken'/19, l='MpServer', x=-144,47, y=73,00, z=39,88], EntityPig['Pig'/20, l='MpServer', x=-150,50, y=65,00, z=63,53], EntityBat['Bat'/22, l='MpServer', x=-138,07, y=40,01, z=-60,34], EntityPig['Pig'/23, l='MpServer', x=-139,53, y=75,00, z=36,09], EntityBat['Bat'/24, l='MpServer', x=-125,42, y=17,70, z=69,39], EntityPig['Pig'/27, l='MpServer', x=-105,03, y=61,00, z=-82,06], EntityBat['Bat'/28, l='MpServer', x=-111,75, y=52,10, z=-84,25], EntityPig['Pig'/29, l='MpServer', x=-105,19, y=71,00, z=28,47], EntityBat['Bat'/30, l='MpServer', x=-105,31, y=19,72, z=47,41], EntityChicken['Chicken'/31, l='MpServer', x=-98,22, y=60,00, z=47,47], EntityBat['Bat'/37, l='MpServer', x=-88,29, y=14,31, z=39,49], EntityPig['Pig'/38, l='MpServer', x=-83,88, y=63,00, z=62,16], EntityPig['Pig'/39, l='MpServer', x=-94,13, y=64,00, z=55,28], EntityBat['Bat'/43, l='MpServer', x=-62,06, y=38,00, z=-29,94], EntityItem['item.tile.sand.default'/44, l='MpServer', x=-68,47, y=64,13, z=-4,19], EntityItem['item.tile.quartzBlock.default'/45, l='MpServer', x=-68,88, y=64,13, z=-4,38], EntityItem['item.tile.Platinum Ore'/46, l='MpServer', x=-69,03, y=64,13, z=-4,38], EntityItem['item.tile.Fluid Smelter Off'/47, l='MpServer', x=-68,31, y=64,13, z=-3,81], EntityItem['item.item.Teleport Staff'/48, l='MpServer', x=-68,44, y=64,13, z=-3,88], EntityBat['Bat'/49, l='MpServer', x=-82,19, y=12,78, z=36,56], EntityItemFrame['entity.ItemFrame.name'/52, l='MpServer', x=-58,94, y=66,50, z=-0,50], EntityItemFrame['entity.ItemFrame.name'/53, l='MpServer', x=-58,94, y=66,50, z=-1,50], EntityItemFrame['entity.ItemFrame.name'/54, l='MpServer', x=-58,94, y=65,50, z=-2,50], EntityItemFrame['entity.ItemFrame.name'/55, l='MpServer', x=-58,94, y=65,50, z=-1,50], EntityItemFrame['entity.ItemFrame.name'/56, l='MpServer', x=-58,94, y=65,50, z=-0,50], EntityItemFrame['entity.ItemFrame.name'/57, l='MpServer', x=-58,94, y=64,50, z=-0,50], EntityItemFrame['entity.ItemFrame.name'/58, l='MpServer', x=-58,94, y=64,50, z=-1,50], EntityItemFrame['entity.ItemFrame.name'/59, l='MpServer', x=-58,94, y=64,50, z=-2,50], EntityItemFrame['entity.ItemFrame.name'/60, l='MpServer', x=-53,50, y=66,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/61, l='MpServer', x=-52,50, y=66,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/62, l='MpServer', x=-52,50, y=65,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/63, l='MpServer', x=-53,50, y=65,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/64, l='MpServer', x=-53,50, y=64,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/65, l='MpServer', x=-53,50, y=64,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/66, l='MpServer', x=-52,50, y=64,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/67, l='MpServer', x=-54,50, y=64,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/68, l='MpServer', x=-54,50, y=67,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/69, l='MpServer', x=-53,50, y=67,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/70, l='MpServer', x=-52,50, y=67,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/71, l='MpServer', x=-52,50, y=68,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/72, l='MpServer', x=-53,50, y=68,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/73, l='MpServer', x=-54,50, y=68,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/74, l='MpServer', x=-58,94, y=68,50, z=-0,50], EntityItemFrame['entity.ItemFrame.name'/75, l='MpServer', x=-58,94, y=68,50, z=-1,50], EntityItemFrame['entity.ItemFrame.name'/76, l='MpServer', x=-50,06, y=64,50, z=-2,50], EntityItemFrame['entity.ItemFrame.name'/77, l='MpServer', x=-50,06, y=68,50, z=-2,50], EntityItemFrame['entity.ItemFrame.name'/78, l='MpServer', x=-50,06, y=67,50, z=-2,50], EntityItemFrame['entity.ItemFrame.name'/79, l='MpServer', x=-50,06, y=65,50, z=-2,50], EntityItemFrame['entity.ItemFrame.name'/80, l='MpServer', x=-50,06, y=66,50, z=-2,50], EntityItemFrame['entity.ItemFrame.name'/81, l='MpServer', x=-50,06, y=68,50, z=-1,50], EntityItemFrame['entity.ItemFrame.name'/82, l='MpServer', x=-50,06, y=67,50, z=-1,50], EntityItemFrame['entity.ItemFrame.name'/83, l='MpServer', x=-50,06, y=66,50, z=-1,50], EntityItemFrame['entity.ItemFrame.name'/84, l='MpServer', x=-50,06, y=65,50, z=-1,50], EntityItemFrame['entity.ItemFrame.name'/85, l='MpServer', x=-50,06, y=64,50, z=-1,50], EntityItemFrame['entity.ItemFrame.name'/86, l='MpServer', x=-50,06, y=64,50, z=-0,50], EntityItemFrame['entity.ItemFrame.name'/87, l='MpServer', x=-50,06, y=65,50, z=-0,50], EntityItemFrame['entity.ItemFrame.name'/88, l='MpServer', x=-50,06, y=68,50, z=-0,50], EntityItemFrame['entity.ItemFrame.name'/89, l='MpServer', x=-50,06, y=67,50, z=-0,50], EntityItemFrame['entity.ItemFrame.name'/90, l='MpServer', x=-50,06, y=66,50, z=-0,50], EntityItemFrame['entity.ItemFrame.name'/91, l='MpServer', x=-50,06, y=69,50, z=-2,50], EntityItemFrame['entity.ItemFrame.name'/92, l='MpServer', x=-50,06, y=69,50, z=-1,50], EntityItemFrame['entity.ItemFrame.name'/93, l='MpServer', x=-50,06, y=69,50, z=-0,50], EntityItemFrame['entity.ItemFrame.name'/94, l='MpServer', x=-58,94, y=67,50, z=-1,50], EntityItemFrame['entity.ItemFrame.name'/95, l='MpServer', x=-58,94, y=68,50, z=-2,50], EntityItemFrame['entity.ItemFrame.name'/96, l='MpServer', x=-58,94, y=67,50, z=-2,50], EntityItemFrame['entity.ItemFrame.name'/97, l='MpServer', x=-58,94, y=66,50, z=-2,50], EntityItemFrame['entity.ItemFrame.name'/98, l='MpServer', x=-55,50, y=68,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/99, l='MpServer', x=-56,50, y=68,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/100, l='MpServer', x=-56,50, y=67,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/101, l='MpServer', x=-55,50, y=67,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/102, l='MpServer', x=-56,50, y=66,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/103, l='MpServer', x=-55,50, y=66,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/104, l='MpServer', x=-54,50, y=66,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/105, l='MpServer', x=-54,50, y=65,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/106, l='MpServer', x=-55,50, y=65,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/107, l='MpServer', x=-55,50, y=65,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/108, l='MpServer', x=-56,50, y=64,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/109, l='MpServer', x=-56,50, y=64,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/110, l='MpServer', x=-56,50, y=65,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/111, l='MpServer', x=-55,50, y=64,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/112, l='MpServer', x=-58,94, y=67,50, z=-0,50], EntityItemFrame['entity.ItemFrame.name'/113, l='MpServer', x=-58,94, y=66,50, z=1,50], EntityItemFrame['entity.ItemFrame.name'/114, l='MpServer', x=-58,94, y=66,50, z=0,50], EntityItemFrame['entity.ItemFrame.name'/115, l='MpServer', x=-58,94, y=65,50, z=0,50], EntityItemFrame['entity.ItemFrame.name'/116, l='MpServer', x=-58,94, y=65,50, z=1,50], EntityItemFrame['entity.ItemFrame.name'/117, l='MpServer', x=-58,94, y=64,50, z=1,50], EntityItemFrame['entity.ItemFrame.name'/118, l='MpServer', x=-58,94, y=64,50, z=0,50], EntityItemFrame['entity.ItemFrame.name'/119, l='MpServer', x=-58,94, y=67,50, z=1,50], EntityItemFrame['entity.ItemFrame.name'/120, l='MpServer', x=-58,94, y=68,50, z=1,50], EntityItemFrame['entity.ItemFrame.name'/121, l='MpServer', x=-58,94, y=67,50, z=0,50], EntityItemFrame['entity.ItemFrame.name'/122, l='MpServer', x=-58,94, y=68,50, z=0,50], EntityItemFrame['entity.ItemFrame.name'/123, l='MpServer', x=-50,06, y=68,50, z=0,50], EntityItemFrame['entity.ItemFrame.name'/124, l='MpServer', x=-50,06, y=67,50, z=0,50], EntityItemFrame['entity.ItemFrame.name'/125, l='MpServer', x=-50,06, y=66,50, z=0,50], EntityItemFrame['entity.ItemFrame.name'/126, l='MpServer', x=-50,06, y=65,50, z=0,50], EntityItemFrame['entity.ItemFrame.name'/127, l='MpServer', x=-50,06, y=64,50, z=0,50], EntityItemFrame['entity.ItemFrame.name'/128, l='MpServer', x=-50,06, y=64,50, z=1,50], EntityItemFrame['entity.ItemFrame.name'/129, l='MpServer', x=-50,06, y=65,50, z=1,50], EntityItemFrame['entity.ItemFrame.name'/130, l='MpServer', x=-50,06, y=66,50, z=1,50], EntityItemFrame['entity.ItemFrame.name'/131, l='MpServer', x=-50,06, y=68,50, z=1,50], EntityItemFrame['entity.ItemFrame.name'/132, l='MpServer', x=-50,06, y=67,50, z=1,50], EntityItemFrame['entity.ItemFrame.name'/133, l='MpServer', x=-52,50, y=68,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/134, l='MpServer', x=-53,50, y=68,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/135, l='MpServer', x=-56,50, y=67,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/136, l='MpServer', x=-55,50, y=67,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/137, l='MpServer', x=-54,50, y=67,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/138, l='MpServer', x=-54,50, y=67,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/139, l='MpServer', x=-52,50, y=67,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/140, l='MpServer', x=-52,50, y=67,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/141, l='MpServer', x=-53,50, y=67,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/142, l='MpServer', x=-52,50, y=66,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/143, l='MpServer', x=-53,50, y=66,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/144, l='MpServer', x=-54,50, y=66,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/145, l='MpServer', x=-55,50, y=66,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/146, l='MpServer', x=-56,50, y=66,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/147, l='MpServer', x=-56,50, y=65,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/148, l='MpServer', x=-55,50, y=65,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/149, l='MpServer', x=-54,50, y=65,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/150, l='MpServer', x=-53,50, y=65,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/151, l='MpServer', x=-52,50, y=65,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/152, l='MpServer', x=-52,50, y=64,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/153, l='MpServer', x=-53,50, y=64,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/154, l='MpServer', x=-54,50, y=64,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/155, l='MpServer', x=-55,50, y=64,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/156, l='MpServer', x=-56,50, y=64,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/157, l='MpServer', x=-56,50, y=68,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/158, l='MpServer', x=-55,50, y=68,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/159, l='MpServer', x=-54,50, y=68,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/160, l='MpServer', x=-50,06, y=69,50, z=0,50], EntityItemFrame['entity.ItemFrame.name'/161, l='MpServer', x=-50,06, y=69,50, z=1,50], EntitySquid['Squid'/162, l='MpServer', x=-36,81, y=58,09, z=-61,50], EntitySquid['Squid'/163, l='MpServer', x=-33,28, y=59,34, z=-66,69], EntitySquid['Squid'/164, l='MpServer', x=-41,47, y=56,38, z=-64,47], EntityBat['Bat'/165, l='MpServer', x=-43,25, y=12,10, z=-18,41], EntityBat['Bat'/166, l='MpServer', x=-46,78, y=11,63, z=-19,29], EntityPig['Pig'/167, l='MpServer', x=-43,57, y=68,00, z=43,86], EntitySquid['Squid'/171, l='MpServer', x=-26,53, y=59,00, z=-66,50], EntityBat['Bat'/173, l='MpServer', x=-22,49, y=15,43, z=-17,63], EntityItemFrame['entity.ItemFrame.name'/177, l='MpServer', x=-2,50, y=63,50, z=-1,94], EntityItemFrame['entity.ItemFrame.name'/178, l='MpServer', x=-1,94, y=63,50, z=-2,50], EntityItemFrame['entity.ItemFrame.name'/179, l='MpServer', x=-1,94, y=63,50, z=2,50], EntityItemFrame['entity.ItemFrame.name'/180, l='MpServer', x=-2,50, y=63,50, z=1,94], EntityPig['Pig'/181, l='MpServer', x=-14,60, y=65,58, z=30,47], EntityBat['Bat'/182, l='MpServer', x=-3,95, y=30,77, z=41,16], EntityPig['Pig'/183, l='MpServer', x=-11,59, y=67,00, z=46,00], EntitySheep['Sheep'/184, l='MpServer', x=-11,06, y=69,00, z=66,06], EntityItemFrame['entity.ItemFrame.name'/187, l='MpServer', x=1,94, y=63,50, z=-2,50], EntityItemFrame['entity.ItemFrame.name'/188, l='MpServer', x=2,50, y=63,50, z=-1,94], EntityItemFrame['entity.ItemFrame.name'/189, l='MpServer', x=2,50, y=63,50, z=1,94], EntityItemFrame['entity.ItemFrame.name'/190, l='MpServer', x=1,94, y=63,50, z=2,50], EntityBat['Bat'/191, l='MpServer', x=2,29, y=26,83, z=38,27], EntityClientPlayerMP['Player390'/203, l='MpServer', x=-71,97, y=66,62, z=-5,21]]
Retry entities: 0 total; []
Server brand: fml,forge
Server type: Integrated singleplayer server
Stacktrace:
at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:412)
at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2521)
at net.minecraft.client.Minecraft.run(Minecraft.java:932)
at net.minecraft.client.main.Main.main(Main.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:134)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

-- System Details --
Details:
Minecraft Version: 1.7.2
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.8.0, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 696968512 bytes (664 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
AABB Pool Size: 6867 (384552 bytes; 0 MB) allocated, 2 (112 bytes; 0 MB) used
IntCache: cache: 15, tcache: 0, allocated: 13, tallocated: 95
FML: MCP v9.01-pre FML v7.2.156.1060 Minecraft Forge 10.12.1.1060 5 mods loaded, 5 mods active
mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
FML{7.2.156.1060} [Forge Mod Loader] (forgeSrc-1.7.2-10.12.1.1060.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Forge{10.12.1.1060} [Minecraft Forge] (forgeSrc-1.7.2-10.12.1.1060.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
examplemod{1.0} [Example Mod] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Periodicsystem{2.0} [Periodicsystem] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Launched Version: 1.6
LWJGL: 2.9.0
OpenGL: GeForce GTX 650/PCIe/SSE2 GL version 4.3.0, NVIDIA Corporation
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Packs: []
Current Language: English (UK)
Profiler Position: N/A (disabled)
Vec3 Pool Size: 1529 (85624 bytes; 0 MB) allocated, 25 (1400 bytes; 0 MB) used
Anisotropic Filtering: Off (1)
#@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Tim\Desktop\forge\ForgeMods\eclipse\.\crash-reports\crash-2014-06-28_20.23.41-client.txt
AL lib: (EE) alc_cleanup: 1 device not closed
Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release

Creator of Extra Shoes

 

Watch out, I'm total jerk, and I'll troll anybody if it feels like its necessary. Pls report me then

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

    • How to fix file server-1.20.1-20230612.114412-srg.jar  
    • Just a few months ago I was creating my own plugin for Minecraft 1.20.2 spigot that did the same thing, but the skins were not saved, if you can understand this code that I made a long time ago it may help you.   //This is a class method private static String APIRequest(String value, String url, String toSearch) { try { URL api = new URL(url + value); HttpURLConnection connection = (HttpURLConnection) api.openConnection(); connection.setRequestMethod("GET"); int responseCode = connection.getResponseCode(); if (responseCode == HttpURLConnection.HTTP_OK) { BufferedReader reader = new BufferedReader(new InputStreamReader(connection.getInputStream())); StringBuilder response = new StringBuilder(); for (String responseChar; (responseChar = reader.readLine()) != null; ) response.append(responseChar); reader.close(); JSONObject responseObject = new JSONObject(response.toString()); if (!toSearch.equals("id")) return responseObject .getJSONArray("properties") .getJSONObject(0) .getString("value"); else return responseObject.getString("id"); } else { AntiGianka.ConsoleMessage(ChatColor.RED, String.format( "Could not get %s. Response code: %s", ((toSearch.equals("id")) ? "UUID" : "texture"), responseCode )); } } catch (MalformedURLException error) { AntiGianka.ConsoleMessage(ChatColor.RED, "An error occurred while trying to access the URL. Error: " + error); } catch (IOException error) { AntiGianka.ConsoleMessage(ChatColor.RED, "An error occurred while attempting to connect to the URL. Error: " + error); } return ""; } //other class method private void SkinGetter() { String uuid; String textureCoded; if ((uuid = APIRequest(args[0], "https://api.mojang.com/users/profiles/minecraft/", "id")).isEmpty() || (textureCoded = APIRequest(uuid, "https://sessionserver.mojang.com/session/minecraft/profile/", "value")).isEmpty() ) sender.sendMessage(ChatColor.RED + String.format( "An error has occurred while trying to obtain the %s player skin, please check if the name %s is spelled correctly or try again later.", args[0], args[0] ) ); else SkinSetter(textureCoded); } //other more private void SkinSetter(String textureCoded) { JSONObject profile = new JSONObject(new String(Base64.getDecoder().decode(textureCoded))); try { URL textureUrl = new URL(profile.getJSONObject("textures"). getJSONObject("SKIN"). getString("url")); if (sender instanceof Player && args.length == 1) { PlayerTextures playerTextures = ((Player) sender).getPlayerProfile().getTextures(); playerTextures.setSkin(textureUrl); ((Player) sender).getPlayerProfile().setTextures(playerTextures); if (((Player) sender).getPlayerProfile().getTextures().getSkin() != null) sender.sendMessage(((Player) sender).getPlayerProfile().getTextures().getSkin().toString()); else sender.sendMessage("Null"); sender.sendMessage("Skin changed successfully.a"); } else { } AntiGianka.ConsoleMessage(ChatColor.GREEN, "Skin command executed successfully."); } catch (MalformedURLException error) { sender.sendMessage(ChatColor.RED + String.format( "An error has occurred while trying to obtain the %s player skin, please check if the name %s is spelled correctly or try again later.", args[0], args[0] ) ); AntiGianka.ConsoleMessage(ChatColor.RED, "An error occurred while trying to access the URL. Error: " + error); } }  
    • Use /locate structure The chat should show all available structures as suggestion For the Ancient City it is /locate structure ancient_city
    • So does it work without this mod? Did you test it with other builds?
  • Topics

×
×
  • Create New...

Important Information

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