How to make tools and armor unbreakable?

Started by Agent_3314 on

Topic category: Help with modding (Java Edition)

Last seen on 17:46, 10. Jan 2022
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make tools and armor unbreakable?
Tue, 09/22/2020 - 16:01 (edited)

how to make tools and armor unbreakable????

Edited by Agent_3314 on Tue, 09/22/2020 - 16:01
Last seen on 16:18, 11. Feb 2024
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
One way to do this is to use…
Tue, 09/22/2020 - 13:03

One way to do this is to use a procedure to replace the armor (while on body) with these commands:

1.14:
/replaceitem entity @p armor.<head,legs,ect> minecraft:<helmate,chestplate,ect>{Unbreakable:1b} 1
1.15:
/replaceitem entity @p armor.<head,legs,ect> minecraft:<helmate,chestplate,ect>{Unbreakable:1b} 1

Here is a good website for making commands:
https://mcstacker.net

Last seen on 16:47, 29. Oct 2023
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I suggest using tags…
Tue, 09/22/2020 - 18:45

I suggest using tags. MCreator allows you to create tags, even vanilla ones. Define a tag element, set it to minecraft, and make it the unbreakable tag. Then, put all the items you want to make unbreakable under it!

Last seen on 00:47, 11. Apr 2022
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Set the durability to 0
Tue, 09/22/2020 - 21:52

Set the durability to 0

Last seen on 03:27, 2. Nov 2021
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
which code block do i use…
Wed, 05/26/2021 - 03:06

which code block do i use for that?