net.minecraft.client.gui.navigation

public record ScreenRectangle

fsn
net.minecraft.client.gui.navigation.ScreenRectangle
net.minecraft.class_8030
net.minecraft.client.gui.ScreenRect

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public static ScreenRectangle
a()
empty()
method_48248()
empty()
public static ScreenRectangle
a(fsk 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)
public ScreenRectangle
a(fsl arg0)
step(ScreenDirection arg0)
method_48251(class_8028 arg0)
add(NavigationDirection direction)
public int
a(fsk arg0)
getLength(ScreenAxis arg0)
method_48249(class_8027 arg0)
getLength(NavigationAxis axis)
public int
b(fsl arg0)
getBoundInDirection(ScreenDirection arg0)
method_48255(class_8028 arg0)
getBoundingCoordinate(NavigationDirection direction)
public ScreenRectangle
c(fsl arg0)
getBorder(ScreenDirection arg0)
method_48256(class_8028 arg0)
getBorder(NavigationDirection direction)
public boolean
a(fsn arg0)
overlaps(ScreenRectangle arg0)
method_48252(class_8030 arg0)
overlaps(ScreenRect other)
public boolean
a(fsn arg0, fsk arg1)
overlapsInAxis(ScreenRectangle arg0, ScreenAxis arg1)
method_48253(class_8030 arg0, class_8027 arg1)
overlaps(ScreenRect other, NavigationAxis axis)
public int
b(fsk arg0)
getCenterInAxis(ScreenAxis arg0)
method_48254(class_8027 arg0)
getCenter(NavigationAxis axis)
public ScreenRectangle
b(fsn arg0)
intersection(ScreenRectangle arg0)
method_49701(class_8030 arg0)
intersection(ScreenRect other)
public int
b()
top()
method_49618()
getTop()
public int
c()
bottom()
method_49619()
getBottom()
public int
d()
left()
method_49620()
getLeft()
public int
e()
right()
method_49621()
getRight()
public boolean
a(int arg0, int arg1)
containsPoint(int arg0, int arg1)
method_58137(int arg0, int arg1)
contains(int x, int y)
public ScreenPosition
f()
position()
comp_1195()
position()
public int
g()
width()
comp_1196()
width()
public int
h()
height()
comp_1197()
height()