Interface VolumeElement<V extends Volume,T>
-
public interface VolumeElement<V extends Volume,T>
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static <W extends Volume,T>
VolumeElement<W,T>of(Supplier<W> volume, Supplier<? extends T> type, Vector3d position)
static <V extends Volume,T>
VolumeElement<V,T>of(V volume, Supplier<? extends T> type, Vector3d position)
static <V extends Volume,T>
VolumeElement<V,T>of(V volume, T type, Vector3d position)
Vector3d
position()
T
type()
V
volume()
Gets the target volume of this element that the element belongs to.
-
-
-
Method Detail
-
of
static <W extends Volume,T> VolumeElement<W,T> of(Supplier<W> volume, Supplier<? extends T> type, Vector3d position)
-
of
static <V extends Volume,T> VolumeElement<V,T> of(V volume, Supplier<? extends T> type, Vector3d position)
-
of
static <V extends Volume,T> VolumeElement<V,T> of(V volume, 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 aVolumeStream
or any of its companion functions.- Returns:
- The volume
-
position
Vector3d position()
-
type
T type()
-
-