Skip to content

Interface: SpecialItemPart ​

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

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:22
material?MeshBasicMaterialShared prepared material; the renderer clones it and retains ownership of only that clone.packages/minerender/src/model/SpecialItems.ts:24
modelEntityModel-packages/minerender/src/model/SpecialItems.ts:15
positions?Record<string, TripleArray>Absolute named-part positions in the entity model's coordinate system.packages/minerender/src/model/SpecialItems.ts:19
rotationsRecord<string, TripleArray>-packages/minerender/src/model/SpecialItems.ts:17
tints?Record<string, number>Colors for the entity model's named texture passes.packages/minerender/src/model/SpecialItems.ts:21
transformMatrix4-packages/minerender/src/model/SpecialItems.ts:16