Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

bigbaddevil6

Members
  • Posts

    87
  • Joined

  • Last visited

Everything posted by bigbaddevil6

  1. Is this what you had in mind? It works except for anything that called for a blockID for example my postInit it gives me a null pointer along with anything else that calls for it. Is there something special I have to do for that? I would have thought that the .blockID would have been set to what I gave it in the constructor of the block class. Or is it something else?
  2. I understand the difference between a local and global variable. Which is why I'm getting so confused. I can send you a old part of this code that works fine and have everything defined but but lets say I went back to the way this use to be and got rid of all the dupes that I've put in trying to understand the confusion here. The tutorial i am following calls for the int titaniumOreID = config.getBlock(Configuration.CATEGORY_BLOCK, "Titanium Ore ID", 501).getInt(); as is, it doesn't have the public static int titaniumOreID; above the class, which how all mine were defined. Old Code http://pastebin.com/X8csMtLj But the confusion came when preInit class defines all the int titaniumOreID = config.getBlock and then passes it to the load class in the tutorial. Isn't that defined variable local to the preInit and won't be seen by the load class. Yet I'm looking at the tutorial do it and when I go to do it gives me the exact syntax error I would expect to get.
  3. damn my fingers always getting in my way... Ok besides my poor typing skills. When ever I go to just make the preInit int titaniumOreID = config.getBlock(Configuration.CATEGORY_BLOCK, "Titanium Ore ID", 501).getInt(); it wont allow me to pass the information to the load Block titanium = new titanium(titaniumOreID, Material.rock); it wont pass even though I see it done in the tutorial. Says it cannot be resolved to variable.
  4. I have been working on making a config file for my mod(doing just ID's at the moment). When I go to load the the game it just says slot 0 is already taken... when trying to add... Theses are my declarations. public static int denseCoalOreID; public static int titaniumOreID; These are the initializers int denseCoalOre = config.getBlock(Configuration.CATEGORY_BLOCK, "Dense Coal Ore", 500).getInt(); int titaniumOreID = config.getBlock(Configuration.CATEGORY_BLOCK, "Titanium Ore ID", 501).getInt(); Them being used in the assigning the ID Block denseCoalOre = new denseCoalOre(denseCoalID, Material.rock); //the rest of the attribute are in its class. Block titanium = new titanium(titaniumOreID, Material.rock);//same with this one. This is there error java.lang.IllegalArgumentException: Slot 0 is already occupied by bigbaddevil7.supernova.blocks.denseCoalOre@302ff81c when adding bigbaddevil7.supernova.blocks.titanium@1d4a0efb Also Since I'm only learning I knew this exact thing was going to happen, but my main class became massive. What would be the best way to setup the main class, or what is the more common method of organizing the class. This my main class. Even I know its not pretty site which is why I'm asking for suggestions. I've looked at open source mods on the site but I understand it better when someone explains it. Here is a pastebin as well http://pastebin.com/w67VexAC
  5. Well its common sense that you will need to. I've watched hours of java tuts and still barely get the grasp of what I'm trying to do here. For anyone to think that they can do this without knowing java is idiotic. I thought I've asked some dumb questions. That brings me to a point I was looking over the "How to make an advanced config" and was wondering how it... works meaning I though java wouldn't agree with this. In the PreInit there are these lines. int randomBlockID = config.getBlock("RandomBlock", 200).getInt(); int randomItemID = config.getItem("RandomItem", 20000).getInt(); @PreInit public void preInit(FMLPreInitializationEvent event) { Configuration config = new Configuration(event.getSuggestedConfigurationFile()); config.load(); int randomBlockID = config.getBlock("RandomBlock", 200).getInt(); int randomItemID = config.getItem("RandomItem", 20000).getInt(); // Since this flag is a boolean, we can read it into the variable directly from the config. someConfigFlag = config.get(Configuration.CATEGORY_GENERAL, "SomeConfigFlag", false).getBoolean(false); //Notice there is nothing that gets the value of this property so the expression results in a Property object. Property someProperty = config.get(Configuration.CATEGORY_GENERAL, "SomeConfigString", "nothing"); // Here we add a comment to our new property. someProperty.comment = "This value can be read as a string!"; String someConfigString = someProperty.value; // this could also be: // int someInt = someProperty.getInt(); // boolean someBoolean = someProperty.getBoolean(true); config.save(); } They then get passed into randomBlock = (new RandomBlock(randomBlockID , 5)) @Init public void load(FMLInitializationEvent event) { // now the blockID can be set in a configuration file randomBlock = (new RandomBlock(randomBlockID , 5)) .setHardness(1.5F) .setResistance(10.0F) .setStepSound(Block.soundStoneFootstep) .setBlockName("Random Block"); // where 20000 is the ItemID I want to assign it, and 2 is the texture. randomItem = (new RandomItem(randomItemID, 2)); } Now to my knowledge wouldn't randomBlockID and randomItemID be local variable to the first function and wouldn't be able to be called in the second function as they are? Also shouldn't the blocks themselves be defined before the preInit like how they are in the postInit. This is the whole code from the http://www.minecraftforge.net/wiki/How_to_make_an_advanced_configuration_file
  6. Yea i thought that was the case when it came to not needing the new Object[], I was watching a tut when this came up and I kept to it to follow along. My other recipes didn't have it. Yea I overlooked it when I read the description and only glanced at the code layout. By the way I don't see why people would call you an ass. Every time you post to one of my nub questions seem just fine & helpful to me.
  7. I just got done reading the Tut on Using the Ore Dictionary to add crafting recipes. I did notice that the guide was made for 1.3.2 so could by why I'm having a problem. But if I do what the Tut says about replacing the item with a string that you specified when you register the ingot, it will throw me a Null Pointer in that recipe. This is my registering of the ingot which is before the recipes. OreDictionary.registerOre("ingotTitanium", titaniumIngots); This is the recipe I'm trying to use. GameRegistry.addRecipe(new ItemStack(mediumPowerCell, 1, mediumPowerCell.getMaxDamage()), new Object[]{"RXR", "XYX", "RXR", 'X', "ingotTitanium", 'Y', largePowerCore, 'R', Item.redstone});
  8. *slams face into desk* Of course not only what you said makes sense, but as soon as I read I remembered listening to someone saying that exact thing, to check for null first so it doesn't throw a pointer. Well now I can get to work on my container to start allowing for upgrades in my machines. Thanks a you guys.
  9. Its not working. In fact forgot to remove that piece for when I put this up, but that was the function I was going to use to compare. I just need help with the comparison whether it uses that method or if I have to make a new one. If I try to do a comparison with that if statement in the hasUpgrade() it just throws me a Null Pointer. So.. I believe I'm comparing it wrong.
  10. Im so close to getting it. This is what I have done so far with your help of course. if (this.hasPower() && this.canFragment()) { if(this.slots[3] != null){ cookRate = 2; }else{ cookRate = 1; } this.cookTime += cookRate; if (this.cookTime >= Speed) { this.cookTime = 0; this.fragmentItem(); flag1 = true; } } This tells if there is an item in the slot. if(this.slots[3] != null){ cookRate = 2; }else{ cookRate = 1; } The only problem I'm having is if I try to compare it to an item it gives me a null pointer. I think I"m just comparing it wrong.
  11. That is the power though. I need the one that adjusts the speed at which the furnace smelts an item. Referenced in these spots public int Speed = 700; if (this.cookTime == Speed) { this.cookTime = 0; this.fragmentItem(); flag1 = true; }
  12. I'm trying to setup my machine to have an faster speed when a different fuel/item is given. Wouldn't I do an ItemStack comparison between the slots and the item I wish to compare. When I try it just gives me a null pointer. Here is my setup package bigbaddevil7.supernova.tileentity; import bigbaddevil7.supernova.SuperNova; import bigbaddevil7.supernova.blocks.CarbonWeaver; import bigbaddevil7.supernova.crafting.CarbonWeaverRecipes; import bigbaddevil7.supernova.crafting.OreRecipes; import bigbaddevil7.supernova.crafting.OxidizerRecipes; import net.minecraft.block.Block; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.inventory.ISidedInventory; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.nbt.NBTTagList; import net.minecraft.tileentity.TileEntity; import net.minecraftforge.oredict.OreDictionary; public class TileEntityCarbonWeaver extends TileEntity implements ISidedInventory{ private String localizedName; private ItemStack[] slots = new ItemStack[4]; public int Speed = 700; public int power; public final int maxPower = 10000; public int cookTime; private static final int[] slots_top = new int[] {0}; private static final int[] slots_bottom = new int[] {2, 1}; private static final int[] slots_sides = new int[] {1}; public String getInvName() { return this.isInvNameLocalized() ? this.localizedName : "container.carbonWeaver"; } public boolean isInvNameLocalized() { return this.localizedName != null && this.localizedName.length() > 0; } public void setGuiDisplayName(String displayName) { this.localizedName = displayName; } @Override public int getSizeInventory() { return this.slots.length; } @Override public ItemStack getStackInSlot(int i) { return this.slots[i]; } @Override public ItemStack decrStackSize(int i, int j) { if (this.slots[i] != null) { ItemStack itemstack; if (this.slots[i].stackSize <= j) { itemstack = this.slots[i]; this.slots[i] = null; return itemstack; } else { itemstack = this.slots[i].splitStack(j); if (this.slots[i].stackSize == 0) { this.slots[i] = null; } return itemstack; } } return null; } @Override public ItemStack getStackInSlotOnClosing(int i) { if (this.slots[i] != null) { ItemStack itemstack = this.slots[i]; this.slots[i] = null; return itemstack; } return null; } @Override public void setInventorySlotContents(int i, ItemStack itemstack) { this.slots[i] = itemstack; if (itemstack != null && itemstack.stackSize > this.getInventoryStackLimit()) { itemstack.stackSize = this.getInventoryStackLimit(); } } @Override public int getInventoryStackLimit() { return 64; } public void readFromNBT(NBTTagCompound nbt) { super.readFromNBT(nbt); NBTTagList list = nbt.getTagList("Items"); this.slots = new ItemStack[this.getSizeInventory()]; for (int i = 0; i < list.tagCount(); i++) { NBTTagCompound compound = (NBTTagCompound) list.tagAt(i); byte b = compound.getByte("Slot"); if (b >= 0 && b < this.slots.length) { this.slots[b] = ItemStack.loadItemStackFromNBT(compound); } } this.power = nbt.getShort("BurnTime"); this.cookTime = nbt.getShort("cookTime"); if (nbt.hasKey("CustomName")) { this.localizedName = nbt.getString("CustomName"); } } public void writeToNBT(NBTTagCompound nbt) { super.writeToNBT(nbt); nbt.setShort("BurnTime", (short)this.power); nbt.setShort("CookTime", (short)this.cookTime); NBTTagList list = new NBTTagList(); for (int i = 0; i < this.slots.length; i++) { if (this.slots[i] != null) { NBTTagCompound compound = new NBTTagCompound(); compound.setByte("Slot", (byte)i); this.slots[i].writeToNBT(compound); list.appendTag(compound); } } nbt.setTag("Items", list); if (this.isInvNameLocalized()) { nbt.setString("CustomName", this.localizedName); } } @Override public boolean isUseableByPlayer(EntityPlayer entityplayer) { return this.worldObj.getBlockTileEntity(this.xCoord, this.yCoord, this.zCoord) != this ? false : entityplayer.getDistanceSq((double)this.xCoord + 0.5D, (double)this.yCoord + 0.5D, (double)this.zCoord + 0.5D) <= 64.0D; } @Override public void openChest() {} @Override public void closeChest() {} public boolean hasPower() { return this.power > 0; } @Override public void updateEntity() { boolean flag = this.hasPower(); boolean flag1 = false; if (hasPower() && this.isFragmenting()) { this.power--; } if (!this.worldObj.isRemote){ if (this.isItemPower(this.slots[1]) && this.power <= (this.maxPower - this.getPower(this.slots[1]))){ if(!this.slots[1].isItemStackDamageable()){ this.power += getPower(this.slots[1]); if (this.slots[1] != null) { flag1 = true; this.slots[1].stackSize--; if (this.slots[1].stackSize == 0) { this.slots[1] = this.slots[1].getItem().getContainerItemStack(this.slots[1]); } } }else{ if(this.slots[1].getItemDamage() < this.slots[1].getMaxDamage()){ this.power += getPower(this.slots[1]); this.slots[1] = new ItemStack(this.slots[1].getItem(), this.slots[1].stackSize, this.slots[1].getItemDamage()+1); } } } if (this.hasPower() && this.canFragment()) { this.cookTime++; /**=================================================================================================*/ if (this.cookTime == Speed) { this.cookTime = 0; this.fragmentItem(); flag1 = true; } } else { this.cookTime = 0; } if (flag != this.hasPower()) { flag1 = true; CarbonWeaver.updateCarbonWeaverBlockState(this.hasPower(), this.worldObj, this.xCoord, this.yCoord, this.zCoord); } } if (flag1) { this.onInventoryChanged(); } } String[] ores = OreDictionary.getOreNames(); private boolean isOre(ItemStack itemstack){ for(int i = 0; i < ores.length; i++){ if(ores[i].contains("ore")){ for(int j = 0; j < OreDictionary.getOres(ores[i]).size(); j++){ if(OreDictionary.getOres(ores[i]).get(j).itemID == itemstack.itemID){ return true; } } } } return false; } private boolean canFragment() { if (this.slots[0] == null) { return false; } else { //ItemStack itemstack = OreRecipes.getRecipes().smelting().getSmeltingResult(this.slots[0]); ItemStack itemstack = CarbonWeaverRecipes.smelting().getSmeltingResult(this.slots[0]); if (itemstack == null) return false; if (!(this.slots[3].itemID == SuperNova.titaniumIngots.itemID)) return false; if (this.slots[2] == null) return true; if (!this.slots[2].isItemEqual(itemstack)) return false; int result = this.slots[2].stackSize + itemstack.stackSize * 2; return (result <= getInventoryStackLimit() && result <= itemstack.getMaxStackSize()); } } public void fragmentItem() { if (this.canFragment()) { //ItemStack itemstack = OreRecipes.getRecipes().smelting().getSmeltingResult(this.slots[0]); ItemStack itemstack = CarbonWeaverRecipes.smelting().getSmeltingResult(this.slots[0]); if (this.slots[2] == null) { this.slots[2] = itemstack.copy(); this.slots[2].stackSize *= 2; } else if (this.slots[2].isItemEqual(itemstack)) { this.slots[2].stackSize += itemstack.stackSize * 2; } this.slots[0].stackSize--; if (this.slots[0].stackSize <= 0) { this.slots[0] = null; } } } public static int getPower(ItemStack itemstack) { if (itemstack == null) { return 0; } else { int i = itemstack.getItem().itemID; //if (i == Item.coal.itemID) return (int)Math.ceil(1371.4286 +(itemstack.stackSize * 228.5714)); if (i == Item.redstone.itemID) return 10; if (i == Block.blockRedstone.blockID) return 90; if( i == SuperNova.carbonFuel.itemID) return 500; if( i == SuperNova.carbonBattery.itemID) return 10; return 0; } } public boolean isFragmenting() { return this.cookTime > 0; } public static boolean isItemPower(ItemStack itemstack) { return getPower(itemstack) > 0; } @Override public boolean isItemValidForSlot(int i, ItemStack itemstack) { return i == 2 ? false : (i == 1 ? isItemPower(itemstack) : true); } @Override public int[] getAccessibleSlotsFromSide(int var1) { return var1 == 0 ? slots_bottom : (var1 == 1 ? slots_top : slots_sides); } @Override public boolean canInsertItem(int i, ItemStack itemstack, int j) { return this.isItemValidForSlot(i, itemstack); } @Override public boolean canExtractItem(int i, ItemStack itemstack, int j) { return j != 0 || i != 1 || itemstack.itemID == Item.bucketEmpty.itemID; } public int getCookCarbonWeaverProgressScaled(int i) { return this.cookTime * i / this.Speed; } public int getPowerRemainingScaled(int i) { return this.power * i / this.maxPower; } public int hasUpgrade(){ if(getStackInSlot(3).isItemEqual(new ItemStack(SuperNova.titaniumIngots))){ return Speed = 350; } else{ return Speed = 700; } } } What would be the best way to alter it to achieve the goal?
  13. so I would create a new block and not give it anything except what I need to register it to minecraft such as id and unlocalized name and in the onBlockAdded() have it places the block one above it? Minecraft differently has some interesting mechanics. EDIT Ive been looking on how doors does it's update and they use an onNeighborBlockChange() for its updates when the top or bottom block is destroyed. And the canPlaceBlockAt() it checks to make sure its below y lvl 255 and then checks both the block below and the block up 1 above. Is that correct? I'm missing the part where it adds the block above upon initial placement of the door. The trickiest machine im going to have to do will be something like this Looking from the top(S = source block, T = technical block, A = air block) Layer 1: ATA TST ATA Layer 2: (Ycoord + 1) ATA TTT ATA I wasn't planning on working with the onNeighborBlockChange() until after this when I would learn how to make multiblock structures, but that kinda didn't go as planned, so I'm fuzzy to this here.
  14. hmmm. Will have to tinker with that. I was looking through the forums and you answered someones question which I have the same problem and it was the boundbox/hitbox post. You said in or order to properly make 2 tall hit boxes you should use two blocks like pistons. Can you describe how to go about doing that?
  15. Let me see if I understand this properly then. 1st you do a check to make sure that there is something there, if so you do some math to rotate it flat, and this RenderManager.instance.renderEntityWithPosYaw(es.itemEnt, 0, 0, 0, 0, 0); is the piece of code that actually displays the item? The item you check gets passed from what I assume is the TileEntityClass for your pedestal that has a method called itemEnt()
  16. I need to learn more about openGL. At this point I think it's slightly out of my league.
  17. So does that case render the item that is placed in the slot? If so how did you go about doing it. I want some of my machines to render items hovering in locations. For example this machine here. http://puu.sh/72wvz/16f6819567.jpg I would like for items to hover there to give the machine more of an effect that its working on its items.
  18. Alright I looked at the code and saw what you were taking about (by the way interesting model). It now renders see through how I wanted. When you look at the block out of the corner of your screen it gets the transparent part becomes brighter.
  19. Firstly I want to make my new custom block have a transparent section http://puu.sh/72piA/a97662d114.jpg I want the blue part to be transparent, but im 99% sure I'm missing a step with minecraft because when i was modeling in techne it was exactly how I wanted it. I'm currently running 1.6.4 forge, used techne to model the block and import into java. This is the custom renderer. And yes i have done all of the getRenderType(), isOpaquecube() {return false;}, and renderAsNormalBlock{ return false;}. Second question is since this is 2 blocks tall I made the setBlockBounds() this.setBlockBounds(0F, 0F, 0F, 1F, 2F, 1F); to mach accordingly, but the top part of the structure can still have blocks placed through this. How do I fix that problem as well
  20. I figured out the problem I'm using winrar and i forgot that that makes an archive instead of a zip. Don't like that don't have two different Icon for the file formats. Loaded fine after that..
  21. cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: bigbaddevil7.supernova.SuperNova at cpw.mods.fml.common.LoadController.transition(LoadController.java:156) at cpw.mods.fml.common.Loader.loadMods(Loader.java:521) at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:183) at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:473) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:808) at net.minecraft.client.main.Main.main(SourceFile:101) 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:131) at net.minecraft.launchwrapper.Launch.main(Launch.java:27) Caused by: java.lang.ClassNotFoundException: bigbaddevil7.supernova.SuperNova at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:186) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at cpw.mods.fml.common.ModClassLoader.loadClass(ModClassLoader.java:61) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:462) 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 com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) at com.google.common.eventbus.EventBus.post(EventBus.java:267) at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:201) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:181) 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 com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) at com.google.common.eventbus.EventBus.post(EventBus.java:267) at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:112) at cpw.mods.fml.common.Loader.loadMods(Loader.java:511) ... 10 more Caused by: java.lang.NullPointerException at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:178) ... 38 more A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.6.4 Operating System: Windows 8 (amd64) version 6.2 Java Version: 1.7.0_51, Oracle Corporation Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 143568904 bytes (136 MB) / 475004928 bytes (453 MB) up to 954728448 bytes (910 MB) JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Suspicious classes: FML and Forge are installed IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP v8.11 FML v6.4.49.965 Minecraft Forge 9.11.1.965 4 mods loaded, 4 mods active mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed FML{6.4.49.965} [Forge Mod Loader] (minecraftforge-9.11.1.965.jar) Unloaded->Constructed Forge{9.11.1.965} [Minecraft Forge] (minecraftforge-9.11.1.965.jar) Unloaded->Constructed SuperNova{0.0.1 Dev} [superNova] (bigbaddevil7) Unloaded->Errored
  22. I just finished working on a mod and was working fine in the Dev environment so I decided to test it with a release. The compiling and reobfuscating all seemed to go well but when I go to load the mod is give me a ClassNotFoundException for my main class and I can look through the files and see it sitting right there where it's suppose to be.
  23. Ok, I redid my GuiHandler and fixed that crash now in order to have two custom GUI's I would add another case wouldn't I, because when I do it give me that error again I can have one or the other but not both. Updated GuiHandler(commented out the 2nd GUI)
  24. huh thats strange I know for sure I swapped it must of been when I was testing it must of changed the wrong one back or something, but now im getting 2014-02-15 17:41:01 [iNFO] [sTDERR] net.minecraft.util.ReportedException: Ticking memory connection 2014-02-15 17:41:01 [iNFO] [sTDERR] at net.minecraft.network.NetworkListenThread.networkTick(NetworkListenThread.java:63) 2014-02-15 17:41:01 [iNFO] [sTDERR] at net.minecraft.server.integrated.IntegratedServerListenThread.networkTick(IntegratedServerListenThread.java:109) 2014-02-15 17:41:01 [iNFO] [sTDERR] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:691) 2014-02-15 17:41:01 [iNFO] [sTDERR] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:587) 2014-02-15 17:41:01 [iNFO] [sTDERR] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:129) 2014-02-15 17:41:01 [iNFO] [sTDERR] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:484) 2014-02-15 17:41:01 [iNFO] [sTDERR] at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16) 2014-02-15 17:41:01 [iNFO] [sTDERR] Caused by: java.lang.ClassCastException: bigbaddevil7.supernova.GuiFragmenter cannot be cast to net.minecraft.inventory.Container 2014-02-15 17:41:01 [iNFO] [sTDERR] at cpw.mods.fml.common.network.NetworkRegistry.openRemoteGui(NetworkRegistry.java:308) 2014-02-15 17:41:01 [iNFO] [sTDERR] at cpw.mods.fml.common.network.FMLNetworkHandler.openGui(FMLNetworkHandler.java:353) 2014-02-15 17:41:01 [iNFO] [sTDERR] at bigbaddevil7.supernova.Fragmenter.onBlockActivated(Fragmenter.java:90) 2014-02-15 17:41:01 [iNFO] [sTDERR] at net.minecraft.item.ItemInWorldManager.activateBlockOrUseItem(ItemInWorldManager.java:421) 2014-02-15 17:41:01 [iNFO] [sTDERR] at net.minecraft.network.NetServerHandler.handlePlace(NetServerHandler.java:556) 2014-02-15 17:41:01 [iNFO] [sTDERR] at net.minecraft.network.packet.Packet15Place.processPacket(Packet15Place.java:79) 2014-02-15 17:41:01 [iNFO] [sTDERR] at net.minecraft.network.MemoryConnection.processReadPackets(MemoryConnection.java:89) 2014-02-15 17:41:01 [iNFO] [sTDERR] at net.minecraft.network.NetServerHandler.networkTick(NetServerHandler.java:141) 2014-02-15 17:41:01 [iNFO] [sTDERR] at net.minecraft.network.NetworkListenThread.networkTick(NetworkListenThread.java:54) 2014-02-15 17:41:01 [iNFO] [sTDERR] ... 6 more 2014-02-15 17:41:01 [sEVERE] [Minecraft-Server] Encountered an unexpected exception ReportedException net.minecraft.util.ReportedException: Ticking memory connection at net.minecraft.network.NetworkListenThread.networkTick(NetworkListenThread.java:63) at net.minecraft.server.integrated.IntegratedServerListenThread.networkTick(IntegratedServerListenThread.java:109) at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:691) at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:587) at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:129) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:484) at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16) Caused by: java.lang.ClassCastException: bigbaddevil7.supernova.GuiFragmenter cannot be cast to net.minecraft.inventory.Container at cpw.mods.fml.common.network.NetworkRegistry.openRemoteGui(NetworkRegistry.java:308) at cpw.mods.fml.common.network.FMLNetworkHandler.openGui(FMLNetworkHandler.java:353) at bigbaddevil7.supernova.Fragmenter.onBlockActivated(Fragmenter.java:90) at net.minecraft.item.ItemInWorldManager.activateBlockOrUseItem(ItemInWorldManager.java:421) at net.minecraft.network.NetServerHandler.handlePlace(NetServerHandler.java:556) at net.minecraft.network.packet.Packet15Place.processPacket(Packet15Place.java:79) at net.minecraft.network.MemoryConnection.processReadPackets(MemoryConnection.java:89) at net.minecraft.network.NetServerHandler.networkTick(NetServerHandler.java:141) at net.minecraft.network.NetworkListenThread.networkTick(NetworkListenThread.java:54)
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.