mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-23 21:49:49 +00:00
Resolve more client/server sided issues
using Minecraft Development for IntelliJ IDEA plugin. https://plugins.jetbrains.com/idea/plugin/8327-minecraft-development
This commit is contained in:
1 parent
b8acba968e
commit
2423adae4c
98 files changed
+703
-353
No files matched your search
@@ -10,6 +10,8 @@ import binnie.craftgui.events.EventButtonClicked;
|
||||
import binnie.craftgui.events.EventHandler;
|
||||
import binnie.craftgui.events.EventMouse;
|
||||
import binnie.craftgui.resource.minecraft.CraftGUITexture;
|
||||
import net.minecraftforge.fml.relauncher.Side;
|
||||
import net.minecraftforge.fml.relauncher.SideOnly;
|
||||
|
||||
import javax.annotation.Nullable;
|
||||
|
||||
@@ -56,6 +58,7 @@ public class ControlButton extends Control {
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void onRenderBackground(int guiWidth, int guiHeight) {
|
||||
Object texture = CraftGUITexture.ButtonDisabled;
|
||||
if (this.isMouseOver()) {
|
||||
|
||||
Reference in new issue
Block a user