Alpha: this compiler is under active development and updates will break your projects. Not recommended for real use yet.
Skip to content

spool / inertItem

Function: inertItem() โ€‹

inertItem(model): ItemValue

Defined in: inert.ts:16

An item vanilla does nothing with, drawn as model: it can't be placed, eaten or crafted.

ts
inertItem("minecraft:ancient_debris").itemName("Scrap").customData({ scrap: true })

Set its name, since it otherwise shows as a recovery compass.

Parameters โ€‹

model โ€‹

string | ModelRef

Returns โ€‹

ItemValue

Released under the MIT License ยท Credits
These docs were written with AI; the layout and every page have been reviewed by a human.