-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
1,071 additions
and
300 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- a/net/minecraft/client/gui/GuiSlot.java | ||
+++ b/net/minecraft/client/gui/GuiSlot.java | ||
@@ -317,7 +317,7 @@ | ||
{ | ||
if (this.isMouseYWithinSlotBounds(this.mouseY)) | ||
{ | ||
- if (Mouse.getEventButton() == 0 && Mouse.getEventButtonState() && this.mouseY >= this.top && this.mouseY <= this.bottom) | ||
+ if ((Mouse.getEventButton() == 0|| GuiScreen.mouseDown) && Mouse.getEventButtonState() && this.mouseY >= this.top && this.mouseY <= this.bottom) | ||
{ | ||
int i = (this.width - this.getListWidth()) / 2; | ||
int j = (this.width + this.getListWidth()) / 2; |
19 changes: 19 additions & 0 deletions
19
patches/net/minecraft/client/gui/inventory/GuiContainerCreative.java.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- a/net/minecraft/client/gui/inventory/GuiContainerCreative.java | ||
+++ b/net/minecraft/client/gui/inventory/GuiContainerCreative.java | ||
@@ -7,6 +7,7 @@ | ||
import java.util.Map; | ||
import javax.annotation.Nullable; | ||
import net.minecraft.client.gui.GuiButton; | ||
+import net.minecraft.client.gui.GuiScreen; | ||
import net.minecraft.client.gui.GuiTextField; | ||
import net.minecraft.client.gui.achievement.GuiAchievements; | ||
import net.minecraft.client.gui.achievement.GuiStats; | ||
@@ -581,7 +582,7 @@ | ||
*/ | ||
public void drawScreen(int mouseX, int mouseY, float partialTicks) | ||
{ | ||
- boolean flag = Mouse.isButtonDown(0); | ||
+ boolean flag = Mouse.isButtonDown(0)|| GuiScreen.mouseDown; | ||
int i = this.guiLeft; | ||
int j = this.guiTop; | ||
int k = i + 175; |
Oops, something went wrong.