can someone tell me what is wrong with my procedure?

Started by Ublubx on Thu, 05/13/2021 - 06:28

Topic category: Help with modding (Java Edition)

Last seen on 05:16, 18. Jun 2021
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
can someone tell me what is wrong with my procedure?
Thu, 05/13/2021 - 06:28

hey everyone, ive been using mcreator for almost a week now so i have a little understanding but not as confident as i would like to be. i have a tool i am adding to the game that will convert netherite to netherite scrap by right clicking with the tool in your main hand and then doing one damage to the tool. however, i forgot to add the procedure to check if the player has netherite in their inventory otherwise you can get infinite netherite scrap. i found what block to use but am unsure of where it should go or if i should completely re-do my procedure. any help would be greatly appreciated! here is a link to the picture of the procedure i have and what i believe i need to add: https://ibb.co/r3s3CF2

Last seen on 05:16, 18. Jun 2021
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
thanks for anyone taking the…
Thu, 05/13/2021 - 06:44

thanks for anyone taking the time to read this. i actually figured out where the block should go however, it is not losing one durability like i would like. i hate to be asking so many questions in one post but i was also trying to figure out if you could allow it to use enchantments like mending or unbreaking if possible. 

Last seen on 12:46, 19. Jun 2021
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
i don't hunderstand were is…
Thu, 05/13/2021 - 10:00

i don't hunderstand were is the problem

 

Last seen on 18:14, 7. Jun 2021
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Checked and this put in …
Thu, 05/13/2021 - 14:12

Checked and this put in "right clicked in the air" should work
https://ibb.co/N1Gxtd4
Also if you are in creative mode your tools won't loose durability, so keep that in mind

Last seen on 05:16, 18. Jun 2021
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
thank you! it seems my…
Thu, 05/13/2021 - 17:39

thank you! it seems my mcreator was having issues or something as suddenly after a pc restart, it was doing damage. perhaps working at 3am was not in my favor

Last seen on 05:16, 18. Jun 2021
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
hey there, sorry about the…
Thu, 05/13/2021 - 17:41

hey there, sorry about the confusion. it seems like now my only issue is i do not have a clue if there is a way so that my new tool can only allow mending and unbreaking. any ideas? :)