2016-11-10 21:07:15 +01:00
|
|
|
/*
|
|
|
|
* This file ("GuiBookletBase.java") is part of the Actually Additions mod for Minecraft.
|
|
|
|
* It is created and owned by Ellpeck and distributed
|
|
|
|
* under the Actually Additions License to be found at
|
|
|
|
* http://ellpeck.de/actaddlicense
|
|
|
|
* View the source code at https://github.com/Ellpeck/ActuallyAdditions
|
|
|
|
*
|
2017-01-01 16:23:26 +01:00
|
|
|
* © 2015-2017 Ellpeck
|
2016-11-10 21:07:15 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
package de.ellpeck.actuallyadditions.api.booklet.internal;
|
|
|
|
|
|
|
|
import net.minecraft.client.gui.GuiButton;
|
|
|
|
import net.minecraft.client.gui.GuiScreen;
|
2016-11-10 23:37:40 +01:00
|
|
|
import net.minecraft.item.ItemStack;
|
2016-11-10 21:07:15 +01:00
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
public abstract class GuiBookletBase extends GuiScreen{
|
|
|
|
|
|
|
|
public abstract void renderScaledAsciiString(String text, int x, int y, int color, boolean shadow, float scale);
|
|
|
|
|
|
|
|
public abstract void renderSplitScaledAsciiString(String text, int x, int y, int color, boolean shadow, float scale, int length);
|
|
|
|
|
|
|
|
public abstract List<GuiButton> getButtonList();
|
2016-11-10 22:06:58 +01:00
|
|
|
|
|
|
|
public abstract int getGuiLeft();
|
|
|
|
|
|
|
|
public abstract int getGuiTop();
|
|
|
|
|
|
|
|
public abstract int getSizeX();
|
|
|
|
|
|
|
|
public abstract int getSizeY();
|
2016-11-10 23:37:40 +01:00
|
|
|
|
2016-11-11 18:55:32 +01:00
|
|
|
public abstract void addOrModifyItemRenderer(ItemStack renderedStack, int x, int y, float scale, boolean shouldTryTransfer);
|
2016-12-07 15:25:04 +01:00
|
|
|
|
|
|
|
public abstract float getSmallFontSize();
|
|
|
|
|
|
|
|
public abstract float getMediumFontSize();
|
|
|
|
|
|
|
|
public abstract float getLargeFontSize();
|
2016-11-10 21:07:15 +01:00
|
|
|
}
|