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.

mrkirby153

Members
  • Joined

  • Last visited

Everything posted by mrkirby153

  1. Actually, it only works in my eclipse workspace, why is this? EDIT: Also, my item textures do not work either
  2. So, the final product should look like public static ResourceLocation houseGen_Img = new ResourceLocation("mschouses", "gui/BlockBase.png"); (Because if it is, it doesnt work) EDIT: It works now.
  3. This is my drawGuiContainerBackgroundLayer method code @Override protected void drawGuiContainerBackgroundLayer(float par1, int par2, int par3) { //draw your Gui here, only thing you need to change is the path GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); FMLClientHandler.instance().getClient().renderEngine.func_110577_a(ResourceFile.houseGen_Img); int x = (width - xSize) / 2; int y = (height - ySize) / 2; this.drawTexturedModalRect(x, y, 0, 0, xSize, ySize); } ResourceFile.houseGen_Img = new ResourceLocation("MscHouses:BlockBase.png");
  4. Yes, you have to set the unlocalized name (Don't ask me why) for item names to work correctly.
  5. May I please see your Slender Chicken mod class?
  6. So, my GUI texture is not loading. My resource location is set to "MscHouses:BlockBase.png" and my GUI location is at "/assets/mschouses/textures/gui" When I click on the block, the GUI looks like a Pink and Black Checkerboard and the following error comes up in the console: Thanks for your help in advance
  7. Thank You! It's working now
  8. I did that. But, it still crashes
  9. It would be a bit easier to help if you had a screenshot of your package structure in Eclipse. In pahimar's workspace, he has linked resources. "Common" and "Resources". You need to link "Resources" to your workspace and make "Resources" a source folder. In the end, the folders should look like this: https://dl.dropboxusercontent.com/u/121954827/Folder_Structure.JPG[/img]
  10. Well, that worked. But, I get this now:
  11. Error log or it didn't happen
  12. Let me know if it didn't work!
  13. To fix the creative tab issue, have a look at this https://github.com/mrkirby153/MscHouses/blob/master/common/mrkirby153/MscHouses/creativeTab/CreativeTabHouse.java Note: You may need to localize the name of the tab with the following code LanguageRegistry.instance().addStringLocalization("itemGroup.INSERT TAB NAME HERE","TAB NAME"); Also, it looks like you are not adding any items to the creative tab. Try this: BronzeShovel = new ItemBronzeShovel(211, CyphSpaceMaterials.bronze).setUnlocalizedName("bronzeShovel").setCreativeTab(this.tabCyphSpace);
  14. The link is broken
  15. Like this? The Image is too big to embed
  16. Hello, So, today I wanted to update my mod to 1.6.2. However, places where GL11 is used did not work. I started minecraft and it crashed with this error I don't know what is wrong because LWJGL is in the Java Build path of my Minecraft Project. My Mod has "Minecraft" as a required project too. Here's the .classpath for my "Msc Houses" project http://pastebin.com/VUWn876S .project http://pastebin.com/Yeqwf6rq Minecraft .classpath http://pastebin.com/JqBFenC0 .prjoject http://pastebin.com/JJM2jHCZ
  17. I've tried both unlocalized names and neither worked.
  18. As Jacknoshima said, you need to run two files "recompile.bat/recompile.sh" and "reobfuscate.bat/reobfuscate.sh"
  19. Hello, Is there a tutorial out there on how to localize your mod? If not, can you maybe walk me through the steps I need to take. Thanks
  20. That didn't really work. If I pass in getUnlocalozedName(), it prints out tile.blockDiamond. if i was to pass Block.diamond into it. If I pass getUnlocalozedName2(), it prints out blockDiamond. I want it to print out "Diamond Block". How do i do that?
  21. So, for the "whatever" do I just pass in an unlocalized name given through block.getUnlocalizedName()?
  22. What folder are you actually zipping up?
  23. Actually, I sort of need to get the block name from a different mod. See, I am writing an API for my mod and sort of need to get the localized block name that the mod author sets for display on my item.

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.