@Environment(value=CLIENT) class CustomizeFlatLevelScreen.SuperflatLayersListWidget.SuperflatLayerItem extends AlwaysSelectedEntryListWidget.Entry<CustomizeFlatLevelScreen.SuperflatLayersListWidget.SuperflatLayerItem>
Modifier | Constructor and Description |
---|---|
private |
SuperflatLayerItem() |
Modifier and Type | Method and Description |
---|---|
private void |
method_19373(MatrixStack matrixStack,
int int2,
int int3) |
private void |
method_19375(MatrixStack matrixStack,
int int2,
int int3,
ItemStack itemStack) |
boolean |
mouseClicked(double mouseX,
double mouseY,
int button)
Callback for when a mouse button down event
has been captured.
|
void |
render(MatrixStack matrices,
int index,
int y,
int x,
int entryWidth,
int entryHeight,
int mouseX,
int mouseY,
boolean hovered,
float tickDelta) |
changeFocus
isMouseOver
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
charTyped, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled
public void render(MatrixStack matrices, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta)
render
in class EntryListWidget.Entry<CustomizeFlatLevelScreen.SuperflatLayersListWidget.SuperflatLayerItem>
public boolean mouseClicked(double mouseX, double mouseY, int button)
GLFW
class.mouseX
- the X coordinate of the mousemouseY
- the Y coordinate of the mousebutton
- the mouse button numbertrue
to indicate that the event handling is successful/validMouse.onMouseButton(long, int, int, int)
,
GLFW.GLFW_MOUSE_BUTTON_1
private void method_19375(MatrixStack matrixStack, int int2, int int3, ItemStack itemStack)
private void method_19373(MatrixStack matrixStack, int int2, int int3)