Achievement event error

2 posts / 0 new
Last post
Offline
Last seen: 1 year 9 months ago
Joined: 03/05/2015 - 14:02
Gems: 0
Achievement event error

When I am adding an event to an acheivement with one of my mod items, It makes my mod got an error

 

Crashlog:

<start crashlog>

>=========================================================================================================================
>Executing gradle command: build
>Microsoft Windows [Version 6.3.9600]
>(c) 2013 Microsoft Corporation. All rights reserved.
>D:\Ken PF\Minecraft\Tools\MCreator 1.5.5 [1.7.10]>cd forge
>D:\Ken PF\Minecraft\Tools\MCreator 1.5.5 [1.7.10]\forge>SET "JAVA_HOME=D:\Ken PF\Minecraft\Tools\MCreator 1.5.5 [1.7.10]\jdk\"
>D:\Ken PF\Minecraft\Tools\MCreator 1.5.5 [1.7.10]\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
>D:\Ken PF\Minecraft\Tools\MCreator 1.5.5 [1.7.10]\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
>D:\Ken PF\Minecraft\Tools\MCreator 1.5.5 [1.7.10]\forge>gradlew build
>****************************
> Powered By MCP:             
> http://mcp.ocean-labs.de/   
> Searge, ProfMobius, Fesh0r,
> R4wk, ZeuX, IngisKahn, bspkrs
> MCP Data version : unknown
>****************************
>:downloadClient SKIPPED
>:downloadServer SKIPPED
>:getVersionJson
>:extractUserDev UP-TO-DATE
>:mergeJars SKIPPED
>:applyBinPatches SKIPPED
>:downloadMcpTools SKIPPED
>:extractMcpData UP-TO-DATE
>:genSrgs SKIPPED
>:deobfBinJar SKIPPED
>:compileApiJava UP-TO-DATE
>:processApiResources UP-TO-DATE
>:apiClasses UP-TO-DATE
>:sourceMainJava
>D:\Ken PF\Minecraft\Tools\MCreator 1.5.5 [1.7.10]\forge\build\sources\java\mod\mcreator\mcreator_gemAmethyst.java:153: error: cannot find symbol
>if(entity.inventory.hasItem(new ItemStack(mcreator_gemAmethyst.block).getItem())){
>         ^
>  symbol:   variable inventory
>  location: variable entity of type Entity
>1 error
>:compileJava FAILED
>FAILURE: Build failed with an exception.
>* What went wrong:
>Execution failed for task ':compileJava'.
>> Compilation failed; see the compiler error output for details.
>BUILD FAILED
>* Try:
>Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
>Total time: 31.147 secs
>D:\Ken PF\Minecraft\Tools\MCreator 1.5.5 [1.7.10]\forge>
>Task completed with return code 0 in 31710 milliseconds

<stop crashlog>



Wes
Wes's picture
Offline
Last seen: 3 months 1 day ago
Joined: 04/26/2014 - 16:35
Gems: 3
Did you out Any variable in

Did you out Any variable in or seta block texture on achivement????