-
Posts
49 -
Joined
-
Last visited
Everything posted by an_awsome_person
-
AL lib: (EE) alc_cleanup: 1 device not closed
an_awsome_person replied to an_awsome_person's topic in Modder Support
Thanks. It's registered now. -
AL lib: (EE) alc_cleanup: 1 device not closed
an_awsome_person replied to an_awsome_person's topic in Modder Support
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
an_awsome_person replied to an_awsome_person's topic in Modder Support
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
an_awsome_person replied to an_awsome_person's topic in Modder Support
What's an IForgeRegistryObject? -
AL lib: (EE) alc_cleanup: 1 device not closed
an_awsome_person replied to an_awsome_person's topic in Modder Support
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? -
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
-
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.
-
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.
-
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?
-
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.
-
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?