CubeFaceMap
An immutable map from each BlockFace (of the cube faces BlockFace.NORTH, BlockFace.EAST, BlockFace.SOUTH, BlockFace.WEST, BlockFace.UP, BlockFace.DOWN) to a value of type V. Keys cannot be absent, use null to model absence instead.
Constructors
Functions
Returns a new CubeFaceMap where values not matching filter are replaced with null.
Returns a new CubeFaceMap where values not matching filter are replaced with null. The filter also receives the BlockFace.
Runs run for each non-null value in this CubeFaceMap.
Runs run for each non-null value in this CubeFaceMap, providing both the BlockFace and value.
Returns a new CubeFaceMap with each value transformed by map.
Returns a new CubeFaceMap with each value transformed by map, which also receives the BlockFace.
Returns a CubeFaceSet containing all faces for which map returns true.
Converts this CubeFaceMap to a BlockSideMap given the front direction.