Custom Model + Inventory Error In Newest Version Mcreator For MC 1.7.10

Started by lukas2005 on Thu, 03/17/2016 - 17:11
Last seen on 17:16, 17. Mar 2016
Joined Mar 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Custom Model + Inventory Error In Newest Version Mcreator For MC 1.7.10
Thu, 03/17/2016 - 17:11

Hello i'm creating a mod and i have machine that needs inventory and i have custom model and exture for it when i upload texture and model all is ok but when i'm selecting has inventory option console says:

 

Executing gradle command: build
Microsoft Windows [Version 10.0.10586]
(c) 2015 Microsoft Corporation. Wszelkie prawa zastrzeľone.
F:\MCreator 1.6.3 [1.7.10]>cd forge
F:\MCreator 1.6.3 [1.7.10]\forge>SET "JAVA_HOME=F:\MCreator 1.6.3 [1.7.10]\jdk\"
F:\MCreator 1.6.3 [1.7.10]\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
F:\MCreator 1.6.3 [1.7.10]\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
F:\MCreator 1.6.3 [1.7.10]\forge>gradlew build
****************************
 Powered By MCP:            
 http://modcoderpack.com/   
 Searge, ProfMobius, Fesh0r,
 R4wk, ZeuX, IngisKahn, bspkrs
 MCP Data version : unknown
****************************
:compileApiJava UP-TO-DATE
:processApiResources UP-TO-DATE
:apiClasses UP-TO-DATE
:sourceMainJava
F:\MCreator 1.6.3 [1.7.10]\forge\build\sources\java\mod\mcreator\mcreator_dimMachine.java:237: error: method createNewTileEntity(World,int) is already defined in class BlockDimMachine
@Override public TileEntity createNewTileEntity(World var1, int var2){return new TileEntityCustom();}
                            ^
F:\MCreator 1.6.3 [1.7.10]\forge\build\sources\java\mod\mcreator\mcreator_dimMachine.java:419: error: class TileEntityCustom is already defined in class mcreator_dimMachine
}public static class TileEntityCustom extends TileEntity implements IInventory
               ^
F:\MCreator 1.6.3 [1.7.10]\forge\build\sources\java\mod\mcreator\mcreator_dimMachine.java:168: error: cannot find symbol
if (tilecustom != null){for (int i1 = 0; i1 < tilecustom.getSizeInventory(); ++i1){
                                                        ^
  symbol:   method getSizeInventory()
  location: variable tilecustom of type TileEntityCustom
F:\MCreator 1.6.3 [1.7.10]\forge\build\sources\java\mod\mcreator\mcreator_dimMachine.java:169: error: cannot find symbol
ItemStack itemstack = tilecustom.getStackInSlot(i1);
                                ^
  symbol:   method getStackInSlot(int)
  location: variable tilecustom of type TileEntityCustom
F:\MCreator 1.6.3 [1.7.10]\forge\build\sources\java\mod\mcreator\mcreator_dimMachine.java:195: error: method calcRedstoneFromInventory in class Container cannot be applied to given types;
return Container.calcRedstoneFromInventory((TileEntityCustom)tileentity);
                ^
  required: IInventory
  found: TileEntityCustom
  reason: actual argument TileEntityCustom cannot be converted to IInventory by method invocation conversion
5 errors
:compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
BUILD FAILED
> Compilation failed; see the compiler error output * Try:
for details.
Total time: 24.197 secs
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
F:\MCreator 1.6.3 [1.7.10]\forge>
Task completed with return code 0 in 26281 milliseconds

please help!!

PS. I'm from Poland Sorry for errors in text

 

Last seen on 03:50, 12. Aug 2018
Joined Aug 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
I am having the same problem.
Tue, 03/22/2016 - 05:03

I am having the same problem. I dont believe mCreator supports inventory for custom models, just the normal block model. 

( (Mam ten sam problem. Ja nie wierzę mCreator obsługuje inwentaryzacji niestandardowych modeli , tylko normalnego modelu bloku.) )