-
-
Field Summary
Fields
protected final int
private final boolean
active, alpha, field_41797, field_42117, field_42118, field_42119, field_42120, height, hovered, visible, WIDGETS_TEXTURE, width
-
Constructor Summary
Constructors
-
Method Summary
protected void
void
protected void
void
appendDefaultNarrations, appendNarrations, clicked, forEachChild, getHeight, getMessage, getNarrationMessage, getNavigationFocus, getNavigationPath, getTexture, getTooltipPositioner, getType, getWidth, getX, getY, getYImage, isFocused, isHovered, isMouseOver, isNarratable, isValidClickButton, method_48588, method_48589, method_48590, method_48591, mouseClicked, mouseDragged, mouseReleased, onDrag, onRelease, playDownSound, render, renderBackground, renderButton, setAlpha, setFocused, setMessage, setTooltip, setTooltipDelay, setWidth, setX, setY
Methods inherited from class net.minecraft.client.gui.DrawableHelper
disableScissor, drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, enableScissor, fill, fill, fillGradient, fillGradient, fillGradient, getZOffset, method_48585, method_48586, method_48587, setZOffset
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
primary
private final boolean primary
- Mappings:
Namespace |
Name |
Mixin selector |
official |
c |
Lesg$d;c:Z |
intermediary |
field_17416 |
Lnet/minecraft/class_466$class_469;field_17416:Z |
named |
primary |
Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$EffectButtonWidget;primary:Z |
-
level
protected final int level
- Mappings:
Namespace |
Name |
Mixin selector |
official |
a |
Lesg$d;a:I |
intermediary |
field_33833 |
Lnet/minecraft/class_466$class_469;field_33833:I |
named |
level |
Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$EffectButtonWidget;level:I |
-
effect
- Mappings:
Namespace |
Name |
Mixin selector |
official |
d |
Lesg$d;d:Lbed; |
intermediary |
field_2813 |
Lnet/minecraft/class_466$class_469;field_2813:Lnet/minecraft/class_1291; |
named |
effect |
Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$EffectButtonWidget;effect:Lnet/minecraft/entity/effect/StatusEffect; |
-
sprite
- Mappings:
Namespace |
Name |
Mixin selector |
official |
e |
Lesg$d;e:Lfqt; |
intermediary |
field_18223 |
Lnet/minecraft/class_466$class_469;field_18223:Lnet/minecraft/class_1058; |
named |
sprite |
Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$EffectButtonWidget;sprite:Lnet/minecraft/client/texture/Sprite; |
-
Constructor Details
-
EffectButtonWidget
public EffectButtonWidget(int x,
int y,
StatusEffect statusEffect,
boolean primary,
int level)
- Mappings:
Namespace |
Name |
Mixin selector |
official |
<init> |
Lesg$d;<init>(Lesg;IILbed;ZI)V |
intermediary |
<init> |
Lnet/minecraft/class_466$class_469;<init>(Lnet/minecraft/class_466;IILnet/minecraft/class_1291;ZI)V |
named |
<init> |
Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$EffectButtonWidget;<init>(Lnet/minecraft/client/gui/screen/ingame/BeaconScreen;IILnet/minecraft/entity/effect/StatusEffect;ZI)V |
-
Method Details
-
init
- Mappings:
Namespace |
Name |
Mixin selector |
official |
a |
Lesg$d;a(Lbed;)V |
intermediary |
method_37081 |
Lnet/minecraft/class_466$class_469;method_37081(Lnet/minecraft/class_1291;)V |
named |
init |
Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$EffectButtonWidget;init(Lnet/minecraft/entity/effect/StatusEffect;)V |
-
getEffectName
- Mappings:
Namespace |
Name |
Mixin selector |
official |
b |
Lesg$d;b(Lbed;)Ltn; |
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; |
-
onPress
public void onPress()
- Specified by:
onPress
in class PressableWidget
- Mappings:
Namespace |
Name |
Mixin selector |
official |
c |
Lema;c()V |
intermediary |
method_25306 |
Lnet/minecraft/class_4264;method_25306()V |
named |
onPress |
Lnet/minecraft/client/gui/widget/PressableWidget;onPress()V |
-
-
tick
public void tick(int level)
- Mappings:
Namespace |
Name |
Mixin selector |
official |
a |
Lesg$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 |
-
getNarrationMessage
- Overrides:
getNarrationMessage
in class ClickableWidget
- Mappings:
Namespace |
Name |
Mixin selector |
official |
ax_ |
Lemf;ax_()Ltn; |
intermediary |
method_25360 |
Lnet/minecraft/class_339;method_25360()Lnet/minecraft/class_5250; |
named |
getNarrationMessage |
Lnet/minecraft/client/gui/widget/ClickableWidget;getNarrationMessage()Lnet/minecraft/text/MutableText; |