aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/interfaces/tileentity/IAllSidedTexturedTileEntity.java
blob: 1d00aa5d76d721b81aaf20408f14bd72c6b05767 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package gregtech.api.interfaces.tileentity;

import net.minecraft.block.Block;
import net.minecraftforge.common.util.ForgeDirection;

import gregtech.api.interfaces.ITexture;

/**
 * Block which has same texture on all sides
 */
public interface IAllSidedTexturedTileEntity extends ITexturedTileEntity {

    /**
     * @return the Textures rendered by the GT Rendering
     */
    default ITexture[] getTexture(Block aBlock, ForgeDirection side) {
        return getTexture(aBlock);
    }

    /**
     * @return the Textures rendered by the GT Rendering
     */
    ITexture[] getTexture(Block aBlock);
}