Jump to content

Kloonder

Members
  • Posts

    171
  • Joined

  • Last visited

Everything posted by Kloonder

  1. You should look at the error log, the error says, it cant find the Path, so you should change the path correctly
  2. Hey Guys, I really need your help I'm programing a custom Recipe Hander, who can handle item crafting, Class crafting(Items which are instanceof any class) and crafting with nbtTags. But my problem is, in the program code is a mistake, or more, I don't really know, but I'm stuck. I searched them for like 5 hours now, but I cant find it(or them). package de.kloon.advancedguns.morestuff; import scala.tools.nsc.interpreter.IMain.Request.ClassBasedWrapper; import net.minecraft.client.Minecraft; import net.minecraft.init.Items; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.server.MinecraftServer; public class KloonsCustomRecipeHandler { private ItemStack[] slotsBase; private Class[][] classBasedRecipe; private ItemStack[] classBasedRecipeOutput; private ItemStack[][] itemBasedRecipe; private int RecipeNumber = 0; public KloonsCustomRecipeHandler(ItemStack[] slots, int numberofrecipes){ this.slotsBase = new ItemStack[slots.length]; this.classBasedRecipe = new Class[numberofrecipes][slots.length]; this.classBasedRecipeOutput = new ItemStack[numberofrecipes]; this.itemBasedRecipe = new ItemStack[numberofrecipes][slots.length]; } public boolean checkforItemBasedMatchingRecipe(ItemStack[] slots){ for(int i = 0; i < itemBasedRecipe.length; i++){ for(int j = 0; j < slotsBase.length - 1; j++){ if(itemBasedRecipe[i][j] != slots[j]){ return false; } } } return true; } public boolean checkforClassBasedMatchingRecipe(ItemStack[] slots){ for(int i = 0; i < classBasedRecipe.length; i++){ for(int j = 0; j < slotsBase.length - 1; j++){ if(slots[j]!= null){ if(this.classBasedRecipe[i][j] == slots[j].getItem().getClass()){ return false; } } } } return true; } public void addClassBasedRecipe(ItemStack output, Class <? extends Item>... classes){ for(int i = 0; i < slotsBase.length; i++){ if(i != slotsBase.length - 1){ if(i < classes.length){ this.classBasedRecipe[RecipeNumber][i] = classes[i]; }else{ this.classBasedRecipe[RecipeNumber][i] = null; } }else{ this.classBasedRecipeOutput[RecipeNumber] = output; } } RecipeNumber++; } public void addItemBasedRecipe(ItemStack output, ItemStack...itemstack){ for(int i = 0; i < slotsBase.length; i++){ if(i != slotsBase.length - 1){ if(i < itemstack.length){ this.itemBasedRecipe[RecipeNumber][i] = itemstack[i]; }else{ this.itemBasedRecipe[RecipeNumber][i] = null; } }else{ this.itemBasedRecipe[RecipeNumber][i] = output; } } RecipeNumber++; } public boolean checkforAnyRecipe(ItemStack[] slots){ if(checkforClassBasedMatchingRecipe(slots) == true){ return true; } if(checkforItemBasedMatchingRecipe(slots) == true){ return true; } return false; } public ItemStack checkForAnyRecipeandCreate(ItemStack[] slots){ if(checkforAnyRecipe(slots) == true){ if(checkforItemBasedMatchingRecipe(slots)){ return findMatchingRecipe(slots); } if(checkforClassBasedMatchingRecipe(slots)){ return findMatchingRecipe(slots); } } return null; } private ItemStack findMatchingRecipe(ItemStack[] slots){ boolean flag; for(int i = 0; i < itemBasedRecipe.length; i++){ for(int j = 0; j < slotsBase.length; j++){ if(itemBasedRecipe[i][j] != slots[j]){ }else{ return itemBasedRecipe[i][slotsBase.length - 1]; } } } for(int i = 0; i < classBasedRecipe.length; i++){ for(int j = 0; j < slotsBase.length; j++){ if(slots[j] != null){ if(classBasedRecipe[i][j] != slots[j].getItem().getClass()){ flag = false; }else{ return classBasedRecipeOutput[i]; } } } } return null; } } I dont know thee fuck what is going wrong, in fact, It doesn't really check if there is something in the slots and what, I dont really know, I'm as stuck, I cant really think anymore
  3. My Problem is, my scrren only gets Black, I know the Image gets loaded, but it draws it black,why? public void onRenderExperienceBar(RenderGameOverlayEvent event){ height = Minecraft.getMinecraft().displayHeight; width = Minecraft.getMinecraft().displayWidth; Tessellator tessellator = Tessellator.instance; this.mc.getTextureManager().bindTexture(texture); tessellator.startDrawingQuads(); tessellator.addVertexWithUV(0.0D, (double)height, -90.0D, 0.0D, 1.0D); tessellator.addVertexWithUV((double)width, (double)height, -90.0D, 1.0D, 1.0D); tessellator.addVertexWithUV((double)width, 0.0D, -90.0D, 1.0D, 0.0D); tessellator.addVertexWithUV(0.0D, 0.0D, -90.0D, 0.0D, 0.0D); tessellator.draw(); }
  4. OK, You'reposting the raw code, but I want to learn something, can you please teach me what this means?
  5. Hey Guys, I have a problem, I want to render a zoom Scope from a sniper into the Screen, I already created the Gui class and can already render stuff into the screen, but my problem is, I already looked up in the GuiIngame Class, I dont know how to draw a image into the screen, which renders so, that the image renders in every resolution right.I hope you unterstand what I mean. It should render like the Pumkin blur, only with another texture. This is my Gui class. It renders after the Expierencebar. package de.kloon.advancedguns.client; import org.lwjgl.opengl.GL11; import org.lwjgl.opengl.XRandR.Screen; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.Gui; import net.minecraft.client.gui.ScaledResolution; import net.minecraft.client.renderer.OpenGlHelper; import net.minecraft.client.renderer.Tessellator; import net.minecraft.util.IIcon; import net.minecraft.util.ResourceLocation; import net.minecraftforge.client.event.RenderGameOverlayEvent; import net.minecraftforge.event.entity.minecart.MinecartCollisionEvent; import cpw.mods.fml.common.eventhandler.EventPriority; import cpw.mods.fml.common.eventhandler.SubscribeEvent; import de.kloon.advancedguns.main.AdvGuns; public class GuiZoomScope extends Gui{ private Minecraft mc; private int height; private int width; // public static final ResourceLocation texture = new ResourceLocation(AdvGuns.modid + ":textures/gui/6x Zoom Scope Overlay.png"); public static final ResourceLocation texture = new ResourceLocation("textures/misc/pumpkinblur.png"); public GuiZoomScope(Minecraft minecraft) { super(); this.mc = minecraft; } @SubscribeEvent(priority = EventPriority.NORMAL) public void onRenderExperienceBar(RenderGameOverlayEvent event){ } }
  6. Omg it works, thank you
  7. Do you mean the float damage in the Constructor? Ialready set the Damage in the onImpact Method, so I dontknow what you exactly mean
  8. Hey guys, I need some help with my entity. I created a a gun which shoots my own entity extends from entityThrowable, but in fact it spawns in my own Player. I already tried a few stuff but nothing worked good, I tried to spown it somewhere out of my character, but then it isn't in the middl of the screen. Do you have any Idea what I can do to fix the problem? public EntityBullet(World world, EntityLivingBase entity, float damage) { super(world, entity); this.thrower = entity; this.setSize(0.25F, 0.25F); this.setLocationAndAngles(entity.posX, entity.posY + (double)entity.getEyeHeight(), entity.posZ, entity.rotationYaw, entity.rotationPitch); this.posX -= (double)(MathHelper.cos((this.rotationYaw) / 180.0F * (float)Math.PI) * 0.16F); this.posY -= 0.10000000149011612D; this.posZ -= (double)(MathHelper.sin(this.rotationYaw / 180.0F * (float)Math.PI) * 0.16F); this.setPosition(this.posX, this.posY, this.posZ); this.yOffset = 0.0F; float f = 0.4F; this.motionX = (double)(-MathHelper.sin(this.rotationYaw / 180.0F * (float)Math.PI) * MathHelper.cos(this.rotationPitch / 180.0F * (float)Math.PI) * f); this.motionZ = (double)(MathHelper.cos(this.rotationYaw / 180.0F * (float)Math.PI) * MathHelper.cos(this.rotationPitch / 180.0F * (float)Math.PI) * f); this.motionY = (double)(-MathHelper.sin((this.rotationPitch + this.func_70183_g()) / 180.0F * (float)Math.PI) * f); this.setThrowableHeading(this.motionX, this.motionY, this.motionZ, this.func_70182_d(), 1.0F); } @Override protected void entityInit() { } @Override public void readEntityFromNBT(NBTTagCompound p_70037_1_) { } @Override public void writeEntityToNBT(NBTTagCompound p_70014_1_) { } @Override protected void onImpact(MovingObjectPosition mop) { if(mop.entityHit instanceof EntityPlayerMP){ if(mop.entityHit != null && !(mop.entityHit instanceof EntityPlayerMP)){ mop.entityHit.attackEntityFrom(DamageSourceAdvGuns.causeBulletDamage(this, getThrower()), 10F); System.out.println(mop.entityHit); }else{ } setDead(); }else{ System.out.println("Player"); } } public float getGravityVelocity(){ return 0; } }
  9. I'm not sure what you mean, can you please make a short code example, please. Not for copy and paste, only understanding what you mean
  10. Do I understand it correctly? You want to basically colorize your item? Why not use getColorFromItemStack ? What does getColorFromItemStack? I looked up the code in the Item class, but it only return a Number. What does it? The number returned is a hexadecimal color code. For example the number 0xFF00FF The 0x denotes a hexadecimal number the first FF denotes the amount of red the 00 denotes the amount of green and the last FF denotes the blue color: 0xFF00FF The range of those sections go from 00 to FF, translated into decimal values from 0 to 255 Here is a link for an online color picker, which will give you the hexadecimal value for the selected color: http://www.colorpicker.com/ I already figured out, that the number is a hexadecimalcode, but I have actually no Idea, how to change the Colors of a Specific Pixel
  11. Do I understand it correctly? You want to basically colorize your item? Why not use getColorFromItemStack ? What does getColorFromItemStack? I looked up the code in the Item class, but it only return a Number. What does it?
  12. Is there a way, to get a single Pixel out of a Image, and draw it over an item or a block? I created a Image with all colors I want to use, but I don't want to create over 1000 Icons for my Items and Blocks, I only want them to use a template Texture, and then draw the specific Color from the Pixel of the Texture. For Example I have an Ingot, with white Color(my Template), and then I want to draw over the Color from my Image with all Colors, so I don't need to Create every Icon for every Ingot. Is this possible, and if so, how is this possible?
  13. So what to do? Sorry for being stupid but I really have no idea whats rong
  14. 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
  15. I want all Items,. they are in your inventory, are away, so there icons are away, not the items,so you can't see them anymore
  16. 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; // } }
  17. Hey how can I switch of Item Rendering in a gui when I press a button in a gui?
  18. Hey, how can I make Furnace Recipes, which needs 10 Items of the Same type to work, and how can I make a recipe which give out 10000 Items, don't ask why accept it The Itemstack can be stacked to 10000 and the MaxStackLimit in my Furnace is 10000, so that should work
  19. Hey Guys, how can i take the Unlocalized name and bring it to the gui Class. For Example if the Unlocalized Name is Shoe, then there will be Shoe drawed on the gui. And when the unlocalized name is Boot, there will be Boot drawed on the Screen. Is this possible?
  20. I know there is a way fir Items with onCreated, but is there also a possibility for Blocks, so when you craft a Block, it does anything?
  21. Is it possible, to load IExtendedEntityProperties to a TileEntity? So I can load a Integer from my IExtendedEntityProperties to a tileentity, so the Tileentity does other things as normal? For Example when the Integer is 1, my Furnace smelts faster. This is my TileEntity Extended Player
  22. Hey, can you help me? I want to program a new Crafting table, because I need the control over the crafting Recipes, when the Player can craft and when not. So when you know yow I can add this when the player can craft and when not, or how can I make a crafting Table, so I already have a gui, a tileentity and so on, but I don't know how to make the crafting Recipes Working.
  23. Hey, is there a way to write NBT to a player? Because I programmed a fully working book but I want to create Pages for a story but i want the progress of the player be stored to the Player.data.
  24. Hey, I'm working on a new book in Minecraft, but every time I click on my Item Diary, it shows for a short time my GUI and then it crashes. I looked up in my classes, if there is any cast with net.minecraft.inventory.Container. But there isn't. So if you could help me, please do it Maybe it's bug with the FMLNetworkHandler. Crash Report Diary Gui Diary
×
×
  • Create New...

Important Information

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