Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/replcraft/lib/inventory/item.ts>ItemData

A library to control special structures on the ReplCraft Minecraft server
Latest
interface ItemData
import { type ItemData } from "https://deno.land/x/replcraft@v1.1.0/lib/inventory/item.ts";

Properties

type: string

Identifier of the item

maxDurability: number

Durability of the item

durability: number
amount: number

How many of this item are in the stack

enchantments: ItemEnchantmentData[]

Enchantments of the item

meta: { [key: string]: unknown; }

Meta-data of the item