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.

Castr0

Members
  • Joined

  • Last visited

  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...

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.