aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/common/misc/IDrillingLogicDelegateOwner.java
blob: cd9a5f162171742ab93ae41494eca25b4c26e1c9 (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 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);
}