setMatrix

public abstract void setMatrix(Array<ItemStack> contents)

Replace the contents of the crafting matrix

Parameters

contents

The new contents.

Throws

if the length of contents is greater than the size of the crafting matrix.