Files
WirelessCraftingTerminal/src/java/net/p455w0rd/wirelesscraftingterminal/client/textures/IStateIconTexture.java
T

50 lines
624 B
Java

package net.p455w0rd.wirelesscraftingterminal.client.textures;
import javax.annotation.Nonnull;
import net.minecraft.util.ResourceLocation;
/**
* Icon from a state texture.
*
* @author Nividica
*
*/
public interface IStateIconTexture
{
/**
* Height of the icon.
*
* @return
*/
int getHeight();
/**
* Texture the icon is in.
*
* @return
*/
@Nonnull
ResourceLocation getTexture();
/**
* U coordinate of the icon.
*
* @return
*/
int getU();
/**
* V coordinate of the icon.
*
* @return
*/
int getV();
/**
* Width of the icon.
*
* @return
*/
int getWidth();
}