Fluid Pipe
An item that represents a fluid pipe. All the logic regarding placing the pipe is handled automatically.
Expects the pipe's config to contain a material, a fluid-per-second, and optionally a allowed-temperatures value. If allowed-temperatures is not set, any fluid will be allowed through. To override this behaviour, override canPass.
You should generally not need to extend this class. Instead, simply register an item with class FluidPipe.class to create a new pipe type.
Properties
Functions
Returns whether the pipe is capable of moving the given fluid through it.
Returns the list of placeholders to be substituted into the item's lore.
Returns settings associated with the item.
Called when a player right clicks with the item in either main or off hand.
Called when a player right clicks an entity while holding the item.
Places the block associated with this item, if it exists.