Sadly, this is what I was doing. But I have no clue what to do when I'm not using a tutorial.
What do you mean by this?
If you are talking about the debug option next to the run option, neither of them work
The main question I'm asking is how can I learn to mod Minecraft?
I have fixed it. I forgot to add 'import net.minecraft.item.Items;' I can now add vanilla items. But I am not able to get cobblestone or any type of wood planks as repair materials.
Is it supposed to look like this?
@Override
public Ingredient getRepairMaterial() {
return Ingredient.fromItems(this.repairMaterial);
}
public void setRepairMaterial(Item repairMaterial) {
this.repairMaterial = repairMaterial;
I do not know how to do that. Is it ItemList.java or ToolMaterialList.java
I believed I needed to change something with 'ItemList.tutorial_item' from 'diamond(6.0f, 8.0f, 1561, 1, 10, ItemList.tutorial_item);'