
mrkirby153
Members-
Posts
186 -
Joined
-
Last visited
Everything posted by mrkirby153
-
[1.6.2] [SOLVED] Gui textures are not working
mrkirby153 replied to mrkirby153's topic in Modder Support
Actually, it only works in my eclipse workspace, why is this? EDIT: Also, my item textures do not work either -
[1.6.2] [SOLVED] Gui textures are not working
mrkirby153 replied to mrkirby153's topic in Modder Support
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. -
[1.6.2] [SOLVED] Gui textures are not working
mrkirby153 replied to mrkirby153's topic in Modder Support
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"); -
Yes, you have to set the unlocalized name (Don't ask me why) for item names to work correctly.
-
[still unsolved]where to place texture
mrkirby153 replied to buster_the_dog's topic in Modder Support
May I please see your Slender Chicken mod class? -
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
-
[1.6.2] [SOLVED] No LWJGL in java.library.path
mrkirby153 replied to mrkirby153's topic in Modder Support
Thank You! It's working now -
[1.6.2] [SOLVED] No LWJGL in java.library.path
mrkirby153 replied to mrkirby153's topic in Modder Support
I did that. But, it still crashes -
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]
-
[1.6.2] [SOLVED] No LWJGL in java.library.path
mrkirby153 replied to mrkirby153's topic in Modder Support
Well, that worked. But, I get this now: -
Error log or it didn't happen
-
Let me know if it didn't work!
-
[1.6.2] [SOLVED] No LWJGL in java.library.path
mrkirby153 replied to mrkirby153's topic in Modder Support
How would I do that? -
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);
-
The link is broken
-
[1.6.2] [SOLVED] No LWJGL in java.library.path
mrkirby153 replied to mrkirby153's topic in Modder Support
Well, that didn't work -
[1.6.2] [SOLVED] No LWJGL in java.library.path
mrkirby153 replied to mrkirby153's topic in Modder Support
Like this? The Image is too big to embed -
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
-
I've tried both unlocalized names and neither worked.
-
As Jacknoshima said, you need to run two files "recompile.bat/recompile.sh" and "reobfuscate.bat/reobfuscate.sh"
-
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
-
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?
-
So, for the "whatever" do I just pass in an unlocalized name given through block.getUnlocalizedName()?
-
What folder are you actually zipping up?
-
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.