Everything posted by an_awsome_person
-
Why is my mod not working after I try to update it to 1.8?
Nevermind. It works now.
-
AL lib: (EE) alc_cleanup: 1 device not closed
Thanks. It's registered now.
-
AL lib: (EE) alc_cleanup: 1 device not closed
This was slightly confusing. Can you please give an example or link me to a tutorial that's up-to-date?
-
AL lib: (EE) alc_cleanup: 1 device not closed
In my code right now, my item is being registered twice. Is it better to register all the items in one class, or is it better to register each item in its own class?
-
AL lib: (EE) alc_cleanup: 1 device not closed
What's an IForgeRegistryObject?
-
AL lib: (EE) alc_cleanup: 1 device not closed
From my best guess, it has something to do with registering items. I haven't been able to properly learn how to register an item in versions 1.8 and later. Can you please teach me? Also, if registerItem() is deprecated, what should I use instead?
-
AL lib: (EE) alc_cleanup: 1 device not closed
When I run my Minecraft mod, it runs fine for a few seconds, but then crashes before I get to the title screen. The console says, "AL lib: (EE) alc_cleanup: 1 device not closed". Forge crash report
-
Why is my mod not working after I try to update it to 1.8?
They're compiler errors, and that's all the information Eclipse gives me on compiler errors. That's what the tutorial had told me to do.
-
Why is my mod not working after I try to update it to 1.8?
Doesn't the original post have that information?
-
Why is my mod not working after I try to update it to 1.8?
In case you didn't know, most people ask for support when they don't know how to do something. Because you should be able to read the original post, you know that I don't know at least one thing. Please don't ask me to do something I don't know how to do, unless you attach instructions for how to do them.
-
Why is my mod not working after I try to update it to 1.8?
I also tried running gradlew.bat build, but my code still has compile errors.
-
Why is my mod not working after I try to update it to 1.8?
Are you sure you didn't mean gradlew.bat build? Because when I ran gradle.bat build, it said, "'gradle.bat' is not recognized as an internal or external command, operable program or batch file." I do, however, have a batch file called gradlew.bat.
-
Why is my mod not working after I try to update it to 1.8?
Is there a specific place where I have to open the command window?
-
Why is my mod not working after I try to update it to 1.8?
Running in Eclipse is fine. Building a jar you must use gradle. How do I use gradle? (sorry if I look like a noob because I mostly am)
-
Why is my mod not working after I try to update it to 1.8?
package items; import com.renewability.renewabilitymod.RenewabilityMod; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.Item; import net.minecraftforge.fml.common.registry.GameRegistry; public class ItemChainMail extends Item{ private final String name = "chain_mail"; public ItemChainMail(){ GameRegistry.registerItem(this, name); setUnlocalizedName(RenewabilityMod.MODID + "_" + name); setCreativeTab(CreativeTabs.MATERIALS); } public String getName(){ return(name); } } Eclipse compiles code automatically.
-
Why is my mod not working after I try to update it to 1.8?
Yes. Would you like for me to show you what's in the class ItemChainMail?
-
Why is my mod not working after I try to update it to 1.8?
I found this tutorial for updating mods and I tried following it exactly. http://www.wuppy29.com/minecraft/1-8-tutorial/updating-1-7-to-1-8-part-2-basic-items/#sthash.dfGTFGlk.PfQ8TRGI.dpbs When I compiled this code, it said that chainMail cannot be resolved to a variable, and that ModResourceLocation cannot be resolved to a type. if(event.getSide() == Side.CLIENT){ RenderItem renderItem = Minecraft.getMinecraft().getRenderItem(); renderItem.getItemModelMesher().register(chainMail, 0, new ModelResourceLocation(RenewabilityMod.MODID + ":" + ((ItemChainMail) chainMail).getName(), "inventory")); } Also, when I compiled this code, it said that EventHandler cannot be resolved to a type. public static Item chainMail; @EventHandler public static void items(){ chainMail = new ItemChainMail(); GameRegistry.registerItem(chainMail, "Chain Mail"); } What am I doing wrong?
-
Why am I only getting 0-5 FPS?
When I try to run my Forge project, I only get 0-5 FPS no matter what I do in the video settings. This used to be the case with regular Minecraft, but I fixed it by having Minecraft use 32-bit Java. I tried changing my entire computer to 32-bit, but it didn't seem to do anything.
-
Execution failed for task ':decompileMc'. > Java heap space
In case you didn't read the original post (which you probably should have), I AM using the 32-bit JVM. Do I have to change to 64-bit? I think using 64-bit on my computer makes Minecraft unable to launch.
-
Execution failed for task ':decompileMc'. > Java heap space
I couldn't find _JAVA_OPTIONS in the Environment Variables, so I made a new one and typed -Xmx2048M as its value. Then, I got a different error. Here's the log.
-
Execution failed for task ':decompileMc'. > Java heap space
You have a _JAVA_OPTIONS environment variable setting the maximum memory to 512 MB, delete it. Where do I go to delete it?
-
Execution failed for task ':decompileMc'. > Java heap space
I already Googled every error message I got, and doing everything that people told the internet to do, until I got back to an error message (Execution failed for task ':decompileMc'. > Java heap space) in which I already tried everything on the first page of results. I'm using 32-bit, Windows 10, JavaSetup8u91, and the Forge version for Minecraft Release 1.10 (not 1.10.2). I allocated 2 gigabytes of ram to Forge. Below is the stacktrace log from the last time I tried to install it. The EAQ said to use spoilers, but not hidden tags. Are they not the same thing?
IPS spam blocked by CleanTalk.