Jump to content

leosavi25

Members
  • Posts

    33
  • Joined

  • Last visited

Everything posted by leosavi25

  1. src/main/java/com/leosavi25/mod/util/handlers
  2. 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. 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. 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. I forgot it, but anyway it doesn't work.
  6. Yes, the log is in the development environment. Here the code: https://github.com/leosavi25/Modding
  7. Ok, I do it. Sorry, but I never used GitHub
  8. Where I can found the fml-client-latest.log file?
  9. I change the preInit method, BlockInit class and ItemInit class to this but it doen't work.
  10. https://github.com/leosavi25/Modding
  11. 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. I do it but it doesn't work
  13. It doesn't work
  14. 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. If I remove final when I try to enter in a world it says that ore_copper block and ore_copper item missing
  16. public static final Block ORE_COPPER_BLOCK; You can't do this because it is a costant
  17. I did this but when I try to enter in a world it says that ore copper block and ore copper item miss
  18. Can you send me an example code please?
  19. Ok, but I don't understand: I must create an init() method and initialize all Item there?
  20. From here I undersatnd that a static initializer is "static{code}", right?
  21. what mustn't be static? If BLOCKS or ORE_COPPER_BLOCK are not static it give me error in Ore class
  22. 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. 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. ok but what I have to do exactly?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.