addInventoryConverter(new InventoryConverter(inventory, "0-3", new Vector2f[0]));
}
@Override
public void close() {
AnvilCloseEvent event = getPlayer().getEngine().getEventManager().callEvent(new AnvilCloseEvent(block, inventory, getPlayer()));
if (event.isCancelled()) {
return;
}
for (ItemStack item : inventory) {
if (item != null) {