Interface VolumeElement<V extends Volume,​T>


  • public interface VolumeElement<V extends Volume,​T>
    • Method Detail

      • of

        static <W extends Volume,​T> VolumeElement<W,​T> of​(java.util.function.Supplier<W> volume,
                                                                      java.util.function.Supplier<? extends T> type,
                                                                      Vector3d position)
      • of

        static <V extends Volume,​T> VolumeElement<V,​T> of​(V volume,
                                                                      java.util.function.Supplier<? extends T> type,
                                                                      Vector3d position)
      • volume

        V volume()
        Gets the target volume of this element that the element belongs to. Should not be leaked out of usage of a VolumeStream or any of its companion functions.
        Returns:
        The volume
      • type

        T type()