Package net.minecraft.client.gui.layouts
Class SpacerElement
java.lang.Object
net.minecraft.client.gui.layouts.SpacerElement
- All Implemented Interfaces:
 LayoutElement
- 
Field Summary
Fields - 
Constructor Summary
ConstructorsConstructorDescriptionSpacerElement(int p_265229_, int p_265527_) SpacerElement(int p_265199_, int p_265495_, int p_265101_, int p_265469_)  - 
Method Summary
Modifier and TypeMethodDescriptionintintgetWidth()intgetX()intgetY()static SpacerElementheight(int p_265087_) voidsetX(int p_265605_) voidsetY(int p_265406_) voidvisitWidgets(Consumer<AbstractWidget> p_265477_) static SpacerElementwidth(int p_265056_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
 setXin interfaceLayoutElement
 - 
setY
public void setY(int p_265406_) - Specified by:
 setYin interfaceLayoutElement
 - 
getX
public int getX()- Specified by:
 getXin interfaceLayoutElement
 - 
getY
public int getY()- Specified by:
 getYin interfaceLayoutElement
 - 
getWidth
public int getWidth()- Specified by:
 getWidthin interfaceLayoutElement
 - 
getHeight
public int getHeight()- Specified by:
 getHeightin interfaceLayoutElement
 - 
visitWidgets
- Specified by:
 visitWidgetsin interfaceLayoutElement
 
 -