Exclusion Zones are zones that REI avoid rendering on, this may include the vanilla Recipe Book, potion effect statuses or other extruding elements on the screen.

In a client plugin (Constructing Plugins), override registerExclusionZones. Here, we will register our exclusion zones provider, a method that returns the list of rectangles to avoid.

zones.register(OurScreen.class, screen -> {
    // screen is OurScreen
    // returns the list of rectangle
    return List.of();
});