Is there any way to alter armour values depending on the weather/biome?

Started by JJ_007 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is there any way to alter armour values depending on the weather/biome?

I want to make some prismarine armour, and on land, it has the same defence as iron. However, in water or if it's raining, it would have the same as iron. How would I go about doing this?

Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If you want to make an armor…
Sun, 05/31/2020 - 02:23

If you want to make an armor with the same values than the iron armor, search its values. If it was only an error, with MCreator it's not possible, except if you gave a Resistance effect, and even with coding, I don't think it's possible.

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oh sorry, my wording was a…
Sun, 05/31/2020 - 02:28

Oh sorry, my wording was a little off. I meant if I were to make it it would have those armour values depending on the weather.

With the resistance effect, I could always do something like

If: Is raining in provided world

    Provide player with resistance