PylonFluid

open class PylonFluid(key: NamespacedKey, val name: Component, material: Material, tags: MutableList<PylonFluidTag>) : Keyed(source)

Fluids aren't necessarily just liquids, they can also be gases or other substances that can flow.

Parameters

material

Used to display the fluid in tanks

See also

Constructors

Link copied to clipboard
constructor(key: NamespacedKey, material: Material, vararg tags: PylonFluidTag)
constructor(key: NamespacedKey, name: Component, material: Material, tags: MutableList<PylonFluidTag>)

Properties

Link copied to clipboard
val item: @NotNull ItemStack
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun getKey(): NamespacedKey
Link copied to clipboard
inline fun <T : PylonFluidTag> getTag(): T
fun <T : PylonFluidTag> getTag(type: Class<T>): T
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
inline fun <T : PylonFluidTag> hasTag(): Boolean
Link copied to clipboard
open override fun key(): @NotNull Key
Link copied to clipboard
fun register()
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String