mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-21 12:42:26 +00:00
Fix most of the compile errors in the client package (#5137)
* Add KeyBinding#getKey and clean up errors in KeyModifier * Add dimension IRenderHandler patches * Fix most of the compile errors in client package. The rest are missing Block/KeyBinding patches * Disable selective reloads until configs are finished * Add OnlyIn on IForgeDimension to match those of Dimension
This commit is contained in:
1 parent
a0cef07a0b
commit
949a62a0da
13 files changed
+163
-91
No files matched your search
@@ -48,10 +48,11 @@ public class GuiButtonExt extends GuiButton
|
||||
* Draws this button to the screen.
|
||||
*/
|
||||
@Override
|
||||
public void drawButton(Minecraft mc, int mouseX, int mouseY, float partial)
|
||||
public void func_194828_a(int mouseX, int mouseY, float partial)
|
||||
{
|
||||
if (this.visible)
|
||||
{
|
||||
Minecraft mc = Minecraft.getMinecraft();
|
||||
this.hovered = mouseX >= this.x && mouseY >= this.y && mouseX < this.x + this.width && mouseY < this.y + this.height;
|
||||
int k = this.getHoverState(this.hovered);
|
||||
GuiUtils.drawContinuousTexturedBox(BUTTON_TEXTURES, this.x, this.y, 0, 46 + k * 20, this.width, this.height, 200, 20, 2, 3, 2, 2, this.zLevel);
|
||||
|
||||
@@ -1684,7 +1684,7 @@ public class GuiConfigEntries extends GuiListExtended
|
||||
/**
|
||||
* Provides an interface for defining GuiConfigEntry.listEntry objects.
|
||||
*/
|
||||
public static interface IConfigEntry extends GuiListExtended.IGuiListEntry
|
||||
public static interface IConfigEntry
|
||||
{
|
||||
/**
|
||||
* Gets the IConfigElement object owned by this entry.
|
||||
|
||||
Reference in new issue
Block a user