Skip to content

Type Alias: SpecialItemRenderer ​

ts
type SpecialItemRenderer = 
  | {
  color: DyeColor;
  type: "banner" | "minecraft:banner";
}
  | {
  type: "shield" | "minecraft:shield";
}
  | {
  type: "decorated_pot" | "minecraft:decorated_pot";
}
  | {
  type:   | "trident"
     | "minecraft:trident"
     | "conduit"
     | "minecraft:conduit"
     | "player_head"
     | "minecraft:player_head";
}
  | {
  pose: "standing" | "sitting" | "running" | "star";
  texture: string;
  type: "copper_golem_statue" | "minecraft:copper_golem_statue";
}
  | {
  openness?: number;
  texture: string;
  type: "chest" | "minecraft:chest";
}
  | {
  openness?: number;
  orientation?: "down" | "up" | "north" | "south" | "west" | "east";
  texture: string;
  type: "shulker_box" | "minecraft:shulker_box";
}
  | {
  texture: string;
  type: "bed" | "minecraft:bed";
}
  | {
  animation?: number;
  kind: string;
  texture?: string;
  type: "head" | "minecraft:head";
};

Defined in: packages/minerender/src/model/Model.ts:55

Supported item definitions that draw entity geometry instead of ordinary model elements.