Package net.minecraft.client.gui.layouts
Class SpacerElement
java.lang.Object
net.minecraft.client.gui.layouts.SpacerElement
- All Implemented Interfaces:
LayoutElement
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSpacerElement
(int p_265229_, int p_265527_) SpacerElement
(int p_265199_, int p_265495_, int p_265101_, int p_265469_) -
Method Summary
Modifier and TypeMethodDescriptionint
int
getWidth()
int
getX()
int
getY()
static SpacerElement
height
(int p_265087_) void
setX
(int p_265605_) void
setY
(int p_265406_) void
visitWidgets
(Consumer<AbstractWidget> p_265477_) static SpacerElement
width
(int p_265056_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.layouts.LayoutElement
getRectangle, setPosition
-
Field Details
-
x
private int x -
y
private int y -
width
private final int width -
height
private final int height
-
-
Constructor Details
-
SpacerElement
public SpacerElement(int p_265229_, int p_265527_) -
SpacerElement
public SpacerElement(int p_265199_, int p_265495_, int p_265101_, int p_265469_)
-
-
Method Details
-
width
-
height
-
setX
public void setX(int p_265605_) - Specified by:
setX
in interfaceLayoutElement
-
setY
public void setY(int p_265406_) - Specified by:
setY
in interfaceLayoutElement
-
getX
public int getX()- Specified by:
getX
in interfaceLayoutElement
-
getY
public int getY()- Specified by:
getY
in interfaceLayoutElement
-
getWidth
public int getWidth()- Specified by:
getWidth
in interfaceLayoutElement
-
getHeight
public int getHeight()- Specified by:
getHeight
in interfaceLayoutElement
-
visitWidgets
- Specified by:
visitWidgets
in interfaceLayoutElement
-