StaffInfusionSmithingRecipeTextures

Object holding textures to be displayed in a smithing table, when using a staff infusion smithing template.

Properties

Link copied to clipboard

Gets a copy of the registered background textures of the 3rd slot of the smithing table.

Link copied to clipboard

Gets a copy of the registered background textures of the 2nd slot of the smithing table.

Functions

Link copied to clipboard
fun register(baseSlotTexture: Identifier, additionsSlotTexture: Identifier)

Registers a pair of staff texture and an ingredient texture to be displayed in a smithing table, when using a staff infusion smithing template. This method should be called for every minecraft:smithing_transform recipe in the mod's data pack, which infuses an ingredient into a faint staff.