Advancement triger builder (Procedure not working)

Started by Cowosome on

Topic category: Help with MCreator software

Last seen on 13:48, 28. May 2020
Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Advancement triger builder (Procedure not working)

I am trying to make a advancement, but I need to make it with the procedures, I put it in the simple build as Custom trigger, then created a procedure where it gives the achievement.

It keeps giving me this error: incompatible types: net.mcreator.advancement.Advancement cannot be converted to net.minecraft.advancements.Advancement                   ((ServerPlayerEntity) entity).getAdvancements().grantCriterion(_adv, _criterion);

 

Can someone help me please?

Last seen on 22:41, 29. Dec 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can you show the procedure?
Tue, 05/19/2020 - 19:32

Can you show the procedure?

Last seen on 13:48, 28. May 2020
Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Shure! Its a really simple…
Tue, 05/19/2020 - 19:41

Shure! Its a really simple one.

https://imgur.com/a/9JyMECS

 

Its for when a Zombie gets a diamond sword equiped

Last seen on 22:41, 29. Dec 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What is the trigger? Also…
Tue, 05/19/2020 - 19:50

What is the trigger? Also there is no zombie in the procedure. 

Last seen on 13:48, 28. May 2020
Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
So now I changed the global…
Tue, 05/19/2020 - 19:56

So now I changed the global trigger to "Entity pick up Item", but It still does not work. And about the zombie procedure, I just want the achievement to pop out when an entity has an item in its inventory, btw thank you so much for the help.

Last seen on 22:41, 29. Dec 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Weird. Maybe it is trying to…
Tue, 05/19/2020 - 20:08

Weird. Maybe it is trying to give the advancement to the entity? Also try changing "does provided entity have:___" to "item in main hand".

Last seen on 13:48, 28. May 2020
Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ok, I will try it altho the…
Wed, 05/20/2020 - 07:05

ok, I will try it altho the problem is when executing the program. I can even save it without that error.

Last seen on 20:42, 30. Nov 2021
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
make sure you have a…
Thu, 05/21/2020 - 11:56

make sure you have a prodecure that when you  get the item the advancement apears

 

Last seen on 22:41, 29. Dec 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I think that this can be…
Thu, 05/21/2020 - 14:47

I think that this can be solved now in 2020.3 because you can specify the source entity of the event and the target of the event.