Jump to content

Castr0

Members
  • Posts

    8
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Castr0's Achievements

Tree Puncher

Tree Puncher (2/8)

-2

Reputation

  1. How I create a Language File, like IC² does? Have any tutorial about that? (I want to create a file in config folder, but a language file, not a config)
  2. Ok, but can U help me? a moderator can change the fórum please?
  3. My problem is: I'm trying to make a new glass, but this isn't transparent! With ML, it works, but with Forge, no... Images: Original Texture: http://moddingbr.com/forum/uploads/imgs/small_moddingbr_1358027006__vidroamarelo.png[/img] In-game texture: http://moddingbr.com/forum/uploads/imgs/small_moddingbr_1358026926__2013-01-12_194000.png[/img] Codes: MainClass: package mod.teste.mods; import net.minecraft.block.Block; import net.minecraft.block.BlockPane; import net.minecraft.block.material.Material; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.src.BaseMod; import net.minecraft.src.ModLoader; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.Init; import cpw.mods.fml.common.Mod.PostInit; import cpw.mods.fml.common.Mod.PreInit; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLPostInitializationEvent; import cpw.mods.fml.common.event.FMLPreInitializationEvent; import cpw.mods.fml.common.network.NetworkMod; import cpw.mods.fml.common.registry.GameRegistry; import cpw.mods.fml.common.registry.LanguageRegistry; @Mod(modid = "Decorative Blocks", name = "Decorative Blocks", version = "3.0") @NetworkMod(clientSideRequired = true, serverSideRequired = false) public class MainClass extends BaseMod { public static Block vidroamarelo; @PreInit public void load(FMLPreInitializationEvent event) { } @Init public void load(FMLInitializationEvent event) { vidroamarelo = new BlockVidros(220, 0, Material.glass, true).setBlockName("Blocotut").setCreativeTab(CreativeTabs.tabBlock); GameRegistry.registerBlock(vidroamarelo); LanguageRegistry.addName(vidroamarelo, "Vidro Amarelo"); } @PostInit public void load(FMLPostInitializationEvent event) { } @Override public String getVersion() { // TODO Auto-generated method stub return null; } @Override public void load() { // TODO Auto-generated method stub } } BlockVidros: package mod.teste.mods; import java.util.Random; import net.minecraft.block.Block; import net.minecraft.block.BlockGlass; import net.minecraft.block.material.Material; import net.minecraft.creativetab.CreativeTabs; public class BlockVidros extends Block { public BlockVidros(int par1, int par2, Material par3Material, boolean par4) { super(par1, par2, par3Material); this.setCreativeTab(CreativeTabs.tabBlock); } public String getTextureFile() { return "/vidroscoloridos/vidroamarelo.png"; } /** * Returns the quantity of items to drop on block destruction. */ public int quantityDropped(Random par1Random) { return 1; } /** * Returns which pass should this block be rendered on. 0 for solids and 1 for alpha /** * Is this block (a) opaque and (b) a full 1m cube? This determines whether or not to render the shared face of two * adjacent blocks and also whether the player can attach torches, redstone wire, etc to this block. */ public boolean isOpaqueCube() { return false; } }
  4. Sorry! I had not installed the .Class files but src files! Now I tested it and it worked ... Thanks Lex for making a mod amazing how the Forge: D And Eloraam, how much time for the 1.4.5? kk Sorry bad english
  5. Sorry, My mod isn't retarded... I have no crash... just doesn't work... And again I ask... is Forge compatible/works with MCP 7.22/23?
  6. Sorry, but I can't find why the Forge don't load my ML mod... I think that Forge can be compatible with ML again... It was so much better... And ModLoader Modding is so much easier..
  7. Hi everybody! First of all, thanks for creating a fantastic Mod... Well, my problem is: I'm creating a mod, called More Ores N' Foods... My src is with ModLoader, that should work with Forge. But, when I start the game, no crashs, no logs... Just doesn't exists... All of the blocks, items, foods, materials, doesn't show's in Creative Menu... Can U help me? (Oh, and I tried to make a mod with Forge src, but doesn't working with MCP 7.23...) Sorry bad English...
×
×
  • Create New...

Important Information

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