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.

Alexiy

Forge Modder
  • Joined

  • Last visited

Everything posted by Alexiy

  1. I'd like to have a method which would tell if some block has a GUI associated with. It would be very helpful for my mod.
  2. I don't want to open Eclipse now to answer your question, but yes there is. Search for "trace" or "raytrace".
  3. I guess you are setting slot index same as the helmet slot index. Try setting a negative number.
  4. Does manual import work?
  5. Mate, you should save your money - there are some open source mods that use ASM, e.g. Treecapitator, some of the AtomicStryker's mods. You also can search in GitHub. Would you tell what do you want to change?
  6. You aren't allowed to use "x","y","z" entries. They are used for storing tile entity coordinates.
  7. This is handled by Ipickupnotifier. One has to implement its only method which is called when an item gets into inventory. When done, register new instance of the class - GameRegistry.registerPickupHandler(new Blabla()).
  8. Have you ran decompile.bat?
  9. The way I made a delay: Item has a method onUpdate() which is called while the item is in da hotbar. I declared a global integer "timeElapsed". Then I wrote timeElapsed++ in the onUpdate() so it increases until a certain value reaches. Once the value is reached, the gun can shoot again, then timeElapsed is reset.
  10. Don't use Magic launcher. Its magic isn't strong enough : )
  11. I made separate projects for my mods. But I can't make recompile them.
  12. You can look onto Tinkers Construct source. It adds tabs in player inventory with additional slots without intervention.
  13. I don't think that anything you mentioned is possible without bytecode modifications.
  14. Isn't there a way to prevent recompile script from touching stuff that is excluded from build path in Eclipse? Also, can I make packages related to one mod to be in one folder? Can I make folders with textures appear in "reobf"?
  15. Eclipse doesn't complain about anything, but recompile.bat gives: == MCP 7.44 (data: 7.44, client: 1.5.1, server: 1.5.1) == # found ff, ff patches, srgs, name csvs, doc csvs, param csvs, renumber csv, ast yle, astyle config == Recompiling client == > Cleaning bin > Recompiling '"C:\Program Files\Java\jdk1.6.0_25\bin\javac" -encoding UTF-8 -Xlint:-options - deprecation -g -sourc...' failed : 1 == ERRORS FOUND == src\minecraft\notEnoghKnowledge\mod_NotEnoghKnowledge.java:86: inconvertible typ es found : java.lang.Object required: boolean boolean in=(boolean) isPointInRe gion.invoke(containerGui,slot.xDisplayPosition,slot.yDisplayPosition,16,16,mouse X,mouseY); ^ src\minecraft\notEnoghKnowledge\mod_NotEnoghKnowledge.java:121: type parameters of <T>T cannot be determined; no unique maximal instance exists for type variabl e T with upper bounds int,java.lang.Object int damage=ModLoader.get PrivateValue(ItemSword.class, sword, 0); ^ src\minecraft\notEnoghKnowledge\mod_NotEnoghKnowledge.java:157: type parameters of <T>T cannot be determined; no unique maximal instance exists for type variabl e T with upper bounds boolean,java.lang.Object boolean alwaysEdible=Mod Loader.getPrivateValue(ItemFood.class, food, 4); ^ 3 errors 15 warnings ================== !! Can not find server sources, try decompiling !! Press any key to continue . . .
  16. Where can I look at it?
  17. Kind of inappropriate place to place playthrough.

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.