Problem with creating a new rarity

Started by Pikaxe on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2023
Points:

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") ;