Class Parsable<T>
java.lang.Object
dev.esophose.playerparticles.util.inputparser.Parsable<T>
- Direct Known Subclasses:
ParsableColorTransition
,ParsableInteger
,ParsableLocation
,ParsableMaterial
,ParsableNoteColor
,ParsableOrdinaryColor
,ParsableParticleEffect
,ParsableParticleStyle
,ParsableString
,ParsableVibration
public abstract class Parsable<T>
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Class<T>
targetType
-
Constructor Summary
-
Method Summary
-
Field Details
-
Constructor Details
-
Method Details
-
parse
Consumes and parses input from the list- Parameters:
pplayer
- The PPlayer who entered the inputinputs
- The input contents to try parsing- Returns:
- The parsed value or null if parsing failed
-