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.

Womas

Members
  • Joined

  • Last visited

  1. I created a class called ModBlocks for my blocks. There are two blocks, arock and brock. As you can see I created a method called registerBlocks() to register my blocks and also their ItemBlocks. And finally, use the register() method to register all of them in my main class. But the following exception occurs: package Sixs.FirstMod.blocks; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.item.ItemBlock; import net.minecraftforge.fml.common.registry.GameRegistry; public class ModBlocks { public static Block arock = new Block(Material.rock).setUnlocalizedName("arock").setRegistryName("arock"); public static Block brock = new Block(Material.rock).setUnlocalizedName("brock").setRegistryName("brock"); public static void init() { } public static void register() { registerBlocks(arock,brock); } public static void registerBlocks(Block... blocks) { for (Block block1 : blocks) { GameRegistry.registerBlock(block1); ItemBlock itemBlock = new ItemBlock(block1); itemBlock.setRegistryName(block1.getRegistryName()); GameRegistry.registerItem(itemBlock); } } } It says that I use the name fm:arock to register ItemBlocks twice, but I don't know how. The ItemBlocks's registry names are the same from their corresponding blocks. Help will be appreciated.
  2. Alright guys. I finally got it to work. I changed the optifine version and it worked out! Thx for your help and patients!
  3. while it failed again, but I feel like this time is better Btw I'm using the --all jar and Optifine 1.8.8_HD_U_H8 version. Got them in the mod folder
  4. So I need to put my tweaker with the decompiled Optifine jar by using simpledeobf in the run/mod folder?
  5. I have my optifine installed only in the playable forge launcher but not the development environment. But I have the other source and normal tweaker jar in the build lib.
  6. @Cadiboo I tried the --all version. And this is what I got,
  7. what do you mean by --all version?
  8. i build it with .\gradlew jar command
  9. It doesn't work
  10. one question, where can i get the optifinedevtweaker jar file?
  11. So I am trying to adding the optifine mod to my development environment but I struggled on it. I tried different methods but it doesn't work. I'm trying to add the optifine by using optifine src. And also, I'm using intellij. Helps please.

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.