This commit is contained in:
2026-11-22 13:21:27 -03:00
parent e751d22c6e
commit ac791b886e
23 changed files with 494 additions and 91 deletions
+3
View File
@@ -287,6 +287,9 @@ export interface ItemRegistry<T = unknown | undefined> {
// a model it's drawn with instead of its texture, with the model's own textures, like a 3d wrench. or an entity
// model (see EntityModelJson), drawn in its texture
model?: string;
// the entity it lies in the world as instead of a cubi:item, holding the stack, like neoforge's hasCustomEntity.
// an "object" (see EntityJson.behavior)
entity?: 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;