Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

squirrel_killer

Members
  • Joined

  • Last visited

Everything posted by squirrel_killer

  1. So I want to add a cooking fire which can cook food but not ores, is there a way to check for this automatically or do I need to add a list manually?
  2. I am uncertain what is happening here as I have had recipes in the past, but they currently are causing the game to crash during initialization. I am not sure what is happening here, as I have declared recipes like this before and it has worked. I think I am in an overthinking it loop as I started working on this fairly late last night and have been working on it on and off every few hours since. Crash-log The class containing recipes: https://github.com/squirrelkiller/SK-Utils/blob/master/src/main/java/com/squirrelkiller/utilities/init/ModRecipes.java
  3. So I am am suffering from either a sever case of just stupid, or you use it if you don't use it. I am hoping the latter. I haven't touched Java in maybe 6 or so months, but last time I did was to create a simple minecraft mod to rebalance the game as I wanted. I am in the process of recreating and rebalancing said mod and just tidying it all up as I am planning on using it in a more modern pack and figured I would release to the public this time around. Now last time I did all this was in the early days of 1.8, so I assumed that the old way to add an item was mostly the same, and so I did this: package com.squirrelkiller.utilities.init; import com.squirrelkiller.utilities.Reference; import net.minecraft.client.Minecraft; import net.minecraft.client.renderer.block.model.ModelResourceLocation; import net.minecraft.item.Item; import net.minecraftforge.fml.common.registry.GameRegistry; public class ModItems { public static Item bedding; public static Item bed_frame; public static void init() { bedding = new Item().setUnlocalizedName("bedding"); bed_frame = new Item().setUnlocalizedName("bed_frame"); } public static void registerModItem() { GameRegistry.registerItem(bedding, bedding.getUnlocalizedName().substring(5)); GameRegistry.registerItem(bed_frame, bed_frame.getUnlocalizedName().substring(5)); } public static void registerRenders() { registerRender(bed_frame); registerRender(bedding); } public static void registerRender(Item item) { Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(item, 0, new ModelResourceLocation(Reference.MOD_ID + ":" + item.getUnlocalizedName().substring(5), "inventory")); } } Well this actually turns out to now be wrong, and it suggests that I use IForgeRegistry. Well it turns out I am just stupid as I am staring blankly at this basically drooling like an idiot trying to figure out how exactly to use this newer method. I am reading the Javadoc for it and I can tell it will make my life so much easier, but I think I am just over thinking it, can someone just show me how this works. I know this is stupid, but I feel like I am just stupid right now and forgetting how to java.
  4. I am having issues getting forge to run with Minecraft 1.5.2, I was recently rebuilding a modpack for a server I play on after I had some issues resulting in the loss of the minecraft instance that I required, so I downloaded the zip I had backed up and went through installing the mods, ran Minecraft to get a vanilla install, installed a pure forge install, as is my custom to ensure forge is working, before adding in the desired mods. Forge is failing to run properly after multiple attempts, I got a little frustrated and so I decided to try with a 1.6.2 version to play some Terrafirmacraft, Vanilla boots up fine, then pure forge fails to launch. I figured it might just be something weird going on last night, shut it down and tried again today, still having the same issue. Since I am more concerned about getting into my 1.5.2 server I want to see if I can fix that first, and I will assume that the issue is the same for both 1.5.2 as well as 1.6.2. I have attempted to use the forge installer on 1.6.2 and MultiMC in 1.5.2 to install forge, as well I had attempted installing it manually, as I had done many times before, and even decided to actually double check and follow the install directions on the site to the letter to make sure I was not making a mistake. I can not figure out the issue so I decided I would ask here. I have the log file below, I have ran Minecraft on this exact machine less than a week ago and have not changed any hardware nor software. It is saying I do not have internet when I do, so please tell me what the issue is and how I may rectify it if you are able. EDIT: A friend pointed out the mistake who knows more about making sense of crash logs than I do, had to install the Libs manually, can someone please fix this?

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.