aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/server/ContainerInfo.java
blob: 532bb6431a4963d670704be58796894a18816e1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * Roughly Enough Items by Danielshe.
 * Licensed under the MIT License.
 */

package me.shedaniel.rei.server;

import net.minecraft.container.Container;

public interface ContainerInfo<T extends Container> {
    Class<? extends Container> getContainerClass();

    int getCraftingResultSlotIndex(T container);

    int getCraftingWidth(T container);

    int getCraftingHeight(T container);

    void clearCraftingSlots(T container);

    void populateRecipeFinder(T container, RecipeFinder var1);
}