1.10.2 functions don't work for blocks in 1.11. For items change GameRegistry.registerItem() to GameRegistry.register(). For blocks, here is a function to replace GameRegistry.registerBlock():
public static void registerBlock(Block block){
GameRegistry.register(block);
ItemBlock item = new ItemBlock(block);
item.setRegistryName(block.getRegistryName());
GameRegistry.register(item);
1
1.10.2 functions don't work for blocks in 1.11. For items change GameRegistry.registerItem() to GameRegistry.register(). For blocks, here is a function to replace GameRegistry.registerBlock():
public static void registerBlock(Block block){
GameRegistry.register(block);
ItemBlock item = new ItemBlock(block);
item.setRegistryName(block.getRegistryName());
GameRegistry.register(item);
}
1
I don't use mcreator anymore, i uninstalled it. I learned forge coding