Class MountScreen<T extends MountScreenHandler>
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.ingame.HandledScreen<T>
net.minecraft.client.gui.screen.ingame.MountScreen<T>
- All Implemented Interfaces:
Drawable,Element,Navigable,ParentElement,ScreenHandlerProvider<T>
- Direct Known Subclasses:
HorseScreen,NautilusScreen
@Environment(CLIENT)
public abstract class MountScreen<T extends MountScreenHandler>
extends HandledScreen<T>
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/ingame/MountScreenintermediary net/minecraft/class_12348official gsf
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected LivingEntityprotected floatprotected floatprotected final intFields inherited from class net.minecraft.client.gui.screen.ingame.HandledScreen
BACKGROUND_TEXTURE, backgroundHeight, backgroundWidth, cursorDragging, cursorDragSlots, field_52802, field_52803, focusedSlot, handler, playerInventoryTitle, playerInventoryTitleX, playerInventoryTitleY, titleX, titleY, x, yFields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, field_60460, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, narratorToggleButton, textRenderer, title, width -
Constructor Summary
ConstructorsConstructorDescriptionMountScreen(T handler, PlayerInventory inventory, Text title, int slotColumnCount, LivingEntity mount) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract booleanprotected abstract booleanprotected voiddrawBackground(DrawContext context, float deltaTicks, int mouseX, int mouseY) protected voiddrawSlot(DrawContext context, int x, int y) protected abstract @Nullable Identifierprotected abstract Identifierprotected abstract Identifiervoidrender(DrawContext context, int mouseX, int mouseY, float deltaTicks) Methods inherited from class net.minecraft.client.gui.screen.ingame.HandledScreen
addTooltipSubmenuHandler, close, deferSubtitles, drawForeground, drawMouseoverTooltip, drawSlot, drawSlots, endTouchDrag, getScreenHandler, getTooltipFromItem, handledScreenTick, handleHotbarKeyPressed, init, isClickOutsideBounds, isPointWithinBounds, keyPressed, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, onMouseClick, onMouseClick, onSlotChangedState, removed, renderBackground, renderCursorStack, renderLetGoTouchStack, renderMain, shouldPause, tickMethods inherited from class net.minecraft.client.gui.screen.Screen
addCrashReportSection, addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, allowRotatingPanorama, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, canInterruptOtherScreen, children, clearAndInit, clearChildren, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleBasicClickEvent, handleClickEvent, handleOpenUri, handleRunCommand, hasUsageText, init, insertText, isMouseOver, isValidCharacterForName, keepOpenThroughPortal, narrateScreenIfNarrationEnabled, onDisplayed, onFilesDropped, refreshNarrator, refreshWidgetPositions, remove, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setWidgetAlpha, shouldCloseOnEsc, showsStatusEffects, switchFocus, updateNarratorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
getBorder, isClickable, mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, setFocused
-
Field Details
-
slotColumnCount
protected final int slotColumnCount- Mappings:
Namespace Name Mixin selector named slotColumnCountLnet/minecraft/client/gui/screen/ingame/MountScreen;slotColumnCount:Iintermediary field_64544Lnet/minecraft/class_12348;field_64544:Iofficial DLgsf;D:I
-
mouseX
protected float mouseX- Mappings:
Namespace Name Mixin selector named mouseXLnet/minecraft/client/gui/screen/ingame/MountScreen;mouseX:Fintermediary field_64545Lnet/minecraft/class_12348;field_64545:Fofficial ELgsf;E:F
-
mouseY
protected float mouseY- Mappings:
Namespace Name Mixin selector named mouseYLnet/minecraft/client/gui/screen/ingame/MountScreen;mouseY:Fintermediary field_64546Lnet/minecraft/class_12348;field_64546:Fofficial FLgsf;F:F
-
mount
- Mappings:
Namespace Name Mixin selector named mountLnet/minecraft/client/gui/screen/ingame/MountScreen;mount:Lnet/minecraft/entity/LivingEntity;intermediary field_64547Lnet/minecraft/class_12348;field_64547:Lnet/minecraft/class_1309;official GLgsf;G:Lchm;
-
-
Constructor Details
-
MountScreen
public MountScreen(T handler, PlayerInventory inventory, Text title, int slotColumnCount, LivingEntity mount) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/ingame/MountScreen;<init>(Lnet/minecraft/screen/MountScreenHandler;Lnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/text/Text;ILnet/minecraft/entity/LivingEntity;)Vintermediary <init>Lnet/minecraft/class_12348;<init>(Lnet/minecraft/class_12343;Lnet/minecraft/class_1661;Lnet/minecraft/class_2561;ILnet/minecraft/class_1309;)Vofficial <init>Lgsf;<init>(Ldgi;Ldcn;Lyh;ILchm;)V
-
-
Method Details
-
drawBackground
- Specified by:
drawBackgroundin classHandledScreen<T extends MountScreenHandler>- Mappings:
Namespace Name Mixin selector named drawBackgroundLnet/minecraft/client/gui/screen/ingame/HandledScreen;drawBackground(Lnet/minecraft/client/gui/DrawContext;FII)Vintermediary method_2389Lnet/minecraft/class_465;method_2389(Lnet/minecraft/class_332;FII)Vofficial aLgsd;a(Lghm;FII)V
-
drawSlot
- Mappings:
Namespace Name Mixin selector named drawSlotLnet/minecraft/client/gui/screen/ingame/MountScreen;drawSlot(Lnet/minecraft/client/gui/DrawContext;II)Vintermediary method_76628Lnet/minecraft/class_12348;method_76628(Lnet/minecraft/class_332;II)Vofficial eLgsf;e(Lghm;II)V
-
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classHandledScreen<T extends MountScreenHandler>- Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)Vofficial aLgjd;a(Lghm;IIF)V
-
getTexture
- Mappings:
Namespace Name Mixin selector named getTextureLnet/minecraft/client/gui/screen/ingame/MountScreen;getTexture()Lnet/minecraft/util/Identifier;intermediary method_76623Lnet/minecraft/class_12348;method_76623()Lnet/minecraft/class_2960;official ILgsf;I()Lamo;
-
getSlotTexture
- Mappings:
Namespace Name Mixin selector named getSlotTextureLnet/minecraft/client/gui/screen/ingame/MountScreen;getSlotTexture()Lnet/minecraft/util/Identifier;intermediary method_76624Lnet/minecraft/class_12348;method_76624()Lnet/minecraft/class_2960;official JLgsf;J()Lamo;
-
getChestSlotsTexture
- Mappings:
Namespace Name Mixin selector named getChestSlotsTextureLnet/minecraft/client/gui/screen/ingame/MountScreen;getChestSlotsTexture()Lnet/minecraft/util/Identifier;intermediary method_76625Lnet/minecraft/class_12348;method_76625()Lnet/minecraft/class_2960;official KLgsf;K()Lamo;
-
canEquipSaddle
protected abstract boolean canEquipSaddle()- Mappings:
Namespace Name Mixin selector named canEquipSaddleLnet/minecraft/client/gui/screen/ingame/MountScreen;canEquipSaddle()Zintermediary method_76626Lnet/minecraft/class_12348;method_76626()Zofficial LLgsf;L()Z
-
canEquipArmor
protected abstract boolean canEquipArmor()- Mappings:
Namespace Name Mixin selector named canEquipArmorLnet/minecraft/client/gui/screen/ingame/MountScreen;canEquipArmor()Zintermediary method_76627Lnet/minecraft/class_12348;method_76627()Zofficial MLgsf;M()Z
-