Class ParsableMaterial

java.lang.Object
dev.esophose.playerparticles.util.inputparser.Parsable<org.bukkit.Material>
dev.esophose.playerparticles.util.inputparser.parsable.ParsableMaterial

public class ParsableMaterial
extends Parsable<org.bukkit.Material>
  • Field Summary

    Fields inherited from class dev.esophose.playerparticles.util.inputparser.Parsable

    targetType
  • Constructor Summary

    Constructors 
    Constructor Description
    ParsableMaterial()  
  • Method Summary

    Modifier and Type Method Description
    org.bukkit.Material parse​(PPlayer pplayer, java.util.List<java.lang.String> inputs)
    Consumes and parses input from the list

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • parse

      public org.bukkit.Material parse​(PPlayer pplayer, java.util.List<java.lang.String> inputs)
      Description copied from class: Parsable
      Consumes and parses input from the list
      Specified by:
      parse in class Parsable<org.bukkit.Material>
      Parameters:
      pplayer - The PPlayer who entered the input
      inputs - The input contents to try parsing
      Returns:
      The parsed value or null if parsing failed