Class MountScreen<T extends MountScreenHandler>

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/MountScreen
intermediary net/minecraft/class_12348
official gsf
  • Field Details

    • slotColumnCount

      protected final int slotColumnCount
      Mappings:
      Namespace Name Mixin selector
      named slotColumnCount Lnet/minecraft/client/gui/screen/ingame/MountScreen;slotColumnCount:I
      intermediary field_64544 Lnet/minecraft/class_12348;field_64544:I
      official D Lgsf;D:I
    • mouseX

      protected float mouseX
      Mappings:
      Namespace Name Mixin selector
      named mouseX Lnet/minecraft/client/gui/screen/ingame/MountScreen;mouseX:F
      intermediary field_64545 Lnet/minecraft/class_12348;field_64545:F
      official E Lgsf;E:F
    • mouseY

      protected float mouseY
      Mappings:
      Namespace Name Mixin selector
      named mouseY Lnet/minecraft/client/gui/screen/ingame/MountScreen;mouseY:F
      intermediary field_64546 Lnet/minecraft/class_12348;field_64546:F
      official F Lgsf;F:F
    • mount

      protected LivingEntity mount
      Mappings:
      Namespace Name Mixin selector
      named mount Lnet/minecraft/client/gui/screen/ingame/MountScreen;mount:Lnet/minecraft/entity/LivingEntity;
      intermediary field_64547 Lnet/minecraft/class_12348;field_64547:Lnet/minecraft/class_1309;
      official G Lgsf;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;)V
      intermediary <init> Lnet/minecraft/class_12348;<init>(Lnet/minecraft/class_12343;Lnet/minecraft/class_1661;Lnet/minecraft/class_2561;ILnet/minecraft/class_1309;)V
      official <init> Lgsf;<init>(Ldgi;Ldcn;Lyh;ILchm;)V
  • Method Details

    • drawBackground

      protected void drawBackground(DrawContext context, float deltaTicks, int mouseX, int mouseY)
      Specified by:
      drawBackground in class HandledScreen<T extends MountScreenHandler>
      Mappings:
      Namespace Name Mixin selector
      named drawBackground Lnet/minecraft/client/gui/screen/ingame/HandledScreen;drawBackground(Lnet/minecraft/client/gui/DrawContext;FII)V
      intermediary method_2389 Lnet/minecraft/class_465;method_2389(Lnet/minecraft/class_332;FII)V
      official a Lgsd;a(Lghm;FII)V
    • drawSlot

      protected void drawSlot(DrawContext context, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      named drawSlot Lnet/minecraft/client/gui/screen/ingame/MountScreen;drawSlot(Lnet/minecraft/client/gui/DrawContext;II)V
      intermediary method_76628 Lnet/minecraft/class_12348;method_76628(Lnet/minecraft/class_332;II)V
      official e Lgsf;e(Lghm;II)V
    • render

      public void render(DrawContext context, int mouseX, int mouseY, float deltaTicks)
      Specified by:
      render in interface Drawable
      Overrides:
      render in class HandledScreen<T extends MountScreenHandler>
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
      official a Lgjd;a(Lghm;IIF)V
    • getTexture

      protected abstract Identifier getTexture()
      Mappings:
      Namespace Name Mixin selector
      named getTexture Lnet/minecraft/client/gui/screen/ingame/MountScreen;getTexture()Lnet/minecraft/util/Identifier;
      intermediary method_76623 Lnet/minecraft/class_12348;method_76623()Lnet/minecraft/class_2960;
      official I Lgsf;I()Lamo;
    • getSlotTexture

      protected abstract Identifier getSlotTexture()
      Mappings:
      Namespace Name Mixin selector
      named getSlotTexture Lnet/minecraft/client/gui/screen/ingame/MountScreen;getSlotTexture()Lnet/minecraft/util/Identifier;
      intermediary method_76624 Lnet/minecraft/class_12348;method_76624()Lnet/minecraft/class_2960;
      official J Lgsf;J()Lamo;
    • getChestSlotsTexture

      protected abstract @Nullable Identifier getChestSlotsTexture()
      Mappings:
      Namespace Name Mixin selector
      named getChestSlotsTexture Lnet/minecraft/client/gui/screen/ingame/MountScreen;getChestSlotsTexture()Lnet/minecraft/util/Identifier;
      intermediary method_76625 Lnet/minecraft/class_12348;method_76625()Lnet/minecraft/class_2960;
      official K Lgsf;K()Lamo;
    • canEquipSaddle

      protected abstract boolean canEquipSaddle()
      Mappings:
      Namespace Name Mixin selector
      named canEquipSaddle Lnet/minecraft/client/gui/screen/ingame/MountScreen;canEquipSaddle()Z
      intermediary method_76626 Lnet/minecraft/class_12348;method_76626()Z
      official L Lgsf;L()Z
    • canEquipArmor

      protected abstract boolean canEquipArmor()
      Mappings:
      Namespace Name Mixin selector
      named canEquipArmor Lnet/minecraft/client/gui/screen/ingame/MountScreen;canEquipArmor()Z
      intermediary method_76627 Lnet/minecraft/class_12348;method_76627()Z
      official M Lgsf;M()Z