net.minecraft.client.gui.navigation

public record ScreenRectangle

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

字段概要

修饰符与类型字段
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_

构造函数概要

修饰符构造函数
public (int sameAxis, int otherAxis, int width, int height)
public (ScreenPosition position, int width, int height)

方法概要

修饰符与类型方法
public static ScreenRectangle
a()
empty()
method_48248()
empty()
m_264427_()
public static ScreenRectangle
a(gpj 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(gpk arg0)
step(ScreenDirection arg0)
method_48251(class_8028 arg0)
add(NavigationDirection direction)
m_264049_(C_263621_ arg0)
public int
a(gpj arg0)
getLength(ScreenAxis arg0)
method_48249(class_8027 arg0)
getLength(NavigationAxis axis)
m_264323_(C_263604_ arg0)
public int
b(gpk arg0)
getBoundInDirection(ScreenDirection arg0)
method_48255(class_8028 arg0)
getBoundingCoordinate(NavigationDirection direction)
m_264095_(C_263621_ arg0)
public ScreenRectangle
c(gpk arg0)
getBorder(ScreenDirection arg0)
method_48256(class_8028 arg0)
getBorder(NavigationDirection direction)
m_264525_(C_263621_ arg0)
public boolean
a(gpm arg0)
overlaps(ScreenRectangle arg0)
method_48252(class_8030 arg0)
overlaps(ScreenRect other)
m_264295_(C_263595_ arg0)
public boolean
a(gpm arg0, gpj 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(gpj arg0)
getCenterInAxis(ScreenAxis arg0)
method_48254(class_8027 arg0)
getCenter(NavigationAxis axis)
m_264037_(C_263604_ arg0)
public ScreenRectangle
b(gpm arg0)
intersection(ScreenRectangle arg0)
method_49701(class_8030 arg0)
intersection(ScreenRect other)
m_275842_(C_263595_ arg0)
public boolean
c(gpm arg0)
intersects(ScreenRectangle arg0)
method_71524(class_8030 arg0)
intersects(ScreenRect other)
m_404475_(C_263595_ arg0)
public boolean
d(gpm arg0)
encompasses(ScreenRectangle arg0)
method_71525(class_8030 arg0)
contains(ScreenRect other)
m_403752_(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 ScreenRectangle
a(org.joml.Matrix3x2fc arg0)
transformAxisAligned(org.joml.Matrix3x2fc arg0)
method_65185(org.joml.Matrix3x2fc arg0)
transform(org.joml.Matrix3x2fc matrix)
m_374263_(org.joml.Matrix3x2fc arg0)
public ScreenRectangle
b(org.joml.Matrix3x2fc arg0)
transformMaxBounds(org.joml.Matrix3x2fc arg0)
method_71523(org.joml.Matrix3x2fc arg0)
transformEachVertex(org.joml.Matrix3x2fc matrix)
m_402401_(org.joml.Matrix3x2fc arg0)
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_()