Started by
Cowosome
on
Topic category: Help with MCreator software
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?
Can you show the procedure?
Shure! Its a really simple one.
https://imgur.com/a/9JyMECS
Its for when a Zombie gets a diamond sword equiped
What is the trigger? Also there is no zombie in the procedure.
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.
Weird. Maybe it is trying to give the advancement to the entity? Also try changing "does provided entity have:___" to "item in main hand".
ok, I will try it altho the problem is when executing the program. I can even save it without that error.
make sure you have a prodecure that when you get the item the advancement apears
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.