register

fun register(baseSlotTexture: Identifier, additionsSlotTexture: Identifier)(source)

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.

Parameters

baseSlotTexture

The background texture of the 2nd slot of the smithing table.

additionsSlotTexture

The background texture of the 3rd slot of the smithing table.