getTag

fun <T : PylonFluidTag> getTag(type: Class<T>): T(source)

Throws

if the fluid does not have a tag of the given type


inline fun <T : PylonFluidTag> getTag(): T(source)