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

import gregtech.api.interfaces.ITexture;
import net.minecraft.block.Block;
import net.minecraft.world.IBlockAccess;

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);

}