| 限定符和类型 | 字段和说明 |
|---|---|
static DrawerDefaultBackground |
INSTANCE |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
draw(GuiComponent.Transform transform,
Pipeline<DrawNode> pipeline,
Properties properties) |
void |
draw(int xSize,
int ySize,
int xPos,
int yPos,
int length,
int height,
net.minecraft.util.ResourceLocation sample)
draw the background from samples resource
|
public static final DrawerDefaultBackground INSTANCE
public void draw(int xSize,
int ySize,
int xPos,
int yPos,
int length,
int height,
net.minecraft.util.ResourceLocation sample)
xPos - x Position on the Minecraft screen will start to drawyPos - y Position on the Minecraft screen will start to drawlength - the length of the background you wantheight - the length of the background you wantsample - the sample resource used to drawpublic void draw(GuiComponent.Transform transform, Pipeline<DrawNode> pipeline, Properties properties)