aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/goodgenerator/blocks/regularBlock/ITextureBlock.java
blob: fb98b6adc8d3ae0653139583625de5508edf71e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package goodgenerator.blocks.regularBlock;

import net.minecraft.block.Block;
import net.minecraft.world.IBlockAccess;

import gregtech.api.interfaces.ITexture;

public interface ITextureBlock {

    default ITexture[] getTexture(Block aBlock, byte aSide) {
        return getTexture(aBlock, 0, aSide);
    }

    ITexture[] getTexture(Block aBlock, byte aSide, IBlockAccess aWorld, int xCoord, int yCoord, int zCoord);

    ITexture[] getTexture(Block aBlock, int aMeta, byte aSide);
}