BlueprintFace

Represents the 6-directional face UV mapping of a cube element in blueprint form.

This record holds processed UV mappings ready to be compiled into Minecraft model JSON faces.

Since

3.7.0

Parameters

north

the UV mapping for the north face, or null if omitted

south

the UV mapping for the south face, or null if omitted

east

the UV mapping for the east face, or null if omitted

west

the UV mapping for the west face, or null if omitted

up

the UV mapping for the up face, or null if omitted

down

the UV mapping for the down face, or null if omitted

Constructors

Link copied to clipboard
constructor()

Companion properties

Link copied to clipboard
An empty BlueprintFace instance with no face definitions.

Functions

Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
@NotNull
open fun textures(): @NotNull IntStream
Returns an IntStream of all texture indices referenced by the defined faces.
Link copied to clipboard
abstract fun toString(): String
Link copied to clipboard
@NotNull
open fun uv(): @NotNull Stream<BlueprintUV>
Returns a sequential Stream containing all non-null BlueprintUVs defined on this face.