I've tried everything

Submitted by GalaxyNuke on Sat, 03/17/2018 - 02:23
Issue description

C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_insideBackpack.java:49: error: <identifier> expected
public static IInventory ;
                        ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_insideBackpack.java:50: error: <identifier> expected
public static IInventory ;
                        ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_insideBackpack.java:51: error: <identifier> expected
public static IInventory ;
                        ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_insideBackpack.java:52: error: <identifier> expected
public static IInventory ;
                        ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_insideBackpack.java:53: error: <identifier> expected
public static IInventory ;
                        ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_insideBackpack.java:71: error: illegal start of expression
             = new InventoryBasic("", true, 9);
             ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_insideBackpack.java:72: error: illegal start of expression
 = new InventoryBasic("", true, 18);
 ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_insideBackpack.java:73: error: illegal start of expression
 = new InventoryBasic("", true, 9);
 ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_insideBackpack.java:74: error: illegal start of expression
 = new InventoryBasic("", true, 9);
 ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_insideBackpack.java:75: error: illegal start of expression
 = new InventoryBasic("", true, 21);
 ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_insideBackpack.java:76: error: illegal start of expression
this.addSlotToContainer(new Slot(, 8, 5, 5){
                                 ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_insideBackpack.java:88: error: illegal start of expression
this.addSlotToContainer(new Slot(, 9, 26, 5){
                                 ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_insideBackpack.java:100: error: illegal start of expression
this.addSlotToContainer(new Slot(, 10, 45, 5){
                                 ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_insideBackpack.java:112: error: illegal start of expression
this.addSlotToContainer(new Slot(, 11, 5, 25){
                                 ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_insideBackpack.java:124: error: illegal start of expression
this.addSlotToContainer(new Slot(, 12, 65, 5){
                                 ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_insideBackpack.java:136: error: illegal start of expression
this.addSlotToContainer(new Slot(, 16, 145, 5){
                                 ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_insideBackpack.java:148: error: illegal start of expression
this.addSlotToContainer(new Slot(, 17, 145, 66){
                                 ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_insideBackpack.java:160: error: illegal start of expression
this.addSlotToContainer(new Slot(, 18, 166, 5){
                                 ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_insideBackpack.java:172: error: illegal start of expression
this.addSlotToContainer(new Slot(, 19, 26, 25){
                                 ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_insideBackpack.java:184: error: illegal start of expression
this.addSlotToContainer(new Slot(, 20, 165, 46){
                                 ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_insideBackpack.java:196: error: illegal start of expression
this.addSlotToContainer(new Slot(, 21, 165, 66){
                                 ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_insideBackpack.java:208: error: illegal start of expression
this.addSlotToContainer(new Slot(, 22, 125, 46){
                                 ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_insideBackpack.java:220: error: illegal start of expression
this.addSlotToContainer(new Slot(, 23, 125, 66){
                                 ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_insideBackpack.java:232: error: illegal start of expression
this.addSlotToContainer(new Slot(, 24, 124, 25){
                                 ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_insideBackpack.java:244: error: illegal start of expression
this.addSlotToContainer(new Slot(, 26, 166, 25){
                                 ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_insideBackpack.java:256: error: illegal start of expression
this.addSlotToContainer(new Slot(, 27, 85, 25){
                                 ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_insideBackpack.java:268: error: illegal start of expression
this.addSlotToContainer(new Slot(, 28, 45, 25){
                                 ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_insideBackpack.java:280: error: illegal start of expression
this.addSlotToContainer(new Slot(, 29, 45, 46){
                                 ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_insideBackpack.java:292: error: illegal start of expression
this.addSlotToContainer(new Slot(, 30, 45, 66){
                                 ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_insideBackpack.java:304: error: illegal start of expression
this.addSlotToContainer(new Slot(, 31, 85, 46){
                                 ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_insideBackpack.java:316: error: illegal start of expression
this.addSlotToContainer(new Slot(, 32, 85, 66){
                                 ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_insideBackpack.java:328: error: illegal start of expression
this.addSlotToContainer(new Slot(, 33, 105, 46){
                                 ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_insideBackpack.java:340: error: illegal start of expression
this.addSlotToContainer(new Slot(, 34, 105, 66){
                                 ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_insideBackpack.java:352: error: illegal start of expression
this.addSlotToContainer(new Slot(, 35, 5, 46){
                                 ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_insideBackpack.java:364: error: illegal start of expression
this.addSlotToContainer(new Slot(, 36, 5, 66){
                                 ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_insideBackpack.java:376: error: illegal start of expression
this.addSlotToContainer(new Slot(, 37, 26, 46){
                                 ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_insideBackpack.java:388: error: illegal start of expression
this.addSlotToContainer(new Slot(, 38, 26, 66){
                                 ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_insideBackpack.java:400: error: illegal start of expression
this.addSlotToContainer(new Slot(, 39, 65, 25){
                                 ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_insideBackpack.java:412: error: illegal start of expression
this.addSlotToContainer(new Slot(, 40, 65, 46){
                                 ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_insideBackpack.java:424: error: illegal start of expression
this.addSlotToContainer(new Slot(, 41, 65, 66){
                                 ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_insideBackpack.java:436: error: illegal start of expression
this.addSlotToContainer(new Slot(, 42, 145, 46){
                                 ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_insideBackpack.java:448: error: illegal start of expression
this.addSlotToContainer(new Slot(, 43, 105, 25){
                                 ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_insideBackpack.java:460: error: illegal start of expression
this.addSlotToContainer(new Slot(, 44, 145, 25){
                                 ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_insideBackpack.java:472: error: illegal start of expression
this.addSlotToContainer(new Slot(, 46, 106, 5){
                                 ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_insideBackpack.java:484: error: illegal start of expression
this.addSlotToContainer(new Slot(, 47, 85, 5){
                                 ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_insideBackpack.java:496: error: illegal start of expression
this.addSlotToContainer(new Slot(, 48, 126, 5){
                                 ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_insideBackpack.java:575: error: illegal start of expression
InventoryHelper.dropInventoryItems(world2, new BlockPos(i,j,k), );
                                                                ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_insideBackpack.java:578: error: illegal start of expression
InventoryHelper.dropInventoryItems(world2, new BlockPos(i,j,k), );
                                                                ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_insideBackpack.java:581: error: illegal start of expression
InventoryHelper.dropInventoryItems(world2, new BlockPos(i,j,k), );
                                                                ^
49 errors

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
 

Attachment Size
The mod im working on19.31 KB 19.31 KB

Issue comments

Submitted by Klemen on Sat, 03/17/2018 - 10:23

You have added inventory with an empty name. Remove it or remove the InsideBackpack mod element and create it again but this time with inventory that has a name. We will improve the validation for empty names to warn users in the future.

Submitted by Klemen on Mon, 03/19/2018 - 20:29

This will be fixed in 1.7.9 including improved validation, but will not fix existing problematic elements with invalid names.

by me work everything great in update i thing that new update of minecraft  1.13  well be better  like there come  1.8.0 to 1.8.4 or 1.8.8 of mcreator