net.minecraft.client.gui.navigation

public record ScreenRectangle

flm
net.minecraft.client.gui.navigation.ScreenRectangle
net.minecraft.class_8030
net.minecraft.client.gui.ScreenRect
net.minecraft.src.C_263595_

Field summary

Modifier and TypeField
private final ScreenPosition
a
position
comp_1195
position
f_263846_
private final int
b
width
comp_1196
width
f_263770_
private final int
c
height
comp_1197
height
f_263800_
private static final ScreenRectangle
d
EMPTY
field_41835
EMPTY
f_263720_

Constructor summary

ModifierConstructor
public (int sameAxis, int otherAxis, int width, int height)
public (ScreenPosition width, int height, int arg2)

Method summary

Modifier and TypeMethod
public static ScreenRectangle
a()
empty()
method_48248()
empty()
m_264427_()
public static ScreenRectangle
a(flj arg0, int arg1, int arg2, int arg3, int arg4)
of(ScreenAxis arg0, int arg1, int arg2, int arg3, int arg4)
method_48250(class_8027 arg0, int arg1, int arg2, int arg3, int arg4)
of(NavigationAxis axis, int sameAxisCoord, int otherAxisCoord, int sameAxisLength, int otherAxisLength)
m_264109_(C_263604_ p_265648_, int p_265317_, int p_265685_, int p_265218_, int p_265226_)
public ScreenRectangle
a(flk arg0)
step(ScreenDirection arg0)
method_48251(class_8028 arg0)
add(NavigationDirection direction)
m_264049_(C_263621_ arg0)
public int
a(flj arg0)
getLength(ScreenAxis arg0)
method_48249(class_8027 arg0)
getLength(NavigationAxis axis)
m_264323_(C_263604_ arg0)
public int
b(flk arg0)
getBoundInDirection(ScreenDirection arg0)
method_48255(class_8028 arg0)
getBoundingCoordinate(NavigationDirection direction)
m_264095_(C_263621_ arg0)
public ScreenRectangle
c(flk arg0)
getBorder(ScreenDirection arg0)
method_48256(class_8028 arg0)
getBorder(NavigationDirection direction)
m_264525_(C_263621_ arg0)
public boolean
a(flm arg0)
overlaps(ScreenRectangle arg0)
method_48252(class_8030 arg0)
overlaps(ScreenRect other)
m_264295_(C_263595_ arg0)
public boolean
a(flm arg0, flj arg1)
overlapsInAxis(ScreenRectangle arg0, ScreenAxis arg1)
method_48253(class_8030 arg0, class_8027 arg1)
overlaps(ScreenRect other, NavigationAxis axis)
m_264632_(C_263595_ p_265340_, C_263604_ arg1)
public int
b(flj arg0)
getCenterInAxis(ScreenAxis arg0)
method_48254(class_8027 arg0)
getCenter(NavigationAxis axis)
m_264037_(C_263604_ arg0)
public ScreenRectangle
b(flm arg0)
intersection(ScreenRectangle arg0)
method_49701(class_8030 arg0)
intersection(ScreenRect other)
m_275842_(C_263595_ arg0)
public int
b()
top()
method_49618()
getTop()
m_274449_()
public int
c()
bottom()
method_49619()
getBottom()
m_274349_()
public int
d()
left()
method_49620()
getLeft()
m_274563_()
public int
e()
right()
method_49621()
getRight()
m_274445_()
public boolean
a(int arg0, int arg1)
containsPoint(int arg0, int arg1)
method_58137(int arg0, int arg1)
contains(int x, int y)
m_319431_(int p_333319_, int arg1)
public ScreenPosition
f()
position()
comp_1195()
position()
f_263846_()
public int
g()
width()
comp_1196()
width()
f_263770_()
public int
h()
height()
comp_1197()
height()
f_263800_()