Item rendering
This commit is contained in:
@@ -249,6 +249,8 @@ export interface ItemRegistry<T = unknown | undefined> {
|
||||
texture_id: string | ((item: ItemStack<T>) => string);
|
||||
// shown in place of texture_id while the stack's data has that key set, like a cast fishing rod. the first wins
|
||||
data_textures?: Record<string, string>;
|
||||
// a model it's drawn with instead of its texture, with the model's own textures, like a 3d wrench
|
||||
model?: string;
|
||||
// what players see, like "Iron Ingot". made from the id when not set, see display_name in common/utils.ts
|
||||
name?: string;
|
||||
block_id?: string;
|
||||
|
||||
Reference in New Issue
Block a user