mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-19 11:59:11 +00:00
Remove model text gui
This commit is contained in:
1 parent
a17d9015c1
commit
fa67089c77
2 files changed
-23
No files matched your search
@@ -30,12 +30,8 @@ import forestry.api.arboriculture.ITreeRoot;
|
||||
import forestry.api.genetics.AlleleSpeciesRegisterEvent;
|
||||
import forestry.api.lepidopterology.IButterflyRoot;
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.client.gui.GuiButton;
|
||||
import net.minecraft.client.gui.GuiScreen;
|
||||
import net.minecraft.client.gui.inventory.GuiContainer;
|
||||
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
|
||||
import net.minecraft.client.renderer.texture.TextureMap;
|
||||
import net.minecraftforge.client.event.GuiScreenEvent;
|
||||
import net.minecraftforge.client.event.ModelBakeEvent;
|
||||
import net.minecraftforge.client.event.TextureStitchEvent;
|
||||
import net.minecraftforge.common.MinecraftForge;
|
||||
@@ -197,24 +193,6 @@ public class ExtraTrees extends AbstractMod {
|
||||
super(ExtraBees.instance);
|
||||
}
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
@SubscribeEvent
|
||||
public void openGui(GuiScreenEvent.InitGuiEvent event){
|
||||
if(event.getGui() instanceof GuiContainer){
|
||||
GuiContainer gui = (GuiContainer) event.getGui();
|
||||
event.getButtonList().add(new GuiButton(90, 60, 90, "gfrwgrweg"));
|
||||
}
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
@SubscribeEvent
|
||||
public void openGui(GuiScreenEvent.ActionPerformedEvent event){
|
||||
if(event.getGui() instanceof GuiContainer && event.getButton().id == 90){
|
||||
Minecraft.getMinecraft().displayGuiScreen(new GuiScreen() {
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@SubscribeEvent
|
||||
@SideOnly(Side.CLIENT)
|
||||
|
||||
Reference in new issue
Block a user