Class BeaconScreen.LevelTwoEffectButtonWidget
java.lang.Object
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
,Navigable
,BeaconScreen.BeaconButtonWidget
,Selectable
,Widget
- Enclosing class:
BeaconScreen
@Environment(CLIENT)
private class BeaconScreen.LevelTwoEffectButtonWidget
extends BeaconScreen.EffectButtonWidget
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/ingame/BeaconScreen$LevelTwoEffectButtonWidget
intermediary net/minecraft/class_466$class_6393
official fog$g
-
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.PressableWidget
field_43050
Fields inherited from class net.minecraft.client.gui.widget.ClickableWidget
active, alpha, height, hovered, visible, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
ConstructorDescriptionLevelTwoEffectButtonWidget
(int x, int y, RegistryEntry<StatusEffect> effect) -
Method Summary
Modifier and TypeMethodDescriptionprotected MutableText
getEffectName
(RegistryEntry<StatusEffect> effect) void
tick
(int level) Methods inherited from class net.minecraft.client.gui.screen.ingame.BeaconScreen.EffectButtonWidget
getNarrationMessage, init, onPress, renderExtra
Methods inherited from class net.minecraft.client.gui.screen.ingame.BeaconScreen.BaseButtonWidget
appendClickableNarrations, isDisabled, renderWidget, setDisabled
Methods inherited from class net.minecraft.client.gui.widget.PressableWidget
drawMessage, keyPressed, onClick
Methods inherited from class net.minecraft.client.gui.widget.ClickableWidget
appendDefaultNarrations, appendNarrations, clicked, drawScrollableText, drawScrollableText, drawScrollableText, forEachChild, getBottom, getHeight, getMessage, getNarrationMessage, getNavigationFocus, getNavigationOrder, getNavigationPath, getRight, getTooltip, getType, getWidth, getX, getY, isFocused, isHovered, isMouseOver, isNarratable, isSelected, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, onDrag, onRelease, playDownSound, render, setAlpha, setDimensions, setDimensionsAndPosition, setFocused, setHeight, setMessage, setNavigationOrder, setTooltip, setTooltipDelay, setWidth, setX, setY
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, getFocusedPath, keyReleased, mouseMoved, mouseScrolled
Methods inherited from interface net.minecraft.client.gui.widget.Widget
setPosition
-
Constructor Details
-
LevelTwoEffectButtonWidget
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$LevelTwoEffectButtonWidget;<init>(Lnet/minecraft/client/gui/screen/ingame/BeaconScreen;IILnet/minecraft/registry/entry/RegistryEntry;)V
intermediary <init>
Lnet/minecraft/class_466$class_6393;<init>(Lnet/minecraft/class_466;IILnet/minecraft/class_6880;)V
official <init>
Lfog$g;<init>(Lfog;IILji;)V
-
-
Method Details
-
getEffectName
- Overrides:
getEffectName
in classBeaconScreen.EffectButtonWidget
- Mappings:
Namespace Name Mixin selector named getEffectName
Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$EffectButtonWidget;getEffectName(Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/text/MutableText;
intermediary method_37082
Lnet/minecraft/class_466$class_469;method_37082(Lnet/minecraft/class_6880;)Lnet/minecraft/class_5250;
official b
Lfog$d;b(Lji;)Lyd;
-
tick
public void tick(int level) - Specified by:
tick
in interfaceBeaconScreen.BeaconButtonWidget
- Overrides:
tick
in classBeaconScreen.EffectButtonWidget
- Mappings:
Namespace Name Mixin selector named tick
Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$BeaconButtonWidget;tick(I)V
intermediary method_37080
Lnet/minecraft/class_466$class_6392;method_37080(I)V
official a
Lfog$a;a(I)V
-