Jump to content

ROBOCOP

Members
  • Posts

    2
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

ROBOCOP's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Sorry but I have little to understand, can explained to me in detail? I have only so mod_test all files have been, I do not want to prescribe to the standard files, and all of its own.
  2. Hi, I'm doing fashion to food, I decided to go to the Forge for the textures. Here is my mod_test package net.minecraft.src; import net.minecraft.src.forge.*; public class mod_test extends BaseMod implements ITextureProvider { public static final Item foodtest = new ItemFood(6000, 1, false).setIconIndex(10).setItemName("foodtest "); public String getVersion() { return "Test"; } public String getTextureFile() { return "/textures/new_items.png"; } public void load() { { MinecraftForgeClient.preloadTexture("/textures/new_items.png"); } ModLoader.addName(foodtest , "New Food"); ModLoader.addRecipe(new ItemStack(foodtest , 1), new Object[]{ "X", Character.valueOf('X'), Block.dirt}); foodtest .iconIndex = ModLoader.addOverride("/gui/items.png", "/textures/new_items.png"); } } When only the data registered in the mod_test Forge texture does not work. And when adding in the ItemFood it works. import net.minecraft.src.forge.*; public class ItemFood extends Item implements ITextureProvider public String getTextureFile() { return "/textures/new_items.png"; } But I do not want to do that, I do not want to add there is, can we do differently as a fact, that it worked?
×
×
  • Create New...

Important Information

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