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.

leosavi25

Members
  • Joined

  • Last visited

Everything posted by leosavi25

  1. leosavi25 replied to leosavi25's topic in Modder Support
    src/main/java/com/leosavi25/mod/util/handlers
  2. leosavi25 replied to leosavi25's topic in Modder Support
    In RegistryHandler I register the Item and Block that are in the Block and Item list and in the Ore class, BlockBase class and in ItemBase class I add the Items and Blocks in the lists
  3. leosavi25 replied to leosavi25's topic in Modder Support
    ItemInit.ITEMS.add(new ItemBlock(this).setRegistryName(this.getRegistryName())); This line code is in the Ore class, it's right or I must extends in the Ore class the ItemBlock class?
  4. leosavi25 replied to leosavi25's topic in Modder Support
    When I put the copper ore in the furnace it doesn't smelt in copper ingot, but if I change with ItemInit.INGOT_COPPER, it smelt in ingot copper
  5. leosavi25 replied to leosavi25's topic in Modder Support
    I forgot it, but anyway it doesn't work.
  6. leosavi25 replied to leosavi25's topic in Modder Support
    Yes, the log is in the development environment. Here the code: https://github.com/leosavi25/Modding
  7. leosavi25 replied to leosavi25's topic in Modder Support
    Ok, I do it. Sorry, but I never used GitHub
  8. leosavi25 replied to leosavi25's topic in Modder Support
    Where I can found the fml-client-latest.log file?
  9. leosavi25 replied to leosavi25's topic in Modder Support
    I change the preInit method, BlockInit class and ItemInit class to this but it doen't work.
  10. leosavi25 replied to leosavi25's topic in Modder Support
    https://github.com/leosavi25/Modding
  11. leosavi25 replied to leosavi25's topic in Modder Support
    If i try to smelt the ore copper it doesn't give me the ingot copper. Yesterday I write this, I don't know if you read this, but I think that it could be helpful
  12. leosavi25 replied to leosavi25's topic in Modder Support
    I do it but it doesn't work
  13. leosavi25 replied to leosavi25's topic in Modder Support
    It doesn't work
  14. leosavi25 replied to leosavi25's topic in Modder Support
    Ok, I forgot to add BlockInit.preInit() and BlockInit.init() in the Main class, now the Item and the block there are, but the block doesn't smelting.
  15. leosavi25 replied to leosavi25's topic in Modder Support
    If I remove final when I try to enter in a world it says that ore_copper block and ore_copper item missing
  16. leosavi25 replied to leosavi25's topic in Modder Support
    public static final Block ORE_COPPER_BLOCK; You can't do this because it is a costant
  17. leosavi25 replied to leosavi25's topic in Modder Support
    I did this but when I try to enter in a world it says that ore copper block and ore copper item miss
  18. leosavi25 replied to leosavi25's topic in Modder Support
    Can you send me an example code please?
  19. leosavi25 replied to leosavi25's topic in Modder Support
    Ok, but I don't understand: I must create an init() method and initialize all Item there?
  20. leosavi25 replied to leosavi25's topic in Modder Support
    From here I undersatnd that a static initializer is "static{code}", right?
  21. leosavi25 replied to leosavi25's topic in Modder Support
    what mustn't be static? If BLOCKS or ORE_COPPER_BLOCK are not static it give me error in Ore class
  22. leosavi25 replied to leosavi25's topic in Modder Support
    I dont't think that this is the problem: if I change BlockInit.ORE_COPPER_BLOCK with ItemInit.COPPER_INGOT and I put the Copper Ingot in the furnace it works and if I change it with Blocks.DIRT and I put a dirt block in the furnace it works. It doesn't work with BlockInit.ORE_COPPER_BLOCK. I try also to create another block and it doesn't work too. Could it be the BlockInit class that have some problem?
  23. leosavi25 replied to leosavi25's topic in Modder Support
    I know the basic of java, like variable method classes subclasses superclasses...I know java only for hobby I don't understand what I have to do and I'm asking for it
  24. leosavi25 replied to leosavi25's topic in Modder Support
    ok but what I have to do exactly?

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.