ModelPreviewComponent
A voxel model on a turntable, with a title and a line under it.
Java
Inside a PanelComponent constructor. The same call draws in every family and chroma.
Java
add(new ModelPreviewComponent(at(new Box("crate", 10, 10, 84, 104)), crate, "Oak crate")
.subtitle("12 planks")
.badge("New")
.onClick(this::buy));Card
