Rule List Widget Mixin
public abstract class RuleListWidgetMixin extends EntryListWidget<EditGameRulesScreen.AbstractRuleWidget>
Content copied to clipboard
Constructors
RuleListWidgetMixin
Link copied to clipboard
void RuleListWidgetMixin(MinecraftClient client, int width, int height, int top, int bottom, int itemHeight)
Content copied to clipboard
Functions
appendNarrations
Link copied to clipboard
changeFocus
Link copied to clipboard
boolean changeFocus(boolean lookForwards)
Content copied to clipboard
drawCenteredText
Link copied to clipboard
static void drawCenteredText(MatrixStack matrices, TextRenderer textRenderer, String text, int centerX, int y, int color)
Content copied to clipboard
drawCenteredTextWithShadow
Link copied to clipboard
static void drawCenteredTextWithShadow(MatrixStack matrices, TextRenderer textRenderer, OrderedText text, int centerX, int y, int color)
Content copied to clipboard
drawSprite
Link copied to clipboard
static void drawSprite(MatrixStack matrices, int x, int y, int z, int width, int height, Sprite sprite)
Content copied to clipboard
drawStringWithShadow
Link copied to clipboard
static void drawStringWithShadow(MatrixStack matrices, TextRenderer textRenderer, String text, int x, int y, int color)
Content copied to clipboard
drawTexture
Link copied to clipboard
void drawTexture(MatrixStack matrices, int x, int y, int u, int v, int width, int height)
Content copied to clipboard
drawTextWithShadow
Link copied to clipboard
static void drawTextWithShadow(MatrixStack matrices, TextRenderer textRenderer, Text text, int x, int y, int color)
Content copied to clipboard
drawWithOutline
Link copied to clipboard
void drawWithOutline(int x, int y, BiConsumer<Integer, Integer> renderAction)
Content copied to clipboard
drawWithShadow
Link copied to clipboard
static void drawWithShadow(MatrixStack matrices, TextRenderer textHandler, OrderedText text, int x, int y, int color)
Content copied to clipboard
getFocused
Link copied to clipboard
getMaxScroll
Link copied to clipboard
int getMaxScroll()
Content copied to clipboard
getRowLeft
Link copied to clipboard
int getRowLeft()
Content copied to clipboard
getRowRight
Link copied to clipboard
int getRowRight()
Content copied to clipboard
getRowWidth
Link copied to clipboard
int getRowWidth()
Content copied to clipboard
getScrollAmount
Link copied to clipboard
double getScrollAmount()
Content copied to clipboard
getSelectedOrNull
Link copied to clipboard
getZOffset
Link copied to clipboard
int getZOffset()
Content copied to clipboard
hoveredElement
Link copied to clipboard
isDragging
Link copied to clipboard
final boolean isDragging()
Content copied to clipboard
isMouseOver
Link copied to clipboard
boolean isMouseOver(double mouseX, double mouseY)
Content copied to clipboard
keyPressed
Link copied to clipboard
boolean keyPressed(int keyCode, int scanCode, int modifiers)
Content copied to clipboard
keyReleased
Link copied to clipboard
boolean keyReleased(int keyCode, int scanCode, int modifiers)
Content copied to clipboard
method_35721
Link copied to clipboard
int method_35721()
Content copied to clipboard
method_37303
Link copied to clipboard
boolean method_37303()
Content copied to clipboard
mouseClicked
Link copied to clipboard
boolean mouseClicked(double mouseX, double mouseY, int button)
Content copied to clipboard
mouseDragged
Link copied to clipboard
boolean mouseDragged(double mouseX, double mouseY, int button, double deltaX, double deltaY)
Content copied to clipboard
mouseMoved
Link copied to clipboard
void mouseMoved(double mouseX, double mouseY)
Content copied to clipboard
mouseReleased
Link copied to clipboard
boolean mouseReleased(double mouseX, double mouseY, int button)
Content copied to clipboard
mouseScrolled
Link copied to clipboard
boolean mouseScrolled(double mouseX, double mouseY, double amount)
Content copied to clipboard
setDragging
Link copied to clipboard
final void setDragging(boolean dragging)
Content copied to clipboard
setFocused
Link copied to clipboard
setInitialFocus
Link copied to clipboard
setLeftPos
Link copied to clipboard
void setLeftPos(int left)
Content copied to clipboard
setRenderBackground
Link copied to clipboard
void setRenderBackground(boolean renderBackground)
Content copied to clipboard
setRenderHorizontalShadows
Link copied to clipboard
void setRenderHorizontalShadows(boolean renderHorizontalShadows)
Content copied to clipboard
setRenderSelection
Link copied to clipboard
void setRenderSelection(boolean renderSelection)
Content copied to clipboard
setScrollAmount
Link copied to clipboard
void setScrollAmount(double amount)
Content copied to clipboard
setSelected
Link copied to clipboard
setZOffset
Link copied to clipboard
void setZOffset(int zOffset)
Content copied to clipboard
updateSize
Link copied to clipboard
void updateSize(int width, int height, int top, int bottom)
Content copied to clipboard
Sources
jvm source
Link copied to clipboard