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.

coolboy4531

Members
  • Joined

  • Last visited

Everything posted by coolboy4531

  1. coolboy4531 replied to slugslug's topic in Modder Support
    This isn't about Forge, I don't think. Why not trying using the GitHub tutorials?
  2. There is another post going on about the exact same question. If you don't want to bother looking at it - you should use GuiOpenEvent. Check if the event's GUI is an instance of GuiMainMenu, cancel it - and override it with your own version of the main-menu.
  3. e.gui is null. You need to check if (e.gui) is an instance of (the gui you want)
  4. Have you ever wondered (on the top of the class) that there are fields?
  5. Lel. Dat exaggeration. Here's one: http://www.minecraftforge.net/forum/index.php?topic=17688.0
  6. If you search on Google, you will see that this question has been asked 9000+ times on the Forge (Modder Support) forums already.
  7. Try looking at EntitySnowball, on how it does damage to mobs (especially to Blazes)
  8. ffdsaklfj. How do you not understand what he's trying to tell you to do? You are suppose to "register" your items BEFORE you call your addSmelting() method, or the game will not recognize the items because they are even created yet!
  9. You've accidentally added some breakpoints to Eclipse. Try removing them. How to remove (disable) ALL breakpoints from Eclipse: Look for Run. Click on: > Remove all Breakpoints --- You can also press Skip all Breakpoints --- How to remove SOME breakpoints from Eclipse: Look for Window. Hover over Show View. Click on Other... Open the Folder named "Debug" Click on Breakpoints. Uncheck the breakpoints OR right-click and delete them.
  10. By coremod, he most likely means to use ASM. If you are unfamiliar to ASM, I suggest you not to try it. More Info: http://asm.ow2.org/
  11. Try using GuiOpenEvent and cancel the gui for the main menu (GuiMainMenu), override it with your own main menu gui.
  12. Can we see the log when Forge (Minecraft) runs? Then we can see what error springs up when it tries to load your texture.
  13. @Recipes I replied to it in another post, wasn't sure if it was yours, or someone elses but you'll find it on the Modder Support Forum (this forum)
  14. Hmm. We need to see your code since we don't know what is really happening.
  15. No no no. Don't do that. You can get the list of the recipes, and remove them. First what you need to do is get the list of <IRecipe> which is CraftingManager's instance of .getRecipeList(). Do a loop, for the size of the recipe list, and get the recipe during each loop. Do an (if) statement to check if its an instance of ShapedRecipes/ShapelessRecipes. Check if the itemstack is the same as the recipe's output, and if they are, remove them.
  16. You could save a data value (seperately) in LivingUpdateEvent, then if the data value is correct you can use the overlay event.
  17. You could use that code or... player.setPositionAndUpdate(//fields) You can get a random value (Random.class), and place it in the fields for teleportation like an enderman.
  18. What do you mean by calling it? You can put that in your main class and use that Enum for registration.
  19. You are suppose to use: BlockEvent.BreakEvent First of all, learn basic Java - first. "event" is the event not the block/thing you are breaking. You need to get the [block] you are breaking, and add an achievement if its breaks.
  20. event.toString().contains("CopperOre") You're kidding right.
  21. You can extend ItemSword, even if you want to use your own enum. Forge has there own ToolMaterial Enum handler for tools. Example: static ToolMaterial NAME = EnumHelper.addToolMaterial("NAME", int par1, int par2, float par3, float par4, int par5); par1- Harvest Level par2- Max Uses par3- Efficiency on Proper Material par4- Damage VS Entity par5- Enchantability
  22. Caused by: java.lang.IllegalArgumentException: Duplicate enchantment id! at net.minecraft.enchantment.Enchantment.<init>(Enchantment.java:113) at mods.XW.tools.EnchantmentweaponForge.<init>(EnchantmentweaponForge.java:12) at mods.XW.tools.XWTools.<clinit>(XWTools.java:56) That is the error. One of your mods or (a mod) has compatibility issues with enchantment ids. It's happening wiht the XWTools mod.
  23. Give us the class for the Item that causes the crash.

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.