How to make tools and armor unbreakable?

Started by Agent_3314 on

Topic category: Help with Minecraft modding (Java Edition)

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
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

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!

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

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?