@FunctionalInterface public interface BlockVolumeMerger
| Modifier and Type | Method and Description |
|---|---|
BlockState |
merge(UnmodifiableBlockVolume firstVolume,
int xFirst,
int yFirst,
int zFirst,
UnmodifiableBlockVolume secondVolume,
int xSecond,
int ySecond,
int zSecond)
Produces a new block from two original blocks given as their volumes and
their coordinates.
|
BlockState merge(UnmodifiableBlockVolume firstVolume, int xFirst, int yFirst, int zFirst, UnmodifiableBlockVolume secondVolume, int xSecond, int ySecond, int zSecond)
firstVolume - The volume for the first blockxFirst - The x coordinate for the first blockyFirst - The y coordinate for the first blockzFirst - The z coordinate for the first blocksecondVolume - The volume for the second blockxSecond - The x coordinate for the second blockySecond - The y coordinate for the second blockzSecond - The z coordinate for the second block