Do procedure if player has at least 1 level?

Started by Azarilh on Mon, 02/11/2019 - 19:35

Topic category: Help with modding (Java Edition)

Last seen on 03:33, 19. Feb 2020
Joined Jun 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Do procedure if player has at least 1 level?
Mon, 02/11/2019 - 19:35

I made a sword that has the ability to strike lightings, i set to take 1 level per use, but it's possible to use it even when i'm at level 0. How do i set "if" command for this?

Last seen on 17:59, 27. Nov 2020
Joined Aug 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Do you try this ? If get…
Fri, 03/08/2019 - 01:57

Do you try this ?

If get levels of entity = number of level

do strike lightning to x y z

I'm not sure for the name of procedure block for level.