mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 00:37:52 +00:00
Fix swim speed being incorrect. Closes #6845
Fix BreakSpeedEvent having null position. Closes #6844 Add MatrixStack to BackgroundDrawnEvent. Closes #6843 Fix some patches that should of been ATs. Closes #6839 Add getter to ServerPlayer to access client's language calue if sent. Closes #6829 Some patch cleanup.
This commit is contained in:
commit
af9bb9641b
19 files changed
+122
-173
No files matched your search
@@ -205,9 +205,20 @@ public class GuiScreenEvent extends Event
|
||||
*/
|
||||
public static class BackgroundDrawnEvent extends GuiScreenEvent
|
||||
{
|
||||
public BackgroundDrawnEvent(Screen gui)
|
||||
private final MatrixStack mStack;
|
||||
|
||||
public BackgroundDrawnEvent(Screen gui, MatrixStack mStack)
|
||||
{
|
||||
super(gui);
|
||||
this.mStack = mStack;
|
||||
}
|
||||
|
||||
/**
|
||||
* The MatrixStack to render with.
|
||||
*/
|
||||
public MatrixStack getMatrixStack()
|
||||
{
|
||||
return mStack;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user