Interface FluidState

    • Method Detail

      • fromString

        static FluidState fromString​(java.lang.String id)
      • block

        BlockState block()
        Gets the BlockState that best represents this FluidState.

        The type does not include location based information such as tanks or inventories. This is simply a block state that can be used for volumes such as Schematics or Worlds that are serialized and deserialized.

        Returns:
        The type of block
      • type

        FluidType type()
        Gets the parent FluidType that this state is based on. Much like BlockType versus BlockStates, there can be many to one relationships between the two.
        Returns:
        The fluid type
      • isEmpty

        boolean isEmpty()