@FunctionalInterface public interface BlockVolumeReducer<T>
Modifier and Type | Method and Description |
---|---|
T |
reduce(UnmodifiableBlockVolume volume,
int x,
int y,
int z,
T reduction)
Reduces a block given as its volume and coordinates into the ongoing
reduction.
|
T reduce(UnmodifiableBlockVolume volume, int x, int y, int z, T reduction)
volume
- The volume containing the blockx
- The x coordinate of the blocky
- The y coordinate of the blockz
- The z coordinate of the blockreduction
- The ongoing reduction