fromStack

@Contract(value = "null -> null")
fun fromStack(stack: ItemStack?): PylonItem?(source)

Converts a regular ItemStack to a PylonItemStack Returns null if the ItemStack is not a Pylon item