Package net.minecraft.client.gui.hud
Class SpectatorHud
java.lang.Object
net.minecraft.client.gui.hud.SpectatorHud
- All Implemented Interfaces:
SpectatorMenuCloseCallback
- Mappings:
Namespace Name named net/minecraft/client/gui/hud/SpectatorHud
intermediary net/minecraft/class_365
official fkf
-
Field Summary
Modifier and TypeFieldDescriptionprivate final MinecraftClient
private static final long
private static final long
private static final Identifier
private static final Identifier
private long
private @Nullable SpectatorMenu
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close
(SpectatorMenu menu) void
cycleSlot
(int offset) private float
boolean
isOpen()
void
render
(DrawContext context) private void
renderSpectatorCommand
(DrawContext context, int slot, int x, float y, float height, SpectatorMenuCommand command) void
renderSpectatorMenu
(DrawContext context) protected void
renderSpectatorMenu
(DrawContext context, float height, int x, int y, SpectatorMenuState state) void
selectSlot
(int slot) void
-
Field Details
-
HOTBAR_TEXTURE
- Mappings:
Namespace Name Mixin selector named HOTBAR_TEXTURE
Lnet/minecraft/client/gui/hud/SpectatorHud;HOTBAR_TEXTURE:Lnet/minecraft/util/Identifier;
intermediary field_45392
Lnet/minecraft/class_365;field_45392:Lnet/minecraft/class_2960;
official a
Lfkf;a:Lakq;
-
HOTBAR_SELECTION_TEXTURE
- Mappings:
Namespace Name Mixin selector named HOTBAR_SELECTION_TEXTURE
Lnet/minecraft/client/gui/hud/SpectatorHud;HOTBAR_SELECTION_TEXTURE:Lnet/minecraft/util/Identifier;
intermediary field_45393
Lnet/minecraft/class_365;field_45393:Lnet/minecraft/class_2960;
official b
Lfkf;b:Lakq;
-
FADE_OUT_DELAY
private static final long FADE_OUT_DELAY- See Also:
- Mappings:
Namespace Name Mixin selector named FADE_OUT_DELAY
Lnet/minecraft/client/gui/hud/SpectatorHud;FADE_OUT_DELAY:J
intermediary field_32215
Lnet/minecraft/class_365;field_32215:J
official c
Lfkf;c:J
-
FADE_OUT_DURATION
private static final long FADE_OUT_DURATION- See Also:
- Mappings:
Namespace Name Mixin selector named FADE_OUT_DURATION
Lnet/minecraft/client/gui/hud/SpectatorHud;FADE_OUT_DURATION:J
intermediary field_32216
Lnet/minecraft/class_365;field_32216:J
official d
Lfkf;d:J
-
client
- Mappings:
Namespace Name Mixin selector named client
Lnet/minecraft/client/gui/hud/SpectatorHud;client:Lnet/minecraft/client/MinecraftClient;
intermediary field_2201
Lnet/minecraft/class_365;field_2201:Lnet/minecraft/class_310;
official e
Lfkf;e:Lfgi;
-
lastInteractionTime
private long lastInteractionTime- Mappings:
Namespace Name Mixin selector named lastInteractionTime
Lnet/minecraft/client/gui/hud/SpectatorHud;lastInteractionTime:J
intermediary field_2198
Lnet/minecraft/class_365;field_2198:J
official f
Lfkf;f:J
-
spectatorMenu
- Mappings:
Namespace Name Mixin selector named spectatorMenu
Lnet/minecraft/client/gui/hud/SpectatorHud;spectatorMenu:Lnet/minecraft/client/gui/hud/spectator/SpectatorMenu;
intermediary field_2200
Lnet/minecraft/class_365;field_2200:Lnet/minecraft/class_531;
official g
Lfkf;g:Lftl;
-
-
Constructor Details
-
SpectatorHud
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/gui/hud/SpectatorHud;<init>(Lnet/minecraft/client/MinecraftClient;)V
intermediary <init>
Lnet/minecraft/class_365;<init>(Lnet/minecraft/class_310;)V
official <init>
Lfkf;<init>(Lfgi;)V
-
-
Method Details
-
selectSlot
public void selectSlot(int slot) - Mappings:
Namespace Name Mixin selector named selectSlot
Lnet/minecraft/client/gui/hud/SpectatorHud;selectSlot(I)V
intermediary method_1977
Lnet/minecraft/class_365;method_1977(I)V
official a
Lfkf;a(I)V
-
getSpectatorMenuHeight
private float getSpectatorMenuHeight()- Mappings:
Namespace Name Mixin selector named getSpectatorMenuHeight
Lnet/minecraft/client/gui/hud/SpectatorHud;getSpectatorMenuHeight()F
intermediary method_1981
Lnet/minecraft/class_365;method_1981()F
official c
Lfkf;c()F
-
renderSpectatorMenu
- Mappings:
Namespace Name Mixin selector named renderSpectatorMenu
Lnet/minecraft/client/gui/hud/SpectatorHud;renderSpectatorMenu(Lnet/minecraft/client/gui/DrawContext;)V
intermediary method_1978
Lnet/minecraft/class_365;method_1978(Lnet/minecraft/class_332;)V
official a
Lfkf;a(Lfht;)V
-
renderSpectatorMenu
protected void renderSpectatorMenu(DrawContext context, float height, int x, int y, SpectatorMenuState state) - Mappings:
Namespace Name Mixin selector named renderSpectatorMenu
Lnet/minecraft/client/gui/hud/SpectatorHud;renderSpectatorMenu(Lnet/minecraft/client/gui/DrawContext;FIILnet/minecraft/client/gui/hud/spectator/SpectatorMenuState;)V
intermediary method_1975
Lnet/minecraft/class_365;method_1975(Lnet/minecraft/class_332;FIILnet/minecraft/class_539;)V
official a
Lfkf;a(Lfht;FIILftp;)V
-
renderSpectatorCommand
private void renderSpectatorCommand(DrawContext context, int slot, int x, float y, float height, SpectatorMenuCommand command) - Mappings:
Namespace Name Mixin selector named renderSpectatorCommand
Lnet/minecraft/client/gui/hud/SpectatorHud;renderSpectatorCommand(Lnet/minecraft/client/gui/DrawContext;IIFFLnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommand;)V
intermediary method_1982
Lnet/minecraft/class_365;method_1982(Lnet/minecraft/class_332;IIFFLnet/minecraft/class_537;)V
official a
Lfkf;a(Lfht;IIFFLftn;)V
-
render
- Mappings:
Namespace Name Mixin selector named render
Lnet/minecraft/client/gui/hud/SpectatorHud;render(Lnet/minecraft/client/gui/DrawContext;)V
intermediary method_1979
Lnet/minecraft/class_365;method_1979(Lnet/minecraft/class_332;)V
official b
Lfkf;b(Lfht;)V
-
close
- Specified by:
close
in interfaceSpectatorMenuCloseCallback
- Mappings:
Namespace Name Mixin selector named close
Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCloseCallback;close(Lnet/minecraft/client/gui/hud/spectator/SpectatorMenu;)V
intermediary method_2782
Lnet/minecraft/class_536;method_2782(Lnet/minecraft/class_531;)V
official a
Lfto;a(Lftl;)V
-
isOpen
public boolean isOpen()- Mappings:
Namespace Name Mixin selector named isOpen
Lnet/minecraft/client/gui/hud/SpectatorHud;isOpen()Z
intermediary method_1980
Lnet/minecraft/class_365;method_1980()Z
official a
Lfkf;a()Z
-
cycleSlot
public void cycleSlot(int offset) - Mappings:
Namespace Name Mixin selector named cycleSlot
Lnet/minecraft/client/gui/hud/SpectatorHud;cycleSlot(I)V
intermediary method_1976
Lnet/minecraft/class_365;method_1976(I)V
official b
Lfkf;b(I)V
-
useSelectedCommand
public void useSelectedCommand()- Mappings:
Namespace Name Mixin selector named useSelectedCommand
Lnet/minecraft/client/gui/hud/SpectatorHud;useSelectedCommand()V
intermediary method_1983
Lnet/minecraft/class_365;method_1983()V
official b
Lfkf;b()V
-