Class ParsableOrdinaryColor
java.lang.Object
dev.esophose.playerparticles.util.inputparser.Parsable<OrdinaryColor>
dev.esophose.playerparticles.util.inputparser.parsable.ParsableOrdinaryColor
public class ParsableOrdinaryColor extends Parsable<OrdinaryColor>
-
Field Summary
Fields Modifier and Type Field Description static java.util.Map<java.lang.String,OrdinaryColor>
COLOR_NAME_MAP
-
Constructor Summary
Constructors Constructor Description ParsableOrdinaryColor()
-
Method Summary
Modifier and Type Method Description OrdinaryColor
parse(PPlayer pplayer, java.util.List<java.lang.String> inputs)
Consumes and parses input from the list
-
Field Details
-
Constructor Details
-
ParsableOrdinaryColor
public ParsableOrdinaryColor()
-
-
Method Details
-
parse
Description copied from class:Parsable
Consumes and parses input from the list- Specified by:
parse
in classParsable<OrdinaryColor>
- Parameters:
pplayer
- The PPlayer who entered the inputinputs
- The input contents to try parsing- Returns:
- The parsed value or null if parsing failed
-