Everything posted by thepowdertoy
-
A lot of error(minecraftforge-src-1.4.5-6.4.1.416 fresh .minecraft folder(1.4.5)
After following the standard decompiling procedure with forge, after seeing minecraft source at eclipse, I saw a lot of errors about no annotation, missing class files and nearly everything in the client folder got errors. I don't really sure if this a bug or not.
-
(Resolved) How to create configuration file with latest forge
Problem solved, locking this thread
-
(Resolved) How to create configuration file with latest forge
The config.getOrCreateProperty was deprecated, then how can I create config file with latest version of forge? Because the wiki doesn't help at all http://www.minecraftforge.net/wiki/How_to_make_an_advanced_configuration_file I think it is outdated a lot
-
(RESOLVED) Forge decompile problem (minecraftforge-src-6.0.1.332.zip)
Now I know what the problem is! Thanks Locking this thread now
-
(RESOLVED) Forge decompile problem (minecraftforge-src-6.0.1.332.zip)
Problem: Forge is treating the vanilla jar and server jar as modded Forge version: minecraftforge-src-6.0.1.332.zip Steps to ensure that the minecraft is really not modded: 1. %appdata% and delete the .minecraft folder 2.Run minecraft 3.Wait until it finished download 4.Download minecraft_server.jar from minecraft.net 5.Download fresh MCP72 6.Extract forge folder inside the zip into the MCP folder 7.Copy .minecraft bin folder into the MCP72 jar folder 8.Copy minecraft_server.jar into the MCP72 jar folder 9.Open forge folder and run install.cmd And after all that, this is the error:
-
Cannot decompile (could not find server jar) minecraftforge-src 4.1.1.265
Case closed The thing that make error is I put the server jar in the jar/bin, not in the bin folder
-
Cannot decompile (could not find server jar) minecraftforge-src 4.1.1.265
Even if I already delete my .minecraft folder, redownloading it and copying the entire .minecraft bin folder into jar folder inside the MCP72 folder, it still spew out this error: Should I download the server.jar from minecraft.net?
-
[1.3.2] getTextureFile() help for replacement of ITextureProvider
now its included in Item.java or Block.java. the only problem, is your using 'return "/mods/item.png";' your returning only the ingot. you need a terrain like 'terrain.png' in minecraft.jar, and then add the item overthere. look up the iconIndex (start counting from zero to 256) untill you hit the item, and the number is your iconIndex. I hope I helped you terrain like terrain.png............. Do you mean this: or this: ? And I already try this too: but the ingot is invisible, and I'm using iconIndex 102, which is the place of the ingot
-
[1.3.2] getTextureFile() help for replacement of ITextureProvider
4.0.0.200
-
[1.3.2] getTextureFile() help for replacement of ITextureProvider
build #400
-
[1.3.2] getTextureFile() help for replacement of ITextureProvider
Here is my sprite sheet: And I'm using the current version of Forge, which is Forge 4.0.0 Minecraft 1.3.2 And how do you set up the index?
-
[1.3.2] getTextureFile() help for replacement of ITextureProvider
I'm still a noob coder, and currently I'm following this guide for adding infinite terrain and item indexes: http://www.minecraftforge.net/wiki/How_to_use_infinite_terrain_and_sprite_indexes but it uses the ITextureProvider, which in the current Forge version doesn't exist. So, after searching in the forum, nearly everything say use this to replace ITextureProvider: public String getTextureFile(){ return "[Terrain File]"; } but I don't know where to put the code. Here is my mod_tutorial: package net.minecraft.src; import net.minecraftforge.client.MinecraftForgeClient; public class mod_tutorial extends BaseMod { public static Item TutorialIngot; public static final Block TutorialBlock ; static { TutorialBlock = (new BlockTutorialBlock(255, ModLoader.addOverride("/terrain.png", "/mods/tes1.png"))).setHardness(3F).setResistance(5F).setStepSound(Block.soundWoodFootstep).setBlockName("First Block"); TutorialIngot = (new Item(1000)).setIconIndex(0).setItemName("TutorialIngot"). } public void load() { } public mod_tutorial() { MinecraftForgeClient.preloadTexture("/mods/items.png"); ModLoader.addName(TutorialIngot, "Tutorial Ingot"); ModLoader.registerBlock(TutorialBlock); ModLoader.addName(TutorialBlock, "Tutorial Block Ore"); ModLoader.addSmelting(Block.planks.blockID, new ItemStack(TutorialBlock ,1)); ModLoader.addSmelting(TutorialBlock.blockID, new ItemStack(TutorialIngot ,1)); } public String getVersion() { return "1.0.0"; } } And here is my TutorialIngot: package net.minecraft.src; public class TutorialIngot extends Item { public TutorialIngot(int i) { super(i); } public String getTextureFile(){ return "/mods/item.png"; } } But when I run Minecraft, what should the tutorial ingot look like an ingot, it instead look like a leather helmet. Here is the picture:
IPS spam blocked by CleanTalk.