Can't use "Add potion effect" event

5 posts / 0 new
Last post
Offline
Last seen: 1 year 3 months ago
Joined: 01/14/2015 - 01:24
Gems: 0
Can't use "Add potion effect" event

As said above, I cannot use the "Add potion effect" event, or any event at all. I get a gradle error and have to remove the event. I am using MCreator 1.5.8.

The error messege that I get using "Add potion effect" is below in the spoiler (Note that I also can't use any other events)

Spoiler: Highlight to view

C:\Pylo\MCreator158\forge\build\sources\java\mod\mcreator\mcreator_ultiminiumPick.java:122: error: no suitable method found for onBlockDestroyed(ItemStack,World,int,int,int,int,EntityLivingBase)
super.onBlockDestroyed(itemstack, world, i, j, k, l, entity);
     ^
    method ItemTool.onBlockDestroyed(ItemStack,World,Block,BlockPos,EntityLivingBase) is not applicable
      (actual and formal argument lists differ in length)
    method Item.onBlockDestroyed(ItemStack,World,Block,BlockPos,EntityLivingBase) is not applicable
      (actual and formal argument lists differ in length)
1 error

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.

Reply if you have any further questions about the error that I am having.

-Cman1029384756

Edited by: Cman1029384756 on 09/06/2015 - 16:27


Offline
Last seen: 2 weeks 3 days ago
Joined: 09/04/2015 - 02:08
Gems: 0
I have the same problem, but

I have the same problem, but only when I try to add events to tools. Everything else works fine for me.

Lerry cape time's picture
Offline
Last seen: 7 months 3 weeks ago
Joined: 02/26/2015 - 02:47
Gems: 0
I can't get food to work with

I can't get food to work with it!!!!!!!!!

Offline
Last seen: 1 year 6 months ago
Joined: 09/01/2014 - 19:00
Gems: 0
Come on pylo team please fix

Come on pylo team please fix this for us its an obvious bug.

Brich036's picture
Offline
Last seen: 4 months 2 weeks ago
Joined: 05/11/2015 - 03:57
Gems: 2
potion effects are broken

potion effects are broken/bugged for foods and events are not working right for tools but i believe for everythig eles they should work