RuleListWidgetMixin

public abstract class RuleListWidgetMixin extends EntryListWidget<EditGameRulesScreen.AbstractRuleWidget>

Constructors

RuleListWidgetMixin
Link copied to clipboard
void RuleListWidgetMixin(MinecraftClient client, int width, int height, int top, int bottom, int itemHeight)

Functions

appendNarrations
Link copied to clipboard
abstract void appendNarrations(NarrationMessageBuilder builder)
changeFocus
Link copied to clipboard
boolean changeFocus(boolean lookForwards)
charTyped
Link copied to clipboard
boolean charTyped(char chr, int modifiers)
children
Link copied to clipboard
final List<Echildren()
abstract List<? extends Elementchildren()
drawCenteredText
Link copied to clipboard
static void drawCenteredText(MatrixStack matrices, TextRenderer textRenderer, String text, int centerX, int y, int color)
drawCenteredTextWithShadow
Link copied to clipboard
static void drawCenteredTextWithShadow(MatrixStack matrices, TextRenderer textRenderer, OrderedText text, int centerX, int y, int color)
drawSprite
Link copied to clipboard
static void drawSprite(MatrixStack matrices, int x, int y, int z, int width, int height, Sprite sprite)
drawStringWithShadow
Link copied to clipboard
static void drawStringWithShadow(MatrixStack matrices, TextRenderer textRenderer, String text, int x, int y, int color)
drawTexture
Link copied to clipboard
void drawTexture(MatrixStack matrices, int x, int y, int u, int v, int width, int height)
drawTextWithShadow
Link copied to clipboard
static void drawTextWithShadow(MatrixStack matrices, TextRenderer textRenderer, Text text, int x, int y, int color)
drawWithOutline
Link copied to clipboard
void drawWithOutline(int x, int y, BiConsumer<Integer, Integer> renderAction)
drawWithShadow
Link copied to clipboard
static void drawWithShadow(MatrixStack matrices, TextRenderer textHandler, OrderedText text, int x, int y, int color)
fill
Link copied to clipboard
static void fill(MatrixStack matrices, int x1, int y1, int x2, int y2, int color)
focusOn
Link copied to clipboard
void focusOn(Element element)
getFocused
Link copied to clipboard
E getFocused()
Element getFocused()
getMaxScroll
Link copied to clipboard
int getMaxScroll()
getRowLeft
Link copied to clipboard
int getRowLeft()
getRowRight
Link copied to clipboard
int getRowRight()
getRowWidth
Link copied to clipboard
int getRowWidth()
getScrollAmount
Link copied to clipboard
double getScrollAmount()
getSelectedOrNull
Link copied to clipboard
E getSelectedOrNull()
getType
Link copied to clipboard
Selectable.SelectionType getType()
getZOffset
Link copied to clipboard
int getZOffset()
hoveredElement
Link copied to clipboard
Optional<ElementhoveredElement(double mouseX, double mouseY)
isDragging
Link copied to clipboard
final boolean isDragging()
isMouseOver
Link copied to clipboard
boolean isMouseOver(double mouseX, double mouseY)
keyPressed
Link copied to clipboard
boolean keyPressed(int keyCode, int scanCode, int modifiers)
keyReleased
Link copied to clipboard
boolean keyReleased(int keyCode, int scanCode, int modifiers)
method_35721
Link copied to clipboard
int method_35721()
method_37303
Link copied to clipboard
boolean method_37303()
mouseClicked
Link copied to clipboard
boolean mouseClicked(double mouseX, double mouseY, int button)
mouseDragged
Link copied to clipboard
boolean mouseDragged(double mouseX, double mouseY, int button, double deltaX, double deltaY)
mouseMoved
Link copied to clipboard
void mouseMoved(double mouseX, double mouseY)
mouseReleased
Link copied to clipboard
boolean mouseReleased(double mouseX, double mouseY, int button)
mouseScrolled
Link copied to clipboard
boolean mouseScrolled(double mouseX, double mouseY, double amount)
render
Link copied to clipboard
void render(MatrixStack matrices, int mouseX, int mouseY, float delta)
setDragging
Link copied to clipboard
final void setDragging(boolean dragging)
setFocused
Link copied to clipboard
void setFocused(Element focused)
setInitialFocus
Link copied to clipboard
void setInitialFocus(Element element)
setLeftPos
Link copied to clipboard
void setLeftPos(int left)
setRenderBackground
Link copied to clipboard
void setRenderBackground(boolean renderBackground)
setRenderHorizontalShadows
Link copied to clipboard
void setRenderHorizontalShadows(boolean renderHorizontalShadows)
setRenderSelection
Link copied to clipboard
void setRenderSelection(boolean renderSelection)
setScrollAmount
Link copied to clipboard
void setScrollAmount(double amount)
setSelected
Link copied to clipboard
void setSelected(E entry)
setZOffset
Link copied to clipboard
void setZOffset(int zOffset)
updateSize
Link copied to clipboard
void updateSize(int width, int height, int top, int bottom)

Sources

jvm source
Link copied to clipboard