You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Useful for drawing miscellaneous things in {@link IRecipeCategory#drawExtras(Minecraft)} and {@link IRecipeWrapper#drawInfo(Minecraft, int, int, int, int)}.
* {@link IGuiHelper} has many functions to create IDrawables.
*
* @see IDrawableAnimated
* @see IDrawableStatic
*/
public interface IDrawable {
int getWidth();
int getHeight();
default void draw(Minecraft minecraft) {
draw(minecraft, 0, 0);
}
void draw(Minecraft minecraft, int xOffset, int yOffset);