Class PipeInput

java.lang.Object
io.github.apfelcreme.Pipes.Pipe.AbstractPipePart
io.github.apfelcreme.Pipes.Pipe.PipeInput

public class PipeInput extends AbstractPipePart
  • Field Details

    • GUI_SETUP

      public static final String[] GUI_SETUP
  • Constructor Details

    • PipeInput

      public PipeInput(org.bukkit.block.BlockState state)
  • Method Details

    • getTargetLocation

      public SimpleLocation getTargetLocation()
    • getFacing

      public org.bukkit.block.BlockFace getFacing()
    • getGuiSetup

      public String[] getGuiSetup()
      Description copied from class: AbstractPipePart
      Get the setup of the GUI with the character 'i' for the block's inventory, 's' and 'z' for settings, 'c' for the copy book
      Specified by:
      getGuiSetup in class AbstractPipePart
      Returns:
      The setup for the GUI
    • getOptions

      protected AbstractPipePart.Option<?>[] getOptions()
      Description copied from class: AbstractPipePart
      Get all possible options
      Specified by:
      getOptions in class AbstractPipePart
      Returns:
      All possible options of this part
    • getAvailableOption

      protected AbstractPipePart.Option<?> getAvailableOption(String name)
      Description copied from class: AbstractPipePart
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Overrides:
      getAvailableOption in class AbstractPipePart
      Parameters:
      name - The name of the option to get
      Returns:
      the enum constant with the specified name
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class AbstractPipePart
    • toString

      public String toString()
      Overrides:
      toString in class AbstractPipePart