aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/common/misc/GT_IDrillingLogicDelegateOwner.java
blob: 9b10b6fcf09a6606e23b73add2527563e26c7e4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package gregtech.common.misc;

import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;

import gregtech.api.interfaces.metatileentity.IMetaTileEntity;

/** @author Relvl on 27.01.2022 */
public interface GT_IDrillingLogicDelegateOwner extends IMetaTileEntity {

    /** Returns the machine actual tier. */
    int getMachineTier();

    /** Returns the machine current processing speed. */
    int getMachineSpeed();

    /** Pulls (or check can pull) items from an input slots. */
    boolean pullInputs(Item item, int count, boolean simulate);

    /** Pushes (or check can push) item to output slots. */
    boolean pushOutputs(ItemStack stack, int count, boolean simulate, boolean allowInputSlots);
}