Interface VolumeElement<V extends Volume,T>
public interface VolumeElement<V extends Volume,T>
-
Method Summary
Modifier and TypeMethodDescriptionstatic <W extends Volume,
T>
VolumeElement<W, T> static <V extends Volume,
T>
VolumeElement<V, T> static <V extends Volume,
T>
VolumeElement<V, T> position()
type()
volume()
Gets the target volume of this element that the element belongs to.
-
Method Details
-
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
-
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()
-