类 WorldListWidget.Entry
- java.lang.Object
-
- net.minecraft.client.gui.widget.EntryListWidget.Entry<E>
-
- net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget.Entry<WorldListWidget.Entry>
-
- net.minecraft.client.gui.screen.world.WorldListWidget.Entry
-
- 所有已实现的接口:
AutoCloseable,Element
- 封闭类:
- WorldListWidget
@Environment(CLIENT) public final class WorldListWidget.Entry extends AlwaysSelectedEntryListWidget.Entry<WorldListWidget.Entry> implements AutoCloseable
- Mappings:
Namespace Name official eda$aintermediary net/minecraft/class_528$class_4272named net/minecraft/client/gui/screen/world/WorldListWidget$Entry
-
-
字段概要
字段 修饰符和类型 字段 说明 private MinecraftClientclientprivate static intfield_32435private static intfield_32436private static intfield_32437private static intfield_32438private static intfield_32439private static intfield_32440private static intfield_32441private static intfield_32442private @Nullable NativeImageBackedTextureiconprivate FileiconFileprivate IdentifiericonLocationprivate LevelSummarylevelprivate SelectWorldScreenscreenprivate longtime
-
构造器概要
构造器 构造器 说明 Entry(WorldListWidget levelList, LevelSummary level)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidclose()voiddelete()voidedit()private @Nullable NativeImageBackedTexturegetIconTexture()StringgetLevelDisplayName()private voidmethod_29990()voidmethod_33685()booleanmouseClicked(double mouseX, double mouseY, int button)Callback for when a mouse button down event has been captured.voidplay()voidrecreate()voidrender(MatrixStack matrices, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta)Renders an entry in a list.private voidstart()-
从类继承的方法 net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget.Entry
changeFocus
-
从类继承的方法 net.minecraft.client.gui.widget.EntryListWidget.Entry
isMouseOver
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.client.gui.Element
charTyped, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled
-
-
-
-
字段详细资料
-
field_32435
private static final int field_32435
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official bLeda$a;b:Iintermediary field_32435Lnet/minecraft/class_528$class_4272;field_32435:Inamed field_32435Lnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;field_32435:I
-
field_32436
private static final int field_32436
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official cLeda$a;c:Iintermediary field_32436Lnet/minecraft/class_528$class_4272;field_32436:Inamed field_32436Lnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;field_32436:I
-
field_32437
private static final int field_32437
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official dLeda$a;d:Iintermediary field_32437Lnet/minecraft/class_528$class_4272;field_32437:Inamed field_32437Lnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;field_32437:I
-
field_32438
private static final int field_32438
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official eLeda$a;e:Iintermediary field_32438Lnet/minecraft/class_528$class_4272;field_32438:Inamed field_32438Lnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;field_32438:I
-
field_32439
private static final int field_32439
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official fLeda$a;f:Iintermediary field_32439Lnet/minecraft/class_528$class_4272;field_32439:Inamed field_32439Lnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;field_32439:I
-
field_32440
private static final int field_32440
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official gLeda$a;g:Iintermediary field_32440Lnet/minecraft/class_528$class_4272;field_32440:Inamed field_32440Lnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;field_32440:I
-
field_32441
private static final int field_32441
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official hLeda$a;h:Iintermediary field_32441Lnet/minecraft/class_528$class_4272;field_32441:Inamed field_32441Lnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;field_32441:I
-
field_32442
private static final int field_32442
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official iLeda$a;i:Iintermediary field_32442Lnet/minecraft/class_528$class_4272;field_32442:Inamed field_32442Lnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;field_32442:I
-
client
private final MinecraftClient client
- Mappings:
Namespace Name Mixin selector official jLeda$a;j:Ldum;intermediary field_19136Lnet/minecraft/class_528$class_4272;field_19136:Lnet/minecraft/class_310;named clientLnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;client:Lnet/minecraft/client/MinecraftClient;
-
screen
private final SelectWorldScreen screen
- Mappings:
Namespace Name Mixin selector official kLeda$a;k:Lecx;intermediary field_19137Lnet/minecraft/class_528$class_4272;field_19137:Lnet/minecraft/class_526;named screenLnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;screen:Lnet/minecraft/client/gui/screen/world/SelectWorldScreen;
-
level
private final LevelSummary level
- Mappings:
Namespace Name Mixin selector official lLeda$a;l:Ldhc;intermediary field_19138Lnet/minecraft/class_528$class_4272;field_19138:Lnet/minecraft/class_34;named levelLnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;level:Lnet/minecraft/world/level/storage/LevelSummary;
-
iconLocation
private final Identifier iconLocation
- Mappings:
Namespace Name Mixin selector official mLeda$a;m:Lwp;intermediary field_19139Lnet/minecraft/class_528$class_4272;field_19139:Lnet/minecraft/class_2960;named iconLocationLnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;iconLocation:Lnet/minecraft/util/Identifier;
-
iconFile
private File iconFile
- Mappings:
Namespace Name Mixin selector official nLeda$a;n:Ljava/io/File;intermediary field_19140Lnet/minecraft/class_528$class_4272;field_19140:Ljava/io/File;named iconFileLnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;iconFile:Ljava/io/File;
-
icon
@Nullable private final @Nullable NativeImageBackedTexture icon
- Mappings:
Namespace Name Mixin selector official oLeda$a;o:Levt;intermediary field_19141Lnet/minecraft/class_528$class_4272;field_19141:Lnet/minecraft/class_1043;named iconLnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;icon:Lnet/minecraft/client/texture/NativeImageBackedTexture;
-
time
private long time
- Mappings:
Namespace Name Mixin selector official pLeda$a;p:Jintermediary field_19142Lnet/minecraft/class_528$class_4272;field_19142:Jnamed timeLnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;time:J
-
-
构造器详细资料
-
Entry
public Entry(WorldListWidget levelList, LevelSummary level)
- Mappings:
Namespace Name Mixin selector official <init>Leda$a;<init>(Leda;Leda;Ldhc;)Vintermediary <init>Lnet/minecraft/class_528$class_4272;<init>(Lnet/minecraft/class_528;Lnet/minecraft/class_528;Lnet/minecraft/class_34;)Vnamed <init>Lnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;<init>(Lnet/minecraft/client/gui/screen/world/WorldListWidget;Lnet/minecraft/client/gui/screen/world/WorldListWidget;Lnet/minecraft/world/level/storage/LevelSummary;)V
-
-
方法详细资料
-
render
public void render(MatrixStack matrices, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta)
Renders an entry in a list.- 指定者:
render在类中EntryListWidget.Entry<WorldListWidget.Entry>- 参数:
matrices- the matrix stack used for renderingindex- the index of the entryy- the Y coordinate of the entryx- the X coordinate of the entryentryWidth- the width of the entryentryHeight- the height of the entrymouseX- the X coordinate of the mousemouseY- the Y coordinate of the mousehovered- whether the mouse is hovering over the entry- Mappings:
Namespace Name Mixin selector official aLdvs$a;a(Ldpi;IIIIIIIZF)Vintermediary method_25343Lnet/minecraft/class_350$class_351;method_25343(Lnet/minecraft/class_4587;IIIIIIIZF)Vnamed renderLnet/minecraft/client/gui/widget/EntryListWidget$Entry;render(Lnet/minecraft/client/util/math/MatrixStack;IIIIIIIZF)V
-
mouseClicked
public boolean mouseClicked(double mouseX, double mouseY, int button)Callback for when a mouse button down event has been captured. The button number is identified by the constants inGLFWclass.- 指定者:
mouseClicked在接口中Element- 参数:
mouseX- the X coordinate of the mousemouseY- the Y coordinate of the mousebutton- the mouse button number- 返回:
trueto indicate that the event handling is successful/valid- 另请参阅:
Mouse.onMouseButton(long, int, int, int),GLFW.GLFW_MOUSE_BUTTON_1- Mappings:
Namespace Name Mixin selector official aLdwv;a(DDI)Zintermediary method_25402Lnet/minecraft/class_364;method_25402(DDI)Znamed mouseClickedLnet/minecraft/client/gui/Element;mouseClicked(DDI)Z
-
play
public void play()
- Mappings:
Namespace Name Mixin selector official aLeda$a;a()Vintermediary method_20164Lnet/minecraft/class_528$class_4272;method_20164()Vnamed playLnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;play()V
-
delete
public void delete()
- Mappings:
Namespace Name Mixin selector official bLeda$a;b()Vintermediary method_20169Lnet/minecraft/class_528$class_4272;method_20169()Vnamed deleteLnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;delete()V
-
method_33685
public void method_33685()
- Mappings:
Namespace Name Mixin selector official cLeda$a;c()Vintermediary method_33685Lnet/minecraft/class_528$class_4272;method_33685()Vnamed method_33685Lnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;method_33685()V
-
edit
public void edit()
- Mappings:
Namespace Name Mixin selector official dLeda$a;d()Vintermediary method_20171Lnet/minecraft/class_528$class_4272;method_20171()Vnamed editLnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;edit()V
-
recreate
public void recreate()
- Mappings:
Namespace Name Mixin selector official eLeda$a;e()Vintermediary method_20173Lnet/minecraft/class_528$class_4272;method_20173()Vnamed recreateLnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;recreate()V
-
start
private void start()
- Mappings:
Namespace Name Mixin selector official gLeda$a;g()Vintermediary method_20174Lnet/minecraft/class_528$class_4272;method_20174()Vnamed startLnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;start()V
-
method_29990
private void method_29990()
- Mappings:
Namespace Name Mixin selector official hLeda$a;h()Vintermediary method_29990Lnet/minecraft/class_528$class_4272;method_29990()Vnamed method_29990Lnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;method_29990()V
-
getIconTexture
@Nullable private @Nullable NativeImageBackedTexture getIconTexture()
- Mappings:
Namespace Name Mixin selector official iLeda$a;i()Levt;intermediary method_20175Lnet/minecraft/class_528$class_4272;method_20175()Lnet/minecraft/class_1043;named getIconTextureLnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;getIconTexture()Lnet/minecraft/client/texture/NativeImageBackedTexture;
-
close
public void close()
- 指定者:
close在接口中AutoCloseable- Mappings:
Namespace Name Mixin selector official closeLeda$a;close()Vintermediary closeLnet/minecraft/class_528$class_4272;close()Vnamed closeLnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;close()V
-
getLevelDisplayName
public String getLevelDisplayName()
- Mappings:
Namespace Name Mixin selector official fLeda$a;f()Ljava/lang/String;intermediary method_35740Lnet/minecraft/class_528$class_4272;method_35740()Ljava/lang/String;named getLevelDisplayNameLnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;getLevelDisplayName()Ljava/lang/String;
-
-