Class FillCurryDexCommand

java.lang.Object
com.pixelmonmod.pixelmon.command.PixelCommand
com.pixelmonmod.pixelmon.command.impl.FillCurryDexCommand

public class FillCurryDexCommand extends PixelCommand
  • Field Details

    • RATINGS

      public static final List<String> RATINGS
    • PAGES

      public static final List<String> PAGES
    • FLAVORS

      public static final List<String> FLAVORS
  • Constructor Details

    • FillCurryDexCommand

      public FillCurryDexCommand(com.mojang.brigadier.CommandDispatcher<net.minecraft.commands.CommandSourceStack> dispatcher)
  • Method Details

    • execute

      public void execute(net.minecraft.commands.CommandSourceStack sender, String[] args) throws net.minecraft.commands.CommandRuntimeException, com.mojang.brigadier.exceptions.CommandSyntaxException
      Overrides:
      execute in class PixelCommand
      Throws:
      net.minecraft.commands.CommandRuntimeException
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • formatCurryFlavorColor

      public net.minecraft.ChatFormatting formatCurryFlavorColor(int curryDexFlavor)
      Decides what color the text for the flavor should be in the message sent to the player.
      Parameters:
      curryDexFlavor - The number corresponding to the EnumBerryFlavor
      Returns:
      The TextFormatting color of the text.
    • formatCurryRatingColor

      public net.minecraft.ChatFormatting formatCurryRatingColor(int curryDexRating)
      Decides what color the text for the rating should be in the message sent to the player.
      Parameters:
      curryDexRating - The number corresponding to the EnumCurryRating
      Returns:
      The TextFormatting color of the text.
    • getTabCompletions

      public List<String> getTabCompletions(net.minecraft.server.MinecraftServer server, net.minecraft.commands.CommandSourceStack sender, String[] args, net.minecraft.core.BlockPos pos) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Overrides:
      getTabCompletions in class PixelCommand
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException