17 lines
626 B
Diff
17 lines
626 B
Diff
--- a/net/minecraft/client/gui/widget/list/AbstractList.java
|
|
+++ b/net/minecraft/client/gui/widget/list/AbstractList.java
|
|
@@ -450,6 +450,13 @@
|
|
return flag;
|
|
}
|
|
|
|
+ public int getWidth() { return this.width; }
|
|
+ public int getHeight() { return this.height; }
|
|
+ public int getTop() { return this.y0; }
|
|
+ public int getBottom() { return this.y1; }
|
|
+ public int getLeft() { return this.x0; }
|
|
+ public int getRight() { return this.x1; }
|
|
+
|
|
@OnlyIn(Dist.CLIENT)
|
|
public abstract static class AbstractListEntry<E extends AbstractList.AbstractListEntry<E>> implements IGuiEventListener {
|
|
@Deprecated
|