@CatalogedBy(value=FluidTypes.class) public interface FluidType extends CatalogType, PropertyHolder
ItemType or BlockType,
except for fluids. Normally, the gameplay mechanics of fluids are entirely
dependent on the implementation of a fluid; however, they are representable
as FluidStacks, where a certain amount of a FluidType for
a specified volume "exists" within a FluidTankData.
Normally, FluidTankData can be either retrieved from either a
BlockState or TileEntity that specifically handles fluids.
Depending on the implementation, a fluid stack may be used differently than
how vanilla implementations handle them.
| Modifier and Type | Method and Description |
|---|---|
Optional<BlockType> |
getBlockTypeBase()
Gets the
BlockType that normally would represent this fluid
type if it exists as a block in the world. |
getId, getNamegetApplicableProperties, getProperty