@FunctionalInterface public interface BlockVolumeMapper
Modifier and Type | Method and Description |
---|---|
BlockState |
map(UnmodifiableBlockVolume volume,
int x,
int y,
int z)
Produces a new block from the original block given as its volume and
coordinates.
|
BlockState map(UnmodifiableBlockVolume volume, int x, int y, int z)
volume
- The volume containing the original blockx
- The x coordinate of the original blocky
- The y coordinate of the original blockz
- The z coordinate of the original block