public static Tomato tomato_plant = new Tomato("tomato_plant");
public static Strawberry strawberry_plant = new Strawberry("strawberry_plant");
public static ChocolateCake chocolate_cake = new ChocolateCake("chocolate_cake", 14, 2.8F);
public static OreoCake oreo_cake = new OreoCake("oreo_cake", 14, 2.8F);
public static CheeseCake cheese_cake = new CheeseCake("cheese_cake", 14, 2.8F);
public static NetherCake nether_cake = new NetherCake("nether_cake", 14, 2.8F);
public static StrawberryCake strawberry_cake = new StrawberryCake("strawberry_cake", 14, 2.8F);
public static Pizza pizza = new Pizza("pizza", 14, 2.8F);
If i use "//" in Tomato for example in the below thing i have the same error. Help me please, if you need something more tell me
And i have a issue whit the register of blocks. See, the error is in the image. But when i remove one the other have that error too. Pls i need urgent help
I have that error in this code:
public static Tomato tomato_plant = new Tomato("tomato_plant");
public static Strawberry strawberry_plant = new Strawberry("strawberry_plant");
public static ChocolateCake chocolate_cake = new ChocolateCake("chocolate_cake", 14, 2.8F);
public static OreoCake oreo_cake = new OreoCake("oreo_cake", 14, 2.8F);
public static CheeseCake cheese_cake = new CheeseCake("cheese_cake", 14, 2.8F);
public static NetherCake nether_cake = new NetherCake("nether_cake", 14, 2.8F);
public static StrawberryCake strawberry_cake = new StrawberryCake("strawberry_cake", 14, 2.8F);
public static Pizza pizza = new Pizza("pizza", 14, 2.8F);
If i use "//" in Tomato for example in the below thing i have the same error. Help me please, if you need something more tell me
And i have a issue whit the register of blocks. See, the error is in the image. But when i remove one the other have that error too. Pls i need urgent help
Minecraft Version: 1.12.1
", sans-serif">A new developer has appear", sans-serif">.... That was me
1. Show your BlockListxlfoodmod class.
2. What is the error?
3. This is not the proper way to register blocks. Blocks are registered during the RegistryEvent.Register<Block> event.