mirror of
https://github.com/GTNewHorizons/WirelessCraftingTerminal.git
synced 2026-11-19 11:49:18 +00:00
50 lines
624 B
Java
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();
|
|
} |