Jump to content

Cerandior

Members
  • Posts

    385
  • Joined

  • Last visited

Everything posted by Cerandior

  1. Yeah i always do that but i forgot this time, sorry. Yeah it is 1.7.10
  2. I got my 3x3 pickaxe to work, it drops and it works like it should, but it ignores the enchantments of the item. I can make it so it works on silk touch but i am not sure how to make it so different levels of fortune will drop different amount of items. I was looking through some of the block methods and i found dropBlockAsItemWithChance(World p_149690_1_, int p_149690_2_, int p_149690_3_, int p_149690_4_, int p_149690_5_, float p_149690_6_, int p_149690_7_) However i am not quite sure what this method does. And i am certainly not sure what all of these variables are and to what they should be assigned to. A little help on this would be appreciated because i never had to work with this one.
  3. Wherever you used the translatef, try to translate back at the end of the method. Do that by simply using the same calues you used at translate f but negative
  4. The way you can do this is by drawing the faces of the sticks. All 6 of them. Make sure the sticks are on a different tessellator from your campfire base.Dont start at exactly the center of the block. Because you will have more than one stick. After you have drawn the sticks, inside the tessellator use GL11 rotation to rotate them about 80 deegrees. If you get any glitchy stuff in your game. Make sure that in the end of the tessellator you rotate back
  5. You have to use a tessellator. I cant think of any other way to do this
  6. Can't you simply create a normal food and use OnFoodEaten to change your Drink Stats?
  7. First you check if the item is null and if it's not then you check if that item is your item. Then you execute your code. Your code is similiar to that right? The problem is that you are putting a condition in the if statement. The above code will work but if a player tries to right click that block with nothing in it's hand it will crash!
  8. I really suggest messing up with debug mode. That way you can experiment with your code and see its effect on the game
  9. Allright after i came home i changed it so it would rotate around itself to connect with each-other. I don't know if that is the most efficient way but it certainly works. However i still don't know why that first one didn't work. You can mark this post as solved.
  10. Damn, it feels bad to destroy all of your work. That's a lot of stuff there I'll check out if i can do anything else and if i can't find any solution, I guess i will use your example.
  11. Now that i finished the items in my mod i want to add some sort of energy in it, so i thought it would be nice to create some pipes first to get them out of the way. First the rendering wasn't really hard , although it took me some time messing with the debug mode and the tessellator. Now that i am trying to connect the pipes with each-other i am having a problem. They extend in all directions . Here this is what happens: Here is my block code: Here is my TileEntityCode: Here is my Renderer Code:
  12. That did it, thanks
  13. He means that you should use a NBTTagCompound to store the durability of the item. Google it, it's a simple thing that is used by a lot of mods.
  14. So guys , i was working with some coding at one of the items in my mod and the lights went off while eclipse was opened. Nothing to major, a malfunction in my apartment's building, it got fixed within 5 minutes. I was to certain that i saved the mod file (Control-Shift-S) before the lights went off but now , after i opened eclipse again, i am missing the forge source in the referenced libraries !!! Which means all minecraft classes are unknown for my project. How can i bring the source library back? Here is a look at my Referenced libraries. The forge src is always on top:
  15. So thank you all for the help in the axe. I managed to make it so it cuts all type of trees. Now i moved to the pickaxe and i want this one to mine 3x3 area. However to do this right i need to get the direction which the player is looking at. I thought about using EntityLivingBase.rotationYaw and EntityLivingBase.rotationPitch that is in onBlockDestroyed. So i am guessing that if rotationPitch = 0 then the player is looking up and if it is 180 it is looking down? But what about the rotationYaw? If the rotationYaw = 0, in which direction is the player looking at? North?
  16. Thank you for that but i managed to make a much simplier code. But that may be helpfull for something else in my mod. Instead of checking by ignorin blocks i chechked if the block in top of what i mined is a tree
  17. Allright, i will try that within 2 hours when i get home, i will be pleased if you dont close the topic during that time
  18. Thank you both for the tips. However changing the code doesn't seem to work. Only the block that was mined with the axe (and not by code) dropped Birch, the rest was all dropped as Oak Logs. Right now, i don't get it why this is happening. I thought it was because i set the block as log but apparently no. This is my new code: @Override public boolean onBlockDestroyed(ItemStack itemstack, World world, Block block, int x, int y, int z, EntityLivingBase entity) { for(int ypos = y; ypos < ypos+1; ypos++) { if(world.getBlock(x, ypos+1, z).isWood(world, x, ypos+1, z)) { block.dropBlockAsItem(world, x, ypos, z, 0, 0); world.setBlock(x, ypos+1, z, Blocks.air); } else{ return super.onBlockDestroyed(itemstack, world, block, x, y, z, entity); } } return super.onBlockDestroyed(itemstack, world, block, x, y, z, entity); }
  19. So i am starting a new mod. And i just started working with an axe that will cut the whole tree. I didn't write to much code and i only have made it so it destroys blocks of the same type in the vertical position. However i am getting a problem. I defined the "block" as Blocks.log and because of that, the block.DropBlockAsItem drops always as Oak Logs. Is there a way to define all wood material blocks in 1.7.10? This is the onBlockDestroyed part of the code: @Override public boolean onBlockDestroyed(ItemStack itemstack, World world, Block block, int x, int y, int z, EntityLivingBase entity) { block = Blocks.log; for(int ypos = y; ypos < ypos+1; ypos++) { if(world.getBlock(x, ypos+1, z) == block) { world.setBlock(x, ypos+1, z, Blocks.air); block.dropBlockAsItem(world, x, ypos, z, 0, 0); } else{ return super.onBlockDestroyed(itemstack, world, block, x, y, z, entity); } } return super.onBlockDestroyed(itemstack, world, block, x, y, z, entity); } } Any help would be appreciated
  20. Allright so i put a custom modpack together,but when i run forge i get an error that never happend to me before. I checked for other similar crashes and they said that the error could possibly be a mod/coremod that is not in the right minecraft version, so forge cannot load it. After a check i did in my mods folder i found out that i had 2 NEI Version. I accidentally installed both 1.7.10 and 1.8.1 version. So this probably was the problem. But after i deleted the 1.8 version the error didn't go away.I checked each mod and i am almost 100% sure that there is no 1.8 mod. Any help would be appreciated. Here is the crash log: [10:19:48] [main/DEBUG] [FML/]: Java library path at launch is C:\Users\InArjoli\AppData\Roaming\.minecraft\versions\1.7.10-Forge10.13.4.1448-1.7.10\1.7.10-Forge10.13.4.1448-1.7.10-natives-5439100665214 [10:19:48] [main/DEBUG] [FML/]: Enabling runtime deobfuscation [10:19:48] [main/DEBUG] [FML/]: Instantiating coremod class FMLCorePlugin [10:19:48] [main/DEBUG] [FML/]: Added access transformer class cpw.mods.fml.common.asm.transformers.AccessTransformer to enqueued access transformers [10:19:48] [main/DEBUG] [FML/]: Enqueued coremod FMLCorePlugin [10:19:48] [main/DEBUG] [FML/]: Instantiating coremod class FMLForgePlugin [10:19:48] [main/DEBUG] [FML/]: Added access transformer class net.minecraftforge.transformers.ForgeAccessTransformer to enqueued access transformers [10:19:48] [main/DEBUG] [FML/]: Enqueued coremod FMLForgePlugin [10:19:48] [main/DEBUG] [FML/]: All fundamental core mods are successfully located [10:19:48] [main/DEBUG] [FML/]: Attempting to load commandline specified mods, relative to C:\Users\InArjoli\AppData\Roaming\.minecraft [10:19:48] [main/DEBUG] [FML/]: Discovering coremods [10:19:48] [main/DEBUG] [FML/]: Examining for coremod candidacy 1.7.10-MB_Battlegear2-Bullseye-1.0.8.0.jar [10:19:48] [main/TRACE] [FML/]: Found FMLCorePluginContainsFMLMod marker in 1.7.10-MB_Battlegear2-Bullseye-1.0.8.0.jar, it will be examined later for regular @Mod instances [10:19:48] [main/DEBUG] [FML/]: Instantiating coremod class BattlegearLoadingPlugin [10:19:48] [main/TRACE] [FML/]: coremod named Mine and Blade: Battlegear2 is loading [10:19:48] [main/WARN] [FML/]: The coremod mods.battlegear2.coremod.BattlegearLoadingPlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft [10:19:48] [main/DEBUG] [FML/]: Added access transformer class mods.battlegear2.coremod.transformers.BattlegearAccessTransformer to enqueued access transformers [10:19:48] [main/DEBUG] [FML/]: Enqueued coremod Mine and Blade: Battlegear2 [10:19:48] [main/DEBUG] [FML/]: Examining for coremod candidacy 1.7.10-zeldaswordskills-2.2.6.jar [10:19:48] [main/DEBUG] [FML/]: Not found coremod data in 1.7.10-zeldaswordskills-2.2.6.jar [10:19:48] [main/DEBUG] [FML/]: Examining for coremod candidacy [1.7.10]ArmorStatusHUD-client-1.28.jar [10:19:48] [main/DEBUG] [FML/]: Not found coremod data in [1.7.10]ArmorStatusHUD-client-1.28.jar [10:19:48] [main/DEBUG] [FML/]: Examining for coremod candidacy [1.7.10]bspkrsCore-universal-6.15.jar [10:19:48] [main/DEBUG] [FML/]: Not found coremod data in [1.7.10]bspkrsCore-universal-6.15.jar [10:19:48] [main/DEBUG] [FML/]: Examining for coremod candidacy ae2stuff-0.3.1.33-mc1.7.10.jar [10:19:48] [main/DEBUG] [FML/]: Not found coremod data in ae2stuff-0.3.1.33-mc1.7.10.jar [10:19:48] [main/DEBUG] [FML/]: Examining for coremod candidacy appliedenergistics2-rv2-stable-9.jar [10:19:48] [main/TRACE] [FML/]: Found FMLCorePluginContainsFMLMod marker in appliedenergistics2-rv2-stable-9.jar, it will be examined later for regular @Mod instances [10:19:48] [main/DEBUG] [FML/]: Instantiating coremod class AppEngCore [10:19:48] [main/DEBUG] [FML/]: The coremod appeng.transformer.AppEngCore requested minecraft version 1.7.10 and minecraft is 1.7.10. It will be loaded. [10:19:48] [main/INFO] [FML/]: [AppEng] Core Init [10:19:48] [main/DEBUG] [FML/]: Added access transformer class appeng.transformer.asm.ASMTweaker to enqueued access transformers [10:19:48] [main/DEBUG] [FML/]: Enqueued coremod AppEngCore [10:19:48] [main/DEBUG] [FML/]: Examining for coremod candidacy Aroma1997Core-1.7.10-1.0.2.13.jar [10:19:48] [main/TRACE] [FML/]: Found FMLCorePluginContainsFMLMod marker in Aroma1997Core-1.7.10-1.0.2.13.jar, it will be examined later for regular @Mod instances [10:19:48] [main/DEBUG] [FML/]: Instantiating coremod class CoreMod [10:19:48] [main/WARN] [FML/]: The coremod aroma1997.core.coremod.CoreMod does not have a MCVersion annotation, it may cause issues with this version of Minecraft [10:19:48] [main/DEBUG] [FML/]: Added access transformer class aroma1997.core.coremod.asm.AromaAccessTransformer to enqueued access transformers [10:19:48] [main/DEBUG] [FML/]: Enqueued coremod CoreMod [10:19:48] [main/DEBUG] [FML/]: Examining for coremod candidacy Aroma1997s-Dimensional-World-1.7.10-1.1.0.1.jar [10:19:48] [main/DEBUG] [FML/]: Not found coremod data in Aroma1997s-Dimensional-World-1.7.10-1.1.0.1.jar [10:19:48] [main/DEBUG] [FML/]: Examining for coremod candidacy Baubles-1.7.10-1.0.1.10.jar [10:19:48] [main/DEBUG] [FML/]: Not found coremod data in Baubles-1.7.10-1.0.1.10.jar [10:19:48] [main/DEBUG] [FML/]: Examining for coremod candidacy BiomesOPlenty-1.7.10-2.1.0.1067-universal.jar [10:19:48] [main/DEBUG] [FML/]: Not found coremod data in BiomesOPlenty-1.7.10-2.1.0.1067-universal.jar [10:19:48] [main/DEBUG] [FML/]: Examining for coremod candidacy BloodMagic-1.7.10-1.3.3-4.jar [10:19:48] [main/DEBUG] [FML/]: Not found coremod data in BloodMagic-1.7.10-1.3.3-4.jar [10:19:48] [main/DEBUG] [FML/]: Examining for coremod candidacy Botania r1.6-192.jar [10:19:48] [main/DEBUG] [FML/]: Not found coremod data in Botania r1.6-192.jar [10:19:48] [main/DEBUG] [FML/]: Examining for coremod candidacy buildcraft-7.0.9.jar [10:19:48] [main/DEBUG] [FML/]: Not found coremod data in buildcraft-7.0.9.jar [10:19:48] [main/DEBUG] [FML/]: Examining for coremod candidacy Carpenter's Blocks v3.3.5 - MC 1.7.10.jar [10:19:48] [main/DEBUG] [FML/]: Not found coremod data in Carpenter's Blocks v3.3.5 - MC 1.7.10.jar [10:19:48] [main/DEBUG] [FML/]: Examining for coremod candidacy Chisel2-2.3.10.37.jar [10:19:48] [main/DEBUG] [FML/]: Not found coremod data in Chisel2-2.3.10.37.jar [10:19:48] [main/DEBUG] [FML/]: Examining for coremod candidacy CodeChickenCore-1.7.10-1.0.4.29-universal.jar [10:19:48] [main/TRACE] [FML/]: Adding CodeChickenCore-1.7.10-1.0.4.29-universal.jar to the list of known coremods, it will not be examined again [10:19:48] [main/DEBUG] [FML/]: Instantiating coremod class CodeChickenCorePlugin [10:19:48] [main/WARN] [FML/]: The coremod codechicken.core.launch.CodeChickenCorePlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft [10:19:49] [main/DEBUG] [FML/]: Added access transformer class codechicken.core.asm.CodeChickenAccessTransformer to enqueued access transformers [10:19:49] [main/DEBUG] [FML/]: Enqueued coremod CodeChickenCorePlugin [10:19:49] [main/DEBUG] [FML/]: Examining for coremod candidacy CodeChickenLib-1.7.10-1.1.1.99-universal.jar [10:19:49] [main/DEBUG] [FML/]: Not found coremod data in CodeChickenLib-1.7.10-1.1.1.99-universal.jar [10:19:49] [main/DEBUG] [FML/]: Examining for coremod candidacy CoFHCore-[1.7.10]3.0.2-262.jar [10:19:49] [main/TRACE] [FML/]: Found FMLCorePluginContainsFMLMod marker in CoFHCore-[1.7.10]3.0.2-262.jar, it will be examined later for regular @Mod instances [10:19:49] [main/DEBUG] [FML/]: Instantiating coremod class LoadingPlugin [10:19:49] [main/WARN] [FML/]: The coremod cofh.asm.LoadingPlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft [10:19:49] [main/DEBUG] [FML/]: Added access transformer class cofh.asm.CoFHAccessTransformer to enqueued access transformers [10:19:49] [main/DEBUG] [FML/]: Enqueued coremod LoadingPlugin [10:19:49] [main/DEBUG] [FML/]: Examining for coremod candidacy denseores-1.6.2.jar [10:19:49] [main/DEBUG] [FML/]: Not found coremod data in denseores-1.6.2.jar [10:19:49] [main/DEBUG] [FML/]: Examining for coremod candidacy Draconic-Evolution-1.7.10-1.0.1c.jar [10:19:49] [main/DEBUG] [FML/]: Not found coremod data in Draconic-Evolution-1.7.10-1.0.1c.jar [10:19:49] [main/DEBUG] [FML/]: Examining for coremod candidacy EnchantingPlus-1.7.10-3.0.2-d.jar [10:19:49] [main/DEBUG] [FML/]: Not found coremod data in EnchantingPlus-1.7.10-3.0.2-d.jar [10:19:49] [main/DEBUG] [FML/]: Examining for coremod candidacy EnderIO-1.7.10-2.2.8.381.jar [10:19:49] [main/DEBUG] [FML/]: Not found coremod data in EnderIO-1.7.10-2.2.8.381.jar [10:19:49] [main/DEBUG] [FML/]: Examining for coremod candidacy EnderStorage-1.7.10-1.4.5.27-universal.jar [10:19:49] [main/DEBUG] [FML/]: Not found coremod data in EnderStorage-1.7.10-1.4.5.27-universal.jar [10:19:49] [main/DEBUG] [FML/]: Examining for coremod candidacy extrautilities-1.2.6.jar [10:19:49] [main/DEBUG] [FML/]: Not found coremod data in extrautilities-1.2.6.jar [10:19:49] [main/DEBUG] [FML/]: Examining for coremod candidacy fastcraft-1.21.jar [10:19:49] [main/TRACE] [FML/]: Found FMLCorePluginContainsFMLMod marker in fastcraft-1.21.jar, it will be examined later for regular @Mod instances [10:19:49] [main/DEBUG] [FML/]: Instantiating coremod class LoadingPlugin [10:19:49] [main/WARN] [FML/]: The coremod fastcraft.LoadingPlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft [10:19:49] [main/DEBUG] [FastCraft-core/]: FastCraft loading... [10:19:49] [main/DEBUG] [FML/]: Enqueued coremod LoadingPlugin [10:19:49] [main/DEBUG] [FML/]: Examining for coremod candidacy Hats-4.0.1.jar [10:19:49] [main/DEBUG] [FML/]: Not found coremod data in Hats-4.0.1.jar [10:19:49] [main/DEBUG] [FML/]: Examining for coremod candidacy Industrial-Craft-2-Mod-Experimental-1.7.10.jar [10:19:49] [main/TRACE] [FML/]: Found FMLCorePluginContainsFMLMod marker in Industrial-Craft-2-Mod-Experimental-1.7.10.jar, it will be examined later for regular @Mod instances [10:19:49] [main/DEBUG] [FML/]: Instantiating coremod class IC2core [10:19:49] [main/WARN] [FML/]: The coremod ic2.core.coremod.IC2core does not have a MCVersion annotation, it may cause issues with this version of Minecraft [10:19:49] [main/DEBUG] [FML/]: Enqueued coremod IC2core [10:19:49] [main/DEBUG] [FML/]: Examining for coremod candidacy InventoryTweaks-1.59-176.jar [10:19:49] [main/TRACE] [FML/]: Found FMLCorePluginContainsFMLMod marker in InventoryTweaks-1.59-176.jar, it will be examined later for regular @Mod instances [10:19:49] [main/DEBUG] [FML/]: Instantiating coremod class FMLPlugin [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: java.lang.NoClassDefFoundError: net/minecraftforge/fml/relauncher/IFMLLoadingPlugin [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.lang.ClassLoader.defineClass1(Native Method) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.lang.ClassLoader.defineClass(Unknown Source) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.security.SecureClassLoader.defineClass(Unknown Source) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.net.URLClassLoader.defineClass(Unknown Source) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.net.URLClassLoader.access$100(Unknown Source) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.net.URLClassLoader$1.run(Unknown Source) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.net.URLClassLoader$1.run(Unknown Source) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.security.AccessController.doPrivileged(Native Method) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.net.URLClassLoader.findClass(Unknown Source) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:117) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.lang.ClassLoader.loadClass(Unknown Source) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.lang.ClassLoader.loadClass(Unknown Source) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.lang.Class.forName0(Native Method) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.lang.Class.forName(Unknown Source) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at cpw.mods.fml.relauncher.CoreModManager.loadCoreMod(CoreModManager.java:417) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at cpw.mods.fml.relauncher.CoreModManager.discoverCoreMods(CoreModManager.java:346) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at cpw.mods.fml.relauncher.CoreModManager.handleLaunch(CoreModManager.java:214) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at cpw.mods.fml.relauncher.FMLLaunchHandler.setupHome(FMLLaunchHandler.java:90) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at cpw.mods.fml.relauncher.FMLLaunchHandler.setupClient(FMLLaunchHandler.java:67) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at cpw.mods.fml.relauncher.FMLLaunchHandler.configureForClientLaunch(FMLLaunchHandler.java:34) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at cpw.mods.fml.common.launcher.FMLTweaker.injectIntoClassLoader(FMLTweaker.java:126) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.launchwrapper.Launch.launch(Launch.java:115) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: Caused by: java.lang.ClassNotFoundException: net.minecraftforge.fml.relauncher.IFMLLoadingPlugin [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.lang.ClassLoader.loadClass(Unknown Source) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.lang.ClassLoader.loadClass(Unknown Source) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: ... 23 more [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: Caused by: java.lang.NullPointerException [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: ... 25 more [10:19:49] [main/ERROR] [FML/]: An error occurred trying to configure the minecraft home at C:\Users\InArjoli\AppData\Roaming\.minecraft for Forge Mod Loader java.lang.NoClassDefFoundError: net/minecraftforge/fml/relauncher/IFMLLoadingPlugin at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.7.0_79] at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.7.0_79] at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.7.0_79] at java.net.URLClassLoader.defineClass(Unknown Source) ~[?:1.7.0_79] at java.net.URLClassLoader.access$100(Unknown Source) ~[?:1.7.0_79] at java.net.URLClassLoader$1.run(Unknown Source) ~[?:1.7.0_79] at java.net.URLClassLoader$1.run(Unknown Source) ~[?:1.7.0_79] at java.security.AccessController.doPrivileged(Native Method) ~[?:1.7.0_79] at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.7.0_79] at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:117) ~[launchwrapper-1.11.jar:?] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.7.0_79] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.7.0_79] at java.lang.Class.forName0(Native Method) ~[?:1.7.0_79] at java.lang.Class.forName(Unknown Source) ~[?:1.7.0_79] at cpw.mods.fml.relauncher.CoreModManager.loadCoreMod(CoreModManager.java:417) ~[forge-1.7.10-10.13.4.1448-1.7.10.jar:?] at cpw.mods.fml.relauncher.CoreModManager.discoverCoreMods(CoreModManager.java:346) ~[forge-1.7.10-10.13.4.1448-1.7.10.jar:?] at cpw.mods.fml.relauncher.CoreModManager.handleLaunch(CoreModManager.java:214) ~[forge-1.7.10-10.13.4.1448-1.7.10.jar:?] at cpw.mods.fml.relauncher.FMLLaunchHandler.setupHome(FMLLaunchHandler.java:90) [forge-1.7.10-10.13.4.1448-1.7.10.jar:?] at cpw.mods.fml.relauncher.FMLLaunchHandler.setupClient(FMLLaunchHandler.java:67) [forge-1.7.10-10.13.4.1448-1.7.10.jar:?] at cpw.mods.fml.relauncher.FMLLaunchHandler.configureForClientLaunch(FMLLaunchHandler.java:34) [forge-1.7.10-10.13.4.1448-1.7.10.jar:?] at cpw.mods.fml.common.launcher.FMLTweaker.injectIntoClassLoader(FMLTweaker.java:126) [forge-1.7.10-10.13.4.1448-1.7.10.jar:?] at net.minecraft.launchwrapper.Launch.launch(Launch.java:115) [launchwrapper-1.11.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?] Caused by: java.lang.ClassNotFoundException: net.minecraftforge.fml.relauncher.IFMLLoadingPlugin at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.11.jar:?] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.7.0_79] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.7.0_79] ... 23 more Caused by: java.lang.NullPointerException at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.11.jar:?] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.7.0_79] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.7.0_79] ... 23 more [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: java.lang.NoClassDefFoundError: net/minecraftforge/fml/relauncher/IFMLLoadingPlugin [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.lang.ClassLoader.defineClass1(Native Method) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.lang.ClassLoader.defineClass(Unknown Source) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.security.SecureClassLoader.defineClass(Unknown Source) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.net.URLClassLoader.defineClass(Unknown Source) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.net.URLClassLoader.access$100(Unknown Source) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.net.URLClassLoader$1.run(Unknown Source) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.net.URLClassLoader$1.run(Unknown Source) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.security.AccessController.doPrivileged(Native Method) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.net.URLClassLoader.findClass(Unknown Source) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:117) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.lang.ClassLoader.loadClass(Unknown Source) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.lang.ClassLoader.loadClass(Unknown Source) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.lang.Class.forName0(Native Method) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.lang.Class.forName(Unknown Source) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at cpw.mods.fml.relauncher.CoreModManager.loadCoreMod(CoreModManager.java:417) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at cpw.mods.fml.relauncher.CoreModManager.discoverCoreMods(CoreModManager.java:346) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at cpw.mods.fml.relauncher.CoreModManager.handleLaunch(CoreModManager.java:214) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at cpw.mods.fml.relauncher.FMLLaunchHandler.setupHome(FMLLaunchHandler.java:90) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at cpw.mods.fml.relauncher.FMLLaunchHandler.setupClient(FMLLaunchHandler.java:67) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at cpw.mods.fml.relauncher.FMLLaunchHandler.configureForClientLaunch(FMLLaunchHandler.java:34) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at cpw.mods.fml.common.launcher.FMLTweaker.injectIntoClassLoader(FMLTweaker.java:126) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.launchwrapper.Launch.launch(Launch.java:115) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: Caused by: java.lang.ClassNotFoundException: net.minecraftforge.fml.relauncher.IFMLLoadingPlugin [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.lang.ClassLoader.loadClass(Unknown Source) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.lang.ClassLoader.loadClass(Unknown Source) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: ... 23 more [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: Caused by: java.lang.NullPointerException [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) [10:19:49] [main/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: ... 25 more
  21. Change the glowing code. Also if this doesn't work, is your model name the same as it was in Techne or whatever program you used to create that model. Did you create the lang folder? Did you add the blocks into the lang folder? Try removing the custom model. If none of these works then i am afraid i can't help you I am new myself to this.
  22. One of your items may be causing this. Could you upload your mainclass code and your item class code.
  23. No, i changed all the stuff you guys said and i am being a little surprised, because i am getting the exact same crash-report log. I am not really understanding what's going on. Even if the gui itself wasn't created yet, right-clicking that block shouldn't crash the game. But i did create the gui and when i tried to check out the texture that i did for it i saw this error coming out. I am getting a little hopeless on this, i'll probably just thing of another way to get the items i want to.
  24. Have you registered your item into the mod? Try registering it like this: GameRegistry.registerItem(nameofyouritem, youritem.getUnlocalizedName()); ==> that's for items GameRegistry.registerBlock(nameofyouritem, youritem.getUnlocalizedName()); ==> that's for blocks It may also be a problem that your mod files organize is bad. Try creating a main class file wich loads all of your mod classes. Also add a Strings class wich will be loaded in the main class. Add a class for block, for items ... and so on. This will help your mod a lot and also won't mess up the code.
  25. I am not really understanding what you want to do but if you want to get more than 1 piece of the item you created you do this: GameRegistry.addRecipe(new ItemStack(YourClass.YourItem, 1)); //this number here is the output But if you want your item to take part in the crafting recipe to create a new item then you do this: GameRegistry.addRecipe(new ItemStack(YourClass.YourItem, 1), new Object[]{"ABA","ABA","ABA", 'A', YourClass.YourItem, 'B', Items.Stick}); YourClass.YourItem is used to define the items that you created in the mod. While Items.Stick (Stick is an example) is used to define the minecraft items in the recipe. Hope it helped, but if this isn't what you wanted then i am sorry. I told you i didn't understand what you actually wanted.
×
×
  • Create New...

Important Information

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