Summoning Entity Advancement issues

Started by Lemonlime-Alpha on

Topic category: Help with modding (Java Edition)

Last seen on 15:59, 17. May 2024
Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Summoning Entity Advancement issues

Ok, so I'm having a problem understanding how to fix this, but I'm trying to make it so when this specific procedure is run, the mob spawns and I get the advancement, but for some reason when I try to spawn it this way (using lightning) the advancement isn't being granted

Here's the image in case anybody needs the reference of code blocks I am using: Procedure

Last seen on 23:05, 18. Jun 2024
Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You are giving the…
Thu, 04/11/2024 - 15:17

You are giving the advancement to the wither skeleton that you just despawned.

To fix this, use "for each entity in square cube of size (size) as entity iterator"

Then, inside that, "if entity iterator is (sub)type player"

"do add advancement (advancement) to entity iterator"

You will need to swap out procedure block parts(most procedure blocks come with event/target entity built in and must be changed to entity iterator), and I have likely gotten the names wrong, but the general idea of the procedure is to check all entities in an area, and if they are players, give them the advancement.

Last seen on 15:59, 17. May 2024
Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Alright, am testing this now
Fri, 04/12/2024 - 19:13

Alright, am testing this now

Last seen on 15:59, 17. May 2024
Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Well the good news if that I…
Fri, 04/12/2024 - 19:30

Well the good news if that I'm getting the achievement, the bad news is that everything keeps disappearing, almost instantaneously 

Last seen on 15:59, 17. May 2024
Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
With a bit of tweaking, I…
Fri, 04/12/2024 - 19:44

With a bit of tweaking, I figured out how to stop entities from blinking out of existence, but the bad thing being, I'm getting the achievement/advancement from anything that I strike

Last seen on 23:05, 18. Jun 2024
Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I have a solution that fixes…
Sat, 04/13/2024 - 00:19

I have a solution that fixes an enormous amount of weird bugs, and this might be a case where it would be useful, although I'm not positive.

You need to put the entire procedure in an "if" block, then attach a "not" block, then "is provided world client-side"

I'm not entirely sure why, but  a lot of things don't always like to work on client-side.

If that isn't able to fix it though, I'm not sure how and you might need to wait until somebody else sees this and answers.

Last seen on 15:59, 17. May 2024
Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Apologies for being 10 days…
Tue, 04/23/2024 - 14:55

Apologies for being 10 days late, but tested this and not sure what exactly it does? But still have Appreciation for your assistance so far Catnip, thank you for your current help. Now let us wait and see if anyone else does come across and have further ideas.