Problem with creating a new rarity

Started by Pikaxe on

Topic category: Help with modding (Java Edition)

Last seen on 17:12, 28. Oct 2023
Joined Oct 2023

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Problem with creating a new rarity

I tried to create a new rarity for my Minecraft mod, but the console does not stop telling me errors 

Here is the code I applied:

public class Legendaryrarity {
public static EnumRarity LEGENDARY = EnumHelper.addRarity("LEGENDARY", TextFormatting.YELLOW, "Legendaire") ;