-
-
-
Method Summary
changeFocus, clicked, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getWidth, getYImage, isFocused, isHovered, isMouseOver, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, narrate, onDrag, onFocusedChanged, onRelease, playDownSound, queueNarration, render, renderBg, setAlpha, setFocused, setMessage, setWidth
Methods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, method_33284, setZOffset
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
effect
- Mappings:
Namespace |
Name |
Mixin selector |
official |
b |
Ldwd$c;b:Laqn; |
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 |
c |
Ldwd$c;c:Leru; |
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; |
-
primary
private final boolean primary
- Mappings:
Namespace |
Name |
Mixin selector |
official |
d |
Ldwd$c;d: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 |
-
text
- Mappings:
Namespace |
Name |
Mixin selector |
official |
e |
Ldwd$c;e:Loi; |
intermediary |
field_26562 |
Lnet/minecraft/class_466$class_469;field_26562:Lnet/minecraft/class_2561; |
named |
text |
Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$EffectButtonWidget;text:Lnet/minecraft/text/Text; |
-
Constructor Details
-
EffectButtonWidget
public EffectButtonWidget(
int x,
int y,
StatusEffect statusEffect,
boolean primary)
- Mappings:
Namespace |
Name |
Mixin selector |
official |
<init> |
Ldwd$c;<init>(Ldwd;IILaqn;Z)V |
intermediary |
<init> |
Lnet/minecraft/class_466$class_469;<init>(Lnet/minecraft/class_466;IILnet/minecraft/class_1291;Z)V |
named |
<init> |
Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$EffectButtonWidget;<init>(Lnet/minecraft/client/gui/screen/ingame/BeaconScreen;IILnet/minecraft/entity/effect/StatusEffect;Z)V |
-
Method Details
-
getTextForEffect
- Mappings:
Namespace |
Name |
Mixin selector |
official |
a |
Ldwd$c;a(Laqn;Z)Loi; |
intermediary |
method_30902 |
Lnet/minecraft/class_466$class_469;method_30902(Lnet/minecraft/class_1291;Z)Lnet/minecraft/class_2561; |
named |
getTextForEffect |
Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$EffectButtonWidget;getTextForEffect(Lnet/minecraft/entity/effect/StatusEffect;Z)Lnet/minecraft/text/Text; |
-
onPress
public void onPress()
- Specified by:
onPress
in class AbstractPressableButtonWidget
- Mappings:
Namespace |
Name |
Mixin selector |
official |
b |
Ldro;b()V |
intermediary |
method_25306 |
Lnet/minecraft/class_4264;method_25306()V |
named |
onPress |
Lnet/minecraft/client/gui/widget/AbstractPressableButtonWidget;onPress()V |
-
-