Class AbstractPipePart.Value<T>

java.lang.Object
io.github.apfelcreme.Pipes.Pipe.AbstractPipePart.Value<T>
Enclosing class:
AbstractPipePart

public static class AbstractPipePart.Value<T> extends Object
  • Field Details

  • Constructor Details

    • Value

      public Value(T value)
  • Method Details

    • getValue

      public T getValue()
      Get the actual value that this object holds
      Returns:
      the actual value
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getTagType

      public <Z> org.bukkit.persistence.PersistentDataType<Z,T> getTagType()
      Get the persistent data type of the value
      Type Parameters:
      Z - The primitive value for NBT
      Returns:
      The persistent data type