Skip to content

Interface: SpecialItemPart ​

Defined in: packages/minerender/src/model/SpecialItems.ts:13

Entity geometry and placement for a special item preview. Named part rotations use radians.

Properties ​

PropertyTypeDescriptionDefined in
faces?Record<string, CubeFace[]>-packages/minerender/src/model/SpecialItems.ts:21
material?MeshBasicMaterialShared prepared material; the renderer clones it and retains ownership of only that clone.packages/minerender/src/model/SpecialItems.ts:23
modelEntityModel-packages/minerender/src/model/SpecialItems.ts:14
positions?Record<string, TripleArray>Absolute named-part positions in the entity model's coordinate system.packages/minerender/src/model/SpecialItems.ts:18
rotationsRecord<string, TripleArray>-packages/minerender/src/model/SpecialItems.ts:16
tints?Record<string, number>Colors for the entity model's named texture passes.packages/minerender/src/model/SpecialItems.ts:20
transformMatrix4-packages/minerender/src/model/SpecialItems.ts:15