类 RealmsLabel
- java.lang.Object
-
- net.minecraft.client.realms.RealmsLabel
-
- 所有已实现的接口:
Element
@Environment(CLIENT) public class RealmsLabel extends Object implements Element
- Mappings:
Namespace Name official fanintermediary net/minecraft/class_4903named net/minecraft/client/realms/RealmsLabel
-
-
构造器概要
构造器 构造器 说明 RealmsLabel(Text text, int x, int y, int color)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetText()voidrender(Screen screen, MatrixStack matrices)-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.client.gui.Element
changeFocus, charTyped, isMouseOver, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseMoved, mouseReleased, mouseScrolled
-
-
-
-
字段详细资料
-
text
private final Text text
- Mappings:
Namespace Name Mixin selector official aLfan;a:Lon;intermediary field_22819Lnet/minecraft/class_4903;field_22819:Lnet/minecraft/class_2561;named textLnet/minecraft/client/realms/RealmsLabel;text:Lnet/minecraft/text/Text;
-
x
private final int x
- Mappings:
Namespace Name Mixin selector official bLfan;b:Iintermediary field_22820Lnet/minecraft/class_4903;field_22820:Inamed xLnet/minecraft/client/realms/RealmsLabel;x:I
-
y
private final int y
- Mappings:
Namespace Name Mixin selector official cLfan;c:Iintermediary field_22821Lnet/minecraft/class_4903;field_22821:Inamed yLnet/minecraft/client/realms/RealmsLabel;y:I
-
color
private final int color
- Mappings:
Namespace Name Mixin selector official dLfan;d:Iintermediary field_22822Lnet/minecraft/class_4903;field_22822:Inamed colorLnet/minecraft/client/realms/RealmsLabel;color:I
-
-
构造器详细资料
-
RealmsLabel
public RealmsLabel(Text text, int x, int y, int color)
- Mappings:
Namespace Name Mixin selector official <init>Lfan;<init>(Lon;III)Vintermediary <init>Lnet/minecraft/class_4903;<init>(Lnet/minecraft/class_2561;III)Vnamed <init>Lnet/minecraft/client/realms/RealmsLabel;<init>(Lnet/minecraft/text/Text;III)V
-
-
方法详细资料
-
render
public void render(Screen screen, MatrixStack matrices)
- Mappings:
Namespace Name Mixin selector official aLfan;a(Ldzg;Ldpi;)Vintermediary method_25488Lnet/minecraft/class_4903;method_25488(Lnet/minecraft/class_437;Lnet/minecraft/class_4587;)Vnamed renderLnet/minecraft/client/realms/RealmsLabel;render(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/util/math/MatrixStack;)V
-
getText
public String getText()
- Mappings:
Namespace Name Mixin selector official aLfan;a()Ljava/lang/String;intermediary method_25487Lnet/minecraft/class_4903;method_25487()Ljava/lang/String;named getTextLnet/minecraft/client/realms/RealmsLabel;getText()Ljava/lang/String;
-
-