PlaceableItem

constructor(id: Identifier, blockId: Identifier, name: Component, rarity: Rarity)(source)

Parameters

id

Identifier of the item

blockId

Identifier of the block that can be placed

name

Name of the item

rarity

Rarity of the item