package com.tiedup.remake.util;

import net.minecraft.resources.ResourceLocation;

/**
 * Proxy class that directly uses Patchouli API.
 * This class is only loaded if Patchouli is present.
 */
public class PatchouliProxy {

    /**
     * Opens a Patchouli book GUI.
     * This method uses Patchouli API directly (no reflection).
     */
    public static void openBook(ResourceLocation bookId) {
        vazkii.patchouli.api.PatchouliAPI.get().openBookGUI(bookId);
    }
}
