Everything posted by leosavi25
-
Smelting
src/main/java/com/leosavi25/mod/util/handlers
-
Smelting
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
-
Smelting
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?
-
Smelting
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
-
Smelting
I forgot it, but anyway it doesn't work.
-
Smelting
Yes, the log is in the development environment. Here the code: https://github.com/leosavi25/Modding
-
Smelting
Ok, I do it. Sorry, but I never used GitHub
-
Smelting
- Smelting
Where I can found the fml-client-latest.log file?- Smelting
I change the preInit method, BlockInit class and ItemInit class to this but it doen't work.- Smelting
https://github.com/leosavi25/Modding- Smelting
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- Smelting
I do it but it doesn't work- Smelting
- Smelting
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.- Smelting
If I remove final when I try to enter in a world it says that ore_copper block and ore_copper item missing- Smelting
public static final Block ORE_COPPER_BLOCK; You can't do this because it is a costant- Smelting
I did this but when I try to enter in a world it says that ore copper block and ore copper item miss- Smelting
Can you send me an example code please?- Smelting
Ok, but I don't understand: I must create an init() method and initialize all Item there?- Smelting
From here I undersatnd that a static initializer is "static{code}", right?- Smelting
what mustn't be static? If BLOCKS or ORE_COPPER_BLOCK are not static it give me error in Ore class- Smelting
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?- Smelting
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- Smelting
ok but what I have to do exactly? - Smelting
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.