Class BeaconScreen.LevelTwoEffectButtonWidget
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.widget.ClickableWidget
net.minecraft.client.gui.widget.PressableWidget
net.minecraft.client.gui.screen.ingame.BeaconScreen.BaseButtonWidget
net.minecraft.client.gui.screen.ingame.BeaconScreen.EffectButtonWidget
net.minecraft.client.gui.screen.ingame.BeaconScreen.LevelTwoEffectButtonWidget
- All Implemented Interfaces:
Drawable
,Element
,Narratable
,BeaconScreen.BeaconButtonWidget
,Selectable
- Enclosing class:
BeaconScreen
@Environment(CLIENT)
private class BeaconScreen.LevelTwoEffectButtonWidget
extends BeaconScreen.EffectButtonWidget
- Mappings:
Namespace Name official elj$g
intermediary net/minecraft/class_466$class_6393
named net/minecraft/client/gui/screen/ingame/BeaconScreen$LevelTwoEffectButtonWidget
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType
-
Field Summary
Fields inherited from class net.minecraft.client.gui.screen.ingame.BeaconScreen.EffectButtonWidget
level
Fields inherited from class net.minecraft.client.gui.widget.ClickableWidget
active, alpha, height, hovered, visible, WIDGETS_TEXTURE, width, x, y
Fields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected MutableText
getEffectName
(StatusEffect statusEffect) void
tick
(int level) Methods inherited from class net.minecraft.client.gui.screen.ingame.BeaconScreen.EffectButtonWidget
getNarrationMessage, init, onPress, renderExtra, renderTooltip
Methods inherited from class net.minecraft.client.gui.screen.ingame.BeaconScreen.BaseButtonWidget
appendNarrations, isDisabled, renderButton, setDisabled, shouldRenderTooltip
Methods inherited from class net.minecraft.client.gui.widget.PressableWidget
keyPressed, onClick
Methods inherited from class net.minecraft.client.gui.widget.ClickableWidget
appendDefaultNarrations, changeFocus, clicked, getHeight, getMessage, getNarrationMessage, getType, getWidth, getYImage, isFocused, isHovered, isMouseOver, isNarratable, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, onDrag, onFocusedChanged, onRelease, playDownSound, render, renderBackground, setAlpha, setFocused, setMessage, setWidth
Methods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, fill, fillGradient, fillGradient, fillGradient, getZOffset, setZOffset
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.Element
charTyped, keyReleased, mouseMoved, mouseScrolled
-
Constructor Details
-
LevelTwoEffectButtonWidget
- Mappings:
Namespace Name Mixin selector official <init>
Lelj$g;<init>(Lelj;IILbah;)V
intermediary <init>
Lnet/minecraft/class_466$class_6393;<init>(Lnet/minecraft/class_466;IILnet/minecraft/class_1291;)V
named <init>
Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$LevelTwoEffectButtonWidget;<init>(Lnet/minecraft/client/gui/screen/ingame/BeaconScreen;IILnet/minecraft/entity/effect/StatusEffect;)V
-
-
Method Details
-
getEffectName
- Overrides:
getEffectName
in classBeaconScreen.EffectButtonWidget
- Mappings:
Namespace Name Mixin selector official b
Lelj$d;b(Lbah;)Lrt;
intermediary method_37082
Lnet/minecraft/class_466$class_469;method_37082(Lnet/minecraft/class_1291;)Lnet/minecraft/class_5250;
named getEffectName
Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$EffectButtonWidget;getEffectName(Lnet/minecraft/entity/effect/StatusEffect;)Lnet/minecraft/text/MutableText;
-
tick
public void tick(int level) - Specified by:
tick
in interfaceBeaconScreen.BeaconButtonWidget
- Overrides:
tick
in classBeaconScreen.EffectButtonWidget
- Mappings:
Namespace Name Mixin selector official a
Lelj$a;a(I)V
intermediary method_37080
Lnet/minecraft/class_466$class_6392;method_37080(I)V
named tick
Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$BeaconButtonWidget;tick(I)V
-