Placeable Item
open class PlaceableItem(val id: Identifier, val blockId: Identifier, var name: Component, var rarity: Rarity) : AbstractMacrocosmItem(source)
A placeable MacrocosmBlock encapsulated in a MacrocosmItem.
Uses a minecraft:paper as a base, but adds CustomModelData to it using the HybridBlockModelGenerator
Parameters
id
Identifier of the item
block Id
Identifier of the block that can be placed
name
Name of the item
rarity
Rarity of the item
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Constructs base item stack differently, by default returns null
Link copied to clipboard
Builds this item
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Transfers all enchantments, reforges and other upgrades to other item
Link copied to clipboard
Link copied to clipboard