public interface IGuiContainerProvider
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<? extends net.minecraft.inventory.Container> |
getContainer()
Get the container for this block.
|
java.lang.Class<? extends net.minecraft.client.gui.GuiScreen> |
getGUI()
Get the GUI for this block.
|
int |
getGuiID()
Get the unique ID for the GUI this block has.
|
java.lang.String |
getGuiTexture()
Get the texture path of the GUI.
|
java.lang.String |
getGuiTexture(java.lang.String suffix)
Get the texture path of the GUI.
|
void |
setContainer(java.lang.Class<? extends net.minecraft.inventory.Container> container)
Set the container.
|
void |
setGUI(java.lang.Class<? extends net.minecraft.client.gui.GuiScreen> gui)
Set the gui.
|
void setGUI(java.lang.Class<? extends net.minecraft.client.gui.GuiScreen> gui)
gui - The gui.void setContainer(java.lang.Class<? extends net.minecraft.inventory.Container> container)
container - The container.int getGuiID()
java.lang.Class<? extends net.minecraft.inventory.Container> getContainer()
java.lang.Class<? extends net.minecraft.client.gui.GuiScreen> getGUI()
java.lang.String getGuiTexture()
java.lang.String getGuiTexture(java.lang.String suffix)
suffix - Suffix to add to the path.