Package net.minecraft.client.gui.screens.reporting
Part 1/1
AbstractReportScreen
- Full name:
net.minecraft.client.gui.screens.reporting.AbstractReportScreen - Package:
net.minecraft.client.gui.screens.reporting - Source:
clientOnly—net/minecraft/client/gui/screens/reporting/AbstractReportScreen.java - Type:
class - Modifiers:
public abstract - Extends:
Screen
net.minecraft.client.gui.screens.reporting.AbstractReportScreen#AbstractReportScreen(Component,Screen,ReportingContext,B)
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/AbstractReportScreen.java:57 - Modifiers:
protected - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ AbstractReportScreen ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: lastScreen, reportingContext, reportBuilder.
Parameters
Component componentScreen screenReportingContext reportingContextB builder
ตัวอย่างใช้งาน
Component component = ...;
Screen screen = ...;
ReportingContext reportingContext = ...;
B builder = ...;
AbstractReportScreen instance = new AbstractReportScreen(component, screen, reportingContext, builder);
net.minecraft.client.gui.screens.reporting.AbstractReportScreen#addContent()
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/AbstractReportScreen.java:90 - Modifiers:
protected abstract - Return:
void
คืออะไร
เพิ่ม Content
ทำงานยังไง
ไม่มี implementation ใน declaration นี้; คลาสลูก/implementation เป็นผู้กำหนดพฤติกรรมจริง
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.gui.screens.reporting.AbstractReportScreen#createCommentBox(int,int,Consumer<String>)
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/AbstractReportScreen.java:64 - Modifiers:
protected - Return:
MultiLineEditBox
คืออะไร
สร้าง Comment Box
ทำงานยังไง
เรียกต่อ: sender(), reportLimits(), setValue(), comments(), setCharacterLimit(), maxOpinionCommentsLength(), setValueListener(). สร้างออบเจ็กต์: MultiLineEditBox. คืนค่า: multiLineEditBox.
Parameters
int iint jConsumer<String> consumer
ตัวอย่างใช้งาน
Consumer<String> consumer = ...;
@Override
protected MultiLineEditBox createCommentBox(int i, int j, Consumer<String> consumer) {
return super.createCommentBox(i, j, consumer);
}
net.minecraft.client.gui.screens.reporting.AbstractReportScreen#createFooter()
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/AbstractReportScreen.java:92 - Modifiers:
protected - Return:
void
คืออะไร
สร้าง Footer
ทำงานยังไง
แก้ state: attestation, sendButton. เรียกต่อ: addChild(), builder(), selected(), attested(), maxWidth(), onValueChange(), setAttested(), onReportChanged().
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.gui.screens.reporting.AbstractReportScreen#createHeader()
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/AbstractReportScreen.java:86 - Modifiers:
protected - Return:
void
คืออะไร
สร้าง Header
ทำงานยังไง
เรียกต่อ: addChild(). สร้างออบเจ็กต์: StringWidget.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.gui.screens.reporting.AbstractReportScreen#init()
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/AbstractReportScreen.java:73 - Modifiers:
protected - Return:
void
คืออะไร
ดำเนินการ init ตาม implementation ของ AbstractReportScreen
ทำงานยังไง
เรียกต่อ: defaultCellSetting(), alignHorizontallyCenter(), createHeader(), addContent(), createFooter(), onReportChanged(), visitWidgets(), addRenderableWidget().
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.gui.screens.reporting.AbstractReportScreen#onClose()
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/AbstractReportScreen.java:172 - Modifiers:
public - Return:
void
คืออะไร
จัดการเหตุการณ์ Close
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: hasContent(), setScreen(), DiscardReportWarningScreen(). สร้างออบเจ็กต์: AbstractReportScreen.DiscardReportWarningScreen.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.gui.screens.reporting.AbstractReportScreen#onReportChanged()
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/AbstractReportScreen.java:103 - Modifiers:
protected - Return:
void
คืออะไร
จัดการเหตุการณ์ Report Changed
ทำงานยังไง
เรียกต่อ: checkBuildable(), selected(), setTooltip(), map().
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.gui.screens.reporting.AbstractReportScreen#removed()
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/AbstractReportScreen.java:181 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ removed ตาม implementation ของ AbstractReportScreen
ทำงานยังไง
เรียกต่อ: saveDraft().
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.gui.screens.reporting.AbstractReportScreen#repositionElements()
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/AbstractReportScreen.java:109 - Modifiers:
protected - Return:
void
คืออะไร
ดำเนินการ repositionElements ตาม implementation ของ AbstractReportScreen
ทำงานยังไง
เรียกต่อ: arrangeElements(), centerInRectangle(), getRectangle().
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.gui.screens.reporting.AbstractReportScreen#sendReport()
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/AbstractReportScreen.java:115 - Modifiers:
protected - Return:
void
คืออะไร
ส่ง Report
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: build(), ifLeft(), sender(), send(), id(), reportType(), report(), setScreen(). มีจุด return อย่างน้อย 2 จุด.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
ChatReportScreen
- Full name:
net.minecraft.client.gui.screens.reporting.ChatReportScreen - Package:
net.minecraft.client.gui.screens.reporting - Source:
clientOnly—net/minecraft/client/gui/screens/reporting/ChatReportScreen.java - Type:
class - Modifiers:
public - Extends:
AbstractReportScreen<ChatReport.Builder>
net.minecraft.client.gui.screens.reporting.ChatReportScreen#addContent()
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ChatReportScreen.java:37 - Modifiers:
protected - Return:
void
คืออะไร
เพิ่ม Content
ทำงานยังไง
แก้ state: selectMessagesButton, reportBuilder, selectReasonButton, commentBox. เรียกต่อ: addChild(), builder(), setScreen(), onReportChanged(), width(), build(), reason(), setReason(). สร้างออบเจ็กต์: ChatSelectionScreen, ReportReasonSelectionScreen.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.gui.screens.reporting.ChatReportScreen#ChatReportScreen(Screen,ReportingContext,ChatReport)
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ChatReportScreen.java:33 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ ChatReportScreen ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
เรียกต่อ: Builder(), sender(), reportLimits(). สร้างออบเจ็กต์: ChatReport.Builder.
Parameters
Screen screenReportingContext reportingContextChatReport chatReport
ตัวอย่างใช้งาน
Screen screen = ...;
ReportingContext reportingContext = ...;
ChatReport chatReport = ...;
ChatReportScreen instance = new ChatReportScreen(screen, reportingContext, chatReport);
net.minecraft.client.gui.screens.reporting.ChatReportScreen#ChatReportScreen(Screen,ReportingContext,UUID)
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ChatReportScreen.java:29 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ ChatReportScreen ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
เรียกต่อ: Builder(), sender(), reportLimits(). สร้างออบเจ็กต์: ChatReport.Builder.
Parameters
Screen screenReportingContext reportingContextUUID uUID
ตัวอย่างใช้งาน
Screen screen = ...;
ReportingContext reportingContext = ...;
UUID uUID = ...;
ChatReportScreen instance = new ChatReportScreen(screen, reportingContext, uUID);
net.minecraft.client.gui.screens.reporting.ChatReportScreen#mouseReleased(double,double,int)
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ChatReportScreen.java:85 - Modifiers:
public - Return:
boolean
คืออะไร
ดำเนินการ mouseReleased ตาม implementation ของ ChatReportScreen
ทำงานยังไง
คืนค่า: super.mouseReleased(d, e, i) ? true : this.commentBox.mouseReleased(d, e, i).
Parameters
double ddouble eint i
ตัวอย่างใช้งาน
net.minecraft.client.gui.screens.reporting.ChatReportScreen#onReportChanged()
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ChatReportScreen.java:66 - Modifiers:
protected - Return:
void
คืออะไร
จัดการเหตุการณ์ Report Changed
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: reportedMessages(), isEmpty(), setMessage(), translatable(), size(), reason(), title().
Parameters
- ไม่มี
ตัวอย่างใช้งาน
ChatSelectionLogFiller
- Full name:
net.minecraft.client.gui.screens.reporting.ChatSelectionLogFiller - Package:
net.minecraft.client.gui.screens.reporting - Source:
clientOnly—net/minecraft/client/gui/screens/reporting/ChatSelectionLogFiller.java - Type:
class - Modifiers:
public
net.minecraft.client.gui.screens.reporting.ChatSelectionLogFiller#ChatSelectionLogFiller(ReportingContext,Predicate<LoggedChatMessage.Player>)
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ChatSelectionLogFiller.java:29 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ ChatSelectionLogFiller ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: log, contextBuilder, canReport, eventId. เรียกต่อ: chatLog(), sender(), reportLimits(), leadingContextMessageCount(), end(). สร้างออบเจ็กต์: ChatReportContextBuilder.
Parameters
ReportingContext reportingContextPredicate<LoggedChatMessage.Player> predicate
ตัวอย่างใช้งาน
ReportingContext reportingContext = ...;
Predicate<LoggedChatMessage.Player> predicate = ...;
ChatSelectionLogFiller instance = new ChatSelectionLogFiller(reportingContext, predicate);
net.minecraft.client.gui.screens.reporting.ChatSelectionLogFiller#fillNextPage(int,ChatSelectionLogFiller.Output)
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ChatSelectionLogFiller.java:36 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ fillNextPage ตาม implementation ของ ChatSelectionLogFiller
ทำงานยังไง
ตรวจเงื่อนไขด้วย if ; มีการวนลูป. แก้ state: eventId, missedCount, lastMessage. เรียกต่อ: lookup(), message(), equals(), acceptMessage(), acceptDivider(), translatable().
Parameters
int iChatSelectionLogFiller.Output output
ตัวอย่างใช้งาน
ChatSelectionLogFiller instance = ...;
ChatSelectionLogFiller.Output output = ...;
instance.fillNextPage(0, output);
ChatSelectionLogFiller$Output
- Full name:
net.minecraft.client.gui.screens.reporting.ChatSelectionLogFiller$Output - Package:
net.minecraft.client.gui.screens.reporting - Source:
clientOnly—net/minecraft/client/gui/screens/reporting/ChatSelectionLogFiller.java - Type:
interface - Modifiers:
public
net.minecraft.client.gui.screens.reporting.ChatSelectionLogFiller$Output#acceptDivider(Component)
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ChatSelectionLogFiller.java:84 - Modifiers: ``
- Return:
void
คืออะไร
รับค่า Divider
ทำงานยังไง
ไม่มี body ใน source declaration นี้
Parameters
Component component
ตัวอย่างใช้งาน
ChatSelectionLogFiller.Output instance = ...;
Component component = ...;
instance.acceptDivider(component);
net.minecraft.client.gui.screens.reporting.ChatSelectionLogFiller$Output#acceptMessage(int,LoggedChatMessage.Player)
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ChatSelectionLogFiller.java:82 - Modifiers: ``
- Return:
void
คืออะไร
รับค่า Message
ทำงานยังไง
ไม่มี body ใน source declaration นี้
Parameters
int iLoggedChatMessage.Player player
ตัวอย่างใช้งาน
ChatSelectionLogFiller.Output instance = ...;
LoggedChatMessage.Player player = ...;
instance.acceptMessage(0, player);
ChatSelectionScreen
- Full name:
net.minecraft.client.gui.screens.reporting.ChatSelectionScreen - Package:
net.minecraft.client.gui.screens.reporting - Source:
clientOnly—net/minecraft/client/gui/screens/reporting/ChatSelectionScreen.java - Type:
class - Modifiers:
public - Extends:
Screen
net.minecraft.client.gui.screens.reporting.ChatSelectionScreen#ChatSelectionScreen(Screen,ReportingContext,ChatReport.Builder,Consumer<ChatReport.Builder>)
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ChatSelectionScreen.java:53 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ ChatSelectionScreen ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: lastScreen, reportingContext, report, onSelected. เรียกต่อ: copy().
Parameters
Screen screenReportingContext reportingContextChatReport.Builder builderConsumer<ChatReport.Builder> consumer
ตัวอย่างใช้งาน
Screen screen = ...;
ReportingContext reportingContext = ...;
ChatReport.Builder builder = ...;
Consumer<ChatReport.Builder> consumer = ...;
ChatSelectionScreen instance = new ChatSelectionScreen(screen, reportingContext, builder, consumer);
net.minecraft.client.gui.screens.reporting.ChatSelectionScreen#getNarrationMessage()
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ChatSelectionScreen.java:110 - Modifiers:
public - Return:
Component
คืออะไร
อ่านค่า Narration Message
ทำงานยังไง
เรียกต่อ: joinForNarration(). คืนค่า: CommonComponents.joinForNarration(new Component[]{super.getNarrationMessage(), CONTEXT_INFO}).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.gui.screens.reporting.ChatSelectionScreen#init()
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ChatSelectionScreen.java:61 - Modifiers:
protected - Return:
void
คืออะไร
ดำเนินการ init ตาม implementation ของ ChatSelectionScreen
ทำงานยังไง
แก้ state: chatLogFiller, contextInfoLabel, chatSelectionList, confirmSelectedButton. เรียกต่อ: create(), addRenderableWidget(), ChatSelectionList(), getLineCount(), builder(), onClose(), bounds(), build(). สร้างออบเจ็กต์: ChatSelectionLogFiller, ChatSelectionScreen.ChatSelectionList.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.gui.screens.reporting.ChatSelectionScreen#onClose()
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ChatSelectionScreen.java:105 - Modifiers:
public - Return:
void
คืออะไร
จัดการเหตุการณ์ Close
ทำงานยังไง
เรียกต่อ: setScreen().
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.gui.screens.reporting.ChatSelectionScreen#render(GuiGraphics,int,int,float)
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ChatSelectionScreen.java:93 - Modifiers:
public - Return:
void
คืออะไร
เรนเดอร์ render
ทำงานยังไง
เรียกต่อ: drawCenteredString(), sender(), reportLimits(), reportedMessages(), size(), maxReportedMessageCount(), translatable(), renderCentered().
Parameters
GuiGraphics guiGraphicsint iint jfloat f
ตัวอย่างใช้งาน
ChatSelectionScreen instance = ...;
GuiGraphics guiGraphics = ...;
instance.render(guiGraphics, 0, 0, 0.0F);
ChatSelectionScreen$ChatSelectionList
- Full name:
net.minecraft.client.gui.screens.reporting.ChatSelectionScreen$ChatSelectionList - Package:
net.minecraft.client.gui.screens.reporting - Source:
clientOnly—net/minecraft/client/gui/screens/reporting/ChatSelectionScreen.java - Type:
class - Modifiers:
public - Extends:
ObjectSelectionList<ChatSelectionScreen.ChatSelectionList.Entry> - Implements:
ChatSelectionLogFiller.Output
net.minecraft.client.gui.screens.reporting.ChatSelectionScreen$ChatSelectionList#acceptDivider(Component)
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ChatSelectionScreen.java:158 - Modifiers:
public - Return:
void
คืออะไร
รับค่า Divider
ทำงานยังไง
แก้ state: previousHeading. เรียกต่อ: addEntryToTop(), PaddingEntry(), DividerEntry(). สร้างออบเจ็กต์: ChatSelectionScreen.ChatSelectionList.PaddingEntry, ChatSelectionScreen.ChatSelectionList.DividerEntry.
Parameters
Component component
ตัวอย่างใช้งาน
ChatSelectionScreen.ChatSelectionList instance = ...;
Component component = ...;
instance.acceptDivider(component);
net.minecraft.client.gui.screens.reporting.ChatSelectionScreen$ChatSelectionList#acceptMessage(int,LoggedChatMessage.Player)
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ChatSelectionScreen.java:133 - Modifiers:
public - Return:
void
คืออะไร
รับค่า Message
ทำงานยังไง
เรียกต่อ: canReport(), reportedProfileId(), trustLevel(), createTag(), message(), MessageEntry(), toContentComponent(), toNarrationComponent(). สร้างออบเจ็กต์: ChatSelectionScreen.ChatSelectionList.MessageEntry.
Parameters
int iLoggedChatMessage.Player player
ตัวอย่างใช้งาน
ChatSelectionScreen.ChatSelectionList instance = ...;
LoggedChatMessage.Player player = ...;
instance.acceptMessage(0, player);
net.minecraft.client.gui.screens.reporting.ChatSelectionScreen$ChatSelectionList#ChatSelectionList(Minecraft,int)
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ChatSelectionScreen.java:120 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ ChatSelectionScreen.ChatSelectionList ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 1 statement).
Parameters
Minecraft minecraftint i
ตัวอย่างใช้งาน
Minecraft minecraft = ...;
ChatSelectionScreen.ChatSelectionList instance = new ChatSelectionScreen.ChatSelectionList(minecraft, 0);
net.minecraft.client.gui.screens.reporting.ChatSelectionScreen$ChatSelectionList#getFooterTop()
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ChatSelectionScreen.java:217 - Modifiers:
public - Return:
int
คืออะไร
อ่านค่า Footer Top
ทำงานยังไง
เรียกต่อ: getBottom(). คืนค่า: this.getBottom() + 9.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.gui.screens.reporting.ChatSelectionScreen$ChatSelectionList#getMaxVisibleEntries()
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ChatSelectionScreen.java:171 - Modifiers:
public - Return:
int
คืออะไร
อ่านค่า Max Visible Entries
ทำงานยังไง
เรียกต่อ: positiveCeilDiv(). คืนค่า: Mth.positiveCeilDiv(this.height, this.itemHeight).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.gui.screens.reporting.ChatSelectionScreen$ChatSelectionList#getRowWidth()
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ChatSelectionScreen.java:166 - Modifiers:
public - Return:
int
คืออะไร
อ่านค่า Row Width
ทำงานยังไง
เรียกต่อ: min(). คืนค่า: Math.min(350, this.width - 50).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.gui.screens.reporting.ChatSelectionScreen$ChatSelectionList#keyPressed(int,int,int)
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ChatSelectionScreen.java:211 - Modifiers:
public - Return:
boolean
คืออะไร
ดำเนินการ keyPressed ตาม implementation ของ ChatSelectionScreen$ChatSelectionList
ทำงานยังไง
เรียกต่อ: getSelected(). คืนค่า: entry != null && entry.keyPressed(i, j, k) ? true : super.keyPressed(i, j, k).
Parameters
int iint jint k
ตัวอย่างใช้งาน
ChatSelectionScreen.ChatSelectionList instance = ...;
boolean result = instance.keyPressed(0, 0, 0);
net.minecraft.client.gui.screens.reporting.ChatSelectionScreen$ChatSelectionList#nextEntry(ScreenDirection)
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ChatSelectionScreen.java:198 - Modifiers:
protected - Return:
ChatSelectionScreen.ChatSelectionList.Entry
คืออะไร
ดำเนินการ nextEntry ตาม implementation ของ ChatSelectionScreen$ChatSelectionList
ทำงานยังไง
คืนค่า: this.nextEntry(screenDirection, ChatSelectionScreen.ChatSelectionList.Entry::canSelect).
Parameters
ScreenDirection screenDirection
ตัวอย่างใช้งาน
ScreenDirection screenDirection = ...;
@Override
protected ChatSelectionScreen.ChatSelectionList.Entry nextEntry(ScreenDirection screenDirection) {
return super.nextEntry(screenDirection);
}
net.minecraft.client.gui.screens.reporting.ChatSelectionScreen$ChatSelectionList#renderItem(GuiGraphics,int,int,float,int,int,int,int,int)
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ChatSelectionScreen.java:175 - Modifiers:
protected - Return:
void
คืออะไร
เรนเดอร์ Item
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: getEntry(), shouldHighlightEntry(), getSelected(), isFocused(), renderSelection(), render(), getHovered().
Parameters
GuiGraphics guiGraphicsint iint jfloat fint kint lint mint nint o
ตัวอย่างใช้งาน
GuiGraphics guiGraphics = ...;
@Override
protected void renderItem(GuiGraphics guiGraphics, int i, int j, float f, int k, int l, int m, int n, int o) {
super.renderItem(guiGraphics, i, j, f, k, l, m, n, o);
}
net.minecraft.client.gui.screens.reporting.ChatSelectionScreen$ChatSelectionList#setScrollAmount(double)
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ChatSelectionScreen.java:124 - Modifiers:
public - Return:
void
คืออะไร
กำหนดค่า Scroll Amount
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: scrollAmount(), maxScrollAmount(), equal(), onReachedScrollTop().
Parameters
double d
ตัวอย่างใช้งาน
net.minecraft.client.gui.screens.reporting.ChatSelectionScreen$ChatSelectionList#setSelected(ChatSelectionScreen.ChatSelectionList.Entry)
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ChatSelectionScreen.java:203 - Modifiers:
public - Return:
void
คืออะไร
กำหนดค่า Selected
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: nextEntry(), onReachedScrollTop().
Parameters
ChatSelectionScreen.ChatSelectionList.Entry entry
ตัวอย่างใช้งาน
ChatSelectionScreen.ChatSelectionList instance = ...;
ChatSelectionScreen.ChatSelectionList.Entry entry = ...;
instance.setSelected(entry);
ChatSelectionScreen$ChatSelectionList$DividerEntry
- Full name:
net.minecraft.client.gui.screens.reporting.ChatSelectionScreen$ChatSelectionList$DividerEntry - Package:
net.minecraft.client.gui.screens.reporting - Source:
clientOnly—net/minecraft/client/gui/screens/reporting/ChatSelectionScreen.java - Type:
class - Modifiers:
public - Extends:
ChatSelectionScreen.ChatSelectionList.Entry
net.minecraft.client.gui.screens.reporting.ChatSelectionScreen$ChatSelectionList$DividerEntry#DividerEntry(Component)
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ChatSelectionScreen.java:225 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ ChatSelectionScreen.ChatSelectionList.DividerEntry ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: text.
Parameters
Component component
ตัวอย่างใช้งาน
Component component = ...;
ChatSelectionScreen.ChatSelectionList.DividerEntry instance = new ChatSelectionScreen.ChatSelectionList.DividerEntry(component);
net.minecraft.client.gui.screens.reporting.ChatSelectionScreen$ChatSelectionList$DividerEntry#getNarration()
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ChatSelectionScreen.java:239 - Modifiers:
public - Return:
Component
คืออะไร
อ่านค่า Narration
ทำงานยังไง
คืนค่า: this.text.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
ChatSelectionScreen.ChatSelectionList.DividerEntry instance = ...;
Component result = instance.getNarration();
net.minecraft.client.gui.screens.reporting.ChatSelectionScreen$ChatSelectionList$DividerEntry#render(GuiGraphics,int,int,int,int,int,int,int,boolean,float)
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ChatSelectionScreen.java:229 - Modifiers:
public - Return:
void
คืออะไร
เรนเดอร์ render
ทำงานยังไง
เรียกต่อ: width(), drawString().
Parameters
GuiGraphics guiGraphicsint iint jint kint lint mint nint oboolean blfloat f
ตัวอย่างใช้งาน
ChatSelectionScreen.ChatSelectionList.DividerEntry instance = ...;
GuiGraphics guiGraphics = ...;
instance.render(guiGraphics, 0, 0, 0, 0, 0, 0, 0, true, 0.0F);
ChatSelectionScreen$ChatSelectionList$Entry
- Full name:
net.minecraft.client.gui.screens.reporting.ChatSelectionScreen$ChatSelectionList$Entry - Package:
net.minecraft.client.gui.screens.reporting - Source:
clientOnly—net/minecraft/client/gui/screens/reporting/ChatSelectionScreen.java - Type:
class - Modifiers:
public abstract static - Extends:
ObjectSelectionList.Entry<ChatSelectionScreen.ChatSelectionList.Entry>
net.minecraft.client.gui.screens.reporting.ChatSelectionScreen$ChatSelectionList$Entry#canReport()
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ChatSelectionScreen.java:260 - Modifiers:
public - Return:
boolean
คืออะไร
ตรวจสอบว่าสามารถ Report
ทำงานยังไง
เรียกต่อ: canSelect(). คืนค่า: this.canSelect().
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.gui.screens.reporting.ChatSelectionScreen$ChatSelectionList$Entry#canSelect()
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ChatSelectionScreen.java:256 - Modifiers:
public - Return:
boolean
คืออะไร
ตรวจสอบว่าสามารถ Select
ทำงานยังไง
คืนค่า: false.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.gui.screens.reporting.ChatSelectionScreen$ChatSelectionList$Entry#getNarration()
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ChatSelectionScreen.java:247 - Modifiers:
public - Return:
Component
คืออะไร
อ่านค่า Narration
ทำงานยังไง
คืนค่า: CommonComponents.EMPTY.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
ChatSelectionScreen.ChatSelectionList.Entry instance = ...;
Component result = instance.getNarration();
net.minecraft.client.gui.screens.reporting.ChatSelectionScreen$ChatSelectionList$Entry#isSelected()
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ChatSelectionScreen.java:252 - Modifiers:
public - Return:
boolean
คืออะไร
ตรวจสอบสถานะ Selected
ทำงานยังไง
คืนค่า: false.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.gui.screens.reporting.ChatSelectionScreen$ChatSelectionList$Entry#mouseClicked(double,double,int)
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ChatSelectionScreen.java:264 - Modifiers:
public - Return:
boolean
คืออะไร
ดำเนินการ mouseClicked ตาม implementation ของ ChatSelectionScreen$ChatSelectionList$Entry
ทำงานยังไง
เรียกต่อ: canSelect(). คืนค่า: this.canSelect().
Parameters
double ddouble eint i
ตัวอย่างใช้งาน
ChatSelectionScreen.ChatSelectionList.Entry instance = ...;
boolean result = instance.mouseClicked(0.0D, 0.0D, 0);
ChatSelectionScreen$ChatSelectionList$MessageEntry
- Full name:
net.minecraft.client.gui.screens.reporting.ChatSelectionScreen$ChatSelectionList$MessageEntry - Package:
net.minecraft.client.gui.screens.reporting - Source:
clientOnly—net/minecraft/client/gui/screens/reporting/ChatSelectionScreen.java - Type:
class - Modifiers:
public - Extends:
ChatSelectionScreen.ChatSelectionList.Entry
net.minecraft.client.gui.screens.reporting.ChatSelectionScreen$ChatSelectionList$MessageEntry#canReport()
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ChatSelectionScreen.java:386 - Modifiers:
public - Return:
boolean
คืออะไร
ตรวจสอบว่าสามารถ Report
ทำงานยังไง
คืนค่า: this.canReport.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
ChatSelectionScreen.ChatSelectionList.MessageEntry instance = ...;
boolean result = instance.canReport();
net.minecraft.client.gui.screens.reporting.ChatSelectionScreen$ChatSelectionList$MessageEntry#canSelect()
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ChatSelectionScreen.java:381 - Modifiers:
public - Return:
boolean
คืออะไร
ตรวจสอบว่าสามารถ Select
ทำงานยังไง
คืนค่า: true.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
ChatSelectionScreen.ChatSelectionList.MessageEntry instance = ...;
boolean result = instance.canSelect();
net.minecraft.client.gui.screens.reporting.ChatSelectionScreen$ChatSelectionList$MessageEntry#getNarration()
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ChatSelectionScreen.java:360 - Modifiers:
public - Return:
Component
คืออะไร
อ่านค่า Narration
ทำงานยังไง
เรียกต่อ: isSelected(), translatable(). คืนค่า: (Component)(this.isSelected() ? Component.translatable("narrator.select", new Object[]{this.narration}) : this.narration).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
ChatSelectionScreen.ChatSelectionList.MessageEntry instance = ...;
Component result = instance.getNarration();
net.minecraft.client.gui.screens.reporting.ChatSelectionScreen$ChatSelectionList$MessageEntry#isSelected()
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ChatSelectionScreen.java:376 - Modifiers:
public - Return:
boolean
คืออะไร
ตรวจสอบสถานะ Selected
ทำงานยังไง
เรียกต่อ: isReported(). คืนค่า: ChatSelectionScreen.this.report.isReported(this.chatId).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
ChatSelectionScreen.ChatSelectionList.MessageEntry instance = ...;
boolean result = instance.isSelected();
net.minecraft.client.gui.screens.reporting.ChatSelectionScreen$ChatSelectionList$MessageEntry#keyPressed(int,int,int)
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ChatSelectionScreen.java:371 - Modifiers:
public - Return:
boolean
คืออะไร
ดำเนินการ keyPressed ตาม implementation ของ ChatSelectionScreen$ChatSelectionList$MessageEntry
ทำงานยังไง
เรียกต่อ: selected(), toggleReport(). คืนค่า: CommonInputs.selected(i) ? this.toggleReport() : false.
Parameters
int iint jint k
ตัวอย่างใช้งาน
ChatSelectionScreen.ChatSelectionList.MessageEntry instance = ...;
boolean result = instance.keyPressed(0, 0, 0);
net.minecraft.client.gui.screens.reporting.ChatSelectionScreen$ChatSelectionList$MessageEntry#MessageEntry(int,Component,Component,GuiMessageTag,boolean,boolean)
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ChatSelectionScreen.java:295 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ ChatSelectionScreen.ChatSelectionList.MessageEntry ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. แก้ state: chatId, tagIcon, tagHoverText, canReport, playerMessage, text. เรียกต่อ: map(), text(), split(), getRowWidth(), substrByWidth(), getMaximumTextWidth(), width(), composite().
Parameters
int iComponent componentComponent component2GuiMessageTag guiMessageTagboolean blboolean bl2
ตัวอย่างใช้งาน
Component component = ...;
Component component2 = ...;
GuiMessageTag guiMessageTag = ...;
ChatSelectionScreen.ChatSelectionList.MessageEntry instance = new ChatSelectionScreen.ChatSelectionList.MessageEntry(0, component, component2, guiMessageTag, true, true);
net.minecraft.client.gui.screens.reporting.ChatSelectionScreen$ChatSelectionList$MessageEntry#mouseClicked(double,double,int)
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ChatSelectionScreen.java:365 - Modifiers:
public - Return:
boolean
คืออะไร
ดำเนินการ mouseClicked ตาม implementation ของ ChatSelectionScreen$ChatSelectionList$MessageEntry
ทำงานยังไง
เรียกต่อ: setSelected(), toggleReport(). คืนค่า: this.toggleReport().
Parameters
double ddouble eint i
ตัวอย่างใช้งาน
ChatSelectionScreen.ChatSelectionList.MessageEntry instance = ...;
boolean result = instance.mouseClicked(0.0D, 0.0D, 0);
net.minecraft.client.gui.screens.reporting.ChatSelectionScreen$ChatSelectionList$MessageEntry#render(GuiGraphics,int,int,int,int,int,int,int,boolean,float)
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ChatSelectionScreen.java:318 - Modifiers:
public - Return:
void
คืออะไร
เรนเดอร์ render
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: isSelected(), renderSelectedCheckmark(), getTextIndent(), drawString(), getInstance(), getVisualOrder(), setTooltipForNextRenderPass(), width().
Parameters
GuiGraphics guiGraphicsint iint jint kint lint mint nint oboolean blfloat f
ตัวอย่างใช้งาน
ChatSelectionScreen.ChatSelectionList.MessageEntry instance = ...;
GuiGraphics guiGraphics = ...;
instance.render(guiGraphics, 0, 0, 0, 0, 0, 0, 0, true, 0.0F);
ChatSelectionScreen$ChatSelectionList$MessageHeadingEntry
- Full name:
net.minecraft.client.gui.screens.reporting.ChatSelectionScreen$ChatSelectionList$MessageHeadingEntry - Package:
net.minecraft.client.gui.screens.reporting - Source:
clientOnly—net/minecraft/client/gui/screens/reporting/ChatSelectionScreen.java - Type:
class - Modifiers:
public - Extends:
ChatSelectionScreen.ChatSelectionList.Entry
net.minecraft.client.gui.screens.reporting.ChatSelectionScreen$ChatSelectionList$MessageHeadingEntry#MessageHeadingEntry(GameProfile,Component,boolean)
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ChatSelectionScreen.java:410 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ ChatSelectionScreen.ChatSelectionList.MessageHeadingEntry ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: heading, canReport, skin. เรียกต่อ: getSkinManager(), lookupInsecure().
Parameters
GameProfile gameProfileComponent componentboolean bl
ตัวอย่างใช้งาน
GameProfile gameProfile = ...;
Component component = ...;
ChatSelectionScreen.ChatSelectionList.MessageHeadingEntry instance = new ChatSelectionScreen.ChatSelectionList.MessageHeadingEntry(gameProfile, component, true);
net.minecraft.client.gui.screens.reporting.ChatSelectionScreen$ChatSelectionList$MessageHeadingEntry#render(GuiGraphics,int,int,int,int,int,int,int,boolean,float)
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ChatSelectionScreen.java:416 - Modifiers:
public - Return:
void
คืออะไร
เรนเดอร์ render
ทำงานยังไง
เรียกต่อ: draw(), get(), drawString().
Parameters
GuiGraphics guiGraphicsint iint jint kint lint mint nint oboolean blfloat f
ตัวอย่างใช้งาน
ChatSelectionScreen.ChatSelectionList.MessageHeadingEntry instance = ...;
GuiGraphics guiGraphics = ...;
instance.render(guiGraphics, 0, 0, 0, 0, 0, 0, 0, true, 0.0F);
ChatSelectionScreen$ChatSelectionList$PaddingEntry
- Full name:
net.minecraft.client.gui.screens.reporting.ChatSelectionScreen$ChatSelectionList$PaddingEntry - Package:
net.minecraft.client.gui.screens.reporting - Source:
clientOnly—net/minecraft/client/gui/screens/reporting/ChatSelectionScreen.java - Type:
class - Modifiers:
public static - Extends:
ChatSelectionScreen.ChatSelectionList.Entry
net.minecraft.client.gui.screens.reporting.ChatSelectionScreen$ChatSelectionList$PaddingEntry#render(GuiGraphics,int,int,int,int,int,int,int,boolean,float)
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ChatSelectionScreen.java:428 - Modifiers:
public - Return:
void
คืออะไร
เรนเดอร์ render
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 1 statement).
Parameters
GuiGraphics guiGraphicsint iint jint kint lint mint nint oboolean blfloat f
ตัวอย่างใช้งาน
ChatSelectionScreen.ChatSelectionList.PaddingEntry instance = ...;
GuiGraphics guiGraphics = ...;
instance.render(guiGraphics, 0, 0, 0, 0, 0, 0, 0, true, 0.0F);
NameReportScreen
- Full name:
net.minecraft.client.gui.screens.reporting.NameReportScreen - Package:
net.minecraft.client.gui.screens.reporting - Source:
clientOnly—net/minecraft/client/gui/screens/reporting/NameReportScreen.java - Type:
class - Modifiers:
public - Extends:
AbstractReportScreen<NameReport.Builder>
net.minecraft.client.gui.screens.reporting.NameReportScreen#addContent()
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/NameReportScreen.java:35 - Modifiers:
protected - Return:
void
คืออะไร
เพิ่ม Content
ทำงานยังไง
แก้ state: commentBox. เรียกต่อ: literal(), report(), getReportedName(), withStyle(), addChild(), translatable(), alignHorizontallyCenter(), padding(). สร้างออบเจ็กต์: StringWidget.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.gui.screens.reporting.NameReportScreen#mouseReleased(double,double,int)
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/NameReportScreen.java:50 - Modifiers:
public - Return:
boolean
คืออะไร
ดำเนินการ mouseReleased ตาม implementation ของ NameReportScreen
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. มีจุด return อย่างน้อย 2 จุด.
Parameters
double ddouble eint i
ตัวอย่างใช้งาน
net.minecraft.client.gui.screens.reporting.NameReportScreen#NameReportScreen(Screen,ReportingContext,NameReport)
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/NameReportScreen.java:31 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ NameReportScreen ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
เรียกต่อ: Builder(), sender(), reportLimits(). สร้างออบเจ็กต์: NameReport.Builder.
Parameters
Screen screenReportingContext reportingContextNameReport nameReport
ตัวอย่างใช้งาน
Screen screen = ...;
ReportingContext reportingContext = ...;
NameReport nameReport = ...;
NameReportScreen instance = new NameReportScreen(screen, reportingContext, nameReport);
net.minecraft.client.gui.screens.reporting.NameReportScreen#NameReportScreen(Screen,ReportingContext,UUID,String)
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/NameReportScreen.java:27 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ NameReportScreen ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
เรียกต่อ: Builder(), sender(), reportLimits(). สร้างออบเจ็กต์: NameReport.Builder.
Parameters
Screen screenReportingContext reportingContextUUID uUIDString string
ตัวอย่างใช้งาน
Screen screen = ...;
ReportingContext reportingContext = ...;
UUID uUID = ...;
NameReportScreen instance = new NameReportScreen(screen, reportingContext, uUID, "value");
ReportPlayerScreen
- Full name:
net.minecraft.client.gui.screens.reporting.ReportPlayerScreen - Package:
net.minecraft.client.gui.screens.reporting - Source:
clientOnly—net/minecraft/client/gui/screens/reporting/ReportPlayerScreen.java - Type:
class - Modifiers:
public - Extends:
Screen
net.minecraft.client.gui.screens.reporting.ReportPlayerScreen#getNarrationMessage()
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ReportPlayerScreen.java:39 - Modifiers:
public - Return:
Component
คืออะไร
อ่านค่า Narration Message
ทำงานยังไง
เรียกต่อ: joinForNarration(). คืนค่า: CommonComponents.joinForNarration(new Component[]{super.getNarrationMessage(), MESSAGE}).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.gui.screens.reporting.ReportPlayerScreen#init()
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ReportPlayerScreen.java:44 - Modifiers:
protected - Return:
void
คืออะไร
ดำเนินการ init ตาม implementation ของ ReportPlayerScreen
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: defaultCellSetting(), alignHorizontallyCenter(), addChild(), newCellSettings(), paddingBottom(), setCentered(), builder(), setScreen(). สร้างออบเจ็กต์: StringWidget, MultiLineTextWidget, ChatReportScreen, SkinReportScreen.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.gui.screens.reporting.ReportPlayerScreen#onClose()
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ReportPlayerScreen.java:91 - Modifiers:
public - Return:
void
คืออะไร
จัดการเหตุการณ์ Close
ทำงานยังไง
เรียกต่อ: setScreen().
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.gui.screens.reporting.ReportPlayerScreen#ReportPlayerScreen(Screen,ReportingContext,PlayerEntry)
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ReportPlayerScreen.java:32 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ ReportPlayerScreen ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: lastScreen, context, player.
Parameters
Screen screenReportingContext reportingContextPlayerEntry playerEntry
ตัวอย่างใช้งาน
Screen screen = ...;
ReportingContext reportingContext = ...;
PlayerEntry playerEntry = ...;
ReportPlayerScreen instance = new ReportPlayerScreen(screen, reportingContext, playerEntry);
net.minecraft.client.gui.screens.reporting.ReportPlayerScreen#repositionElements()
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ReportPlayerScreen.java:85 - Modifiers:
protected - Return:
void
คืออะไร
ดำเนินการ repositionElements ตาม implementation ของ ReportPlayerScreen
ทำงานยังไง
เรียกต่อ: arrangeElements(), centerInRectangle(), getRectangle().
Parameters
- ไม่มี
ตัวอย่างใช้งาน
ReportReasonSelectionScreen
- Full name:
net.minecraft.client.gui.screens.reporting.ReportReasonSelectionScreen - Package:
net.minecraft.client.gui.screens.reporting - Source:
clientOnly—net/minecraft/client/gui/screens/reporting/ReportReasonSelectionScreen.java - Type:
class - Modifiers:
public - Extends:
Screen
net.minecraft.client.gui.screens.reporting.ReportReasonSelectionScreen#init()
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ReportReasonSelectionScreen.java:50 - Modifiers:
protected - Return:
void
คืออะไร
ดำเนินการ init ตาม implementation ของ ReportReasonSelectionScreen
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. แก้ state: reasonSelectionList. เรียกต่อ: addTitleHeader(), addToContents(), vertical(), spacing(), addChild(), ReasonSelectionList(), map(), setSelected(). สร้างออบเจ็กต์: ReportReasonSelectionScreen.ReasonSelectionList.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.gui.screens.reporting.ReportReasonSelectionScreen#onClose()
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ReportReasonSelectionScreen.java:131 - Modifiers:
public - Return:
void
คืออะไร
จัดการเหตุการณ์ Close
ทำงานยังไง
เรียกต่อ: setScreen().
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.gui.screens.reporting.ReportReasonSelectionScreen#render(GuiGraphics,int,int,float)
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ReportReasonSelectionScreen.java:84 - Modifiers:
public - Return:
void
คืออะไร
เรนเดอร์ render
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: fill(), descriptionLeft(), descriptionTop(), descriptionRight(), descriptionBottom(), renderOutline(), descriptionWidth(), descriptionHeight().
Parameters
GuiGraphics guiGraphicsint iint jfloat f
ตัวอย่างใช้งาน
ReportReasonSelectionScreen instance = ...;
GuiGraphics guiGraphics = ...;
instance.render(guiGraphics, 0, 0, 0.0F);
net.minecraft.client.gui.screens.reporting.ReportReasonSelectionScreen#ReportReasonSelectionScreen(Screen,ReportReason,ReportType,Consumer<ReportReason>)
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ReportReasonSelectionScreen.java:42 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ ReportReasonSelectionScreen ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: lastScreen, currentlySelectedReason, onSelectedReason, reportType.
Parameters
Screen screenReportReason reportReasonReportType reportTypeConsumer<ReportReason> consumer
ตัวอย่างใช้งาน
Screen screen = ...;
ReportReason reportReason = ...;
ReportType reportType = ...;
Consumer<ReportReason> consumer = ...;
ReportReasonSelectionScreen instance = new ReportReasonSelectionScreen(screen, reportReason, reportType, consumer);
net.minecraft.client.gui.screens.reporting.ReportReasonSelectionScreen#repositionElements()
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ReportReasonSelectionScreen.java:76 - Modifiers:
protected - Return:
void
คืออะไร
ดำเนินการ repositionElements ตาม implementation ของ ReportReasonSelectionScreen
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: arrangeElements(), updateSizeAndPosition(), listHeight(), getHeaderHeight().
Parameters
- ไม่มี
ตัวอย่างใช้งาน
ReportReasonSelectionScreen$ReasonSelectionList
- Full name:
net.minecraft.client.gui.screens.reporting.ReportReasonSelectionScreen$ReasonSelectionList - Package:
net.minecraft.client.gui.screens.reporting - Source:
clientOnly—net/minecraft/client/gui/screens/reporting/ReportReasonSelectionScreen.java - Type:
class - Modifiers:
public - Extends:
ObjectSelectionList<ReportReasonSelectionScreen.ReasonSelectionList.Entry>
net.minecraft.client.gui.screens.reporting.ReportReasonSelectionScreen$ReasonSelectionList#findEntry(ReportReason)
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ReportReasonSelectionScreen.java:154 - Modifiers:
public - Return:
ReportReasonSelectionScreen.ReasonSelectionList.Entry
คืออะไร
ค้นหา Entry
ทำงานยังไง
เรียกต่อ: children(), stream(), filter(), findFirst(), orElse(). คืนค่า: this.children().stream().filter(entry -> entry.reason == reportReason).findFirst().orElse(null).
Parameters
ReportReason reportReason
ตัวอย่างใช้งาน
ReportReasonSelectionScreen.ReasonSelectionList instance = ...;
ReportReason reportReason = ...;
ReportReasonSelectionScreen.ReasonSelectionList.Entry result = instance.findEntry(reportReason);
net.minecraft.client.gui.screens.reporting.ReportReasonSelectionScreen$ReasonSelectionList#getRowWidth()
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ReportReasonSelectionScreen.java:159 - Modifiers:
public - Return:
int
คืออะไร
อ่านค่า Row Width
ทำงานยังไง
คืนค่า: 320.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
ReportReasonSelectionScreen.ReasonSelectionList instance = ...;
int result = instance.getRowWidth();
net.minecraft.client.gui.screens.reporting.ReportReasonSelectionScreen$ReasonSelectionList#ReasonSelectionList(Minecraft)
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ReportReasonSelectionScreen.java:138 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ ReportReasonSelectionScreen.ReasonSelectionList ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
ตรวจเงื่อนไขด้วย if ; มีการวนลูป. เรียกต่อ: listHeight(), getHeaderHeight(), values(), getIncompatibleCategories(), contains(), addEntry(), Entry(). สร้างออบเจ็กต์: ReportReasonSelectionScreen.ReasonSelectionList.Entry.
Parameters
Minecraft minecraft
ตัวอย่างใช้งาน
Minecraft minecraft = ...;
ReportReasonSelectionScreen.ReasonSelectionList instance = new ReportReasonSelectionScreen.ReasonSelectionList(minecraft);
net.minecraft.client.gui.screens.reporting.ReportReasonSelectionScreen$ReasonSelectionList#setSelected(ReportReasonSelectionScreen.ReasonSelectionList.Entry)
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ReportReasonSelectionScreen.java:164 - Modifiers:
public - Return:
void
คืออะไร
กำหนดค่า Selected
ทำงานยังไง
แก้ state: currentlySelectedReason. เรียกต่อ: getReason().
Parameters
ReportReasonSelectionScreen.ReasonSelectionList.Entry entry
ตัวอย่างใช้งาน
ReportReasonSelectionScreen.ReasonSelectionList instance = ...;
ReportReasonSelectionScreen.ReasonSelectionList.Entry entry = ...;
instance.setSelected(entry);
ReportReasonSelectionScreen$ReasonSelectionList$Entry
- Full name:
net.minecraft.client.gui.screens.reporting.ReportReasonSelectionScreen$ReasonSelectionList$Entry - Package:
net.minecraft.client.gui.screens.reporting - Source:
clientOnly—net/minecraft/client/gui/screens/reporting/ReportReasonSelectionScreen.java - Type:
class - Modifiers:
public - Extends:
ObjectSelectionList.Entry<ReportReasonSelectionScreen.ReasonSelectionList.Entry>
net.minecraft.client.gui.screens.reporting.ReportReasonSelectionScreen$ReasonSelectionList$Entry#Entry(ReportReason)
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ReportReasonSelectionScreen.java:173 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ ReportReasonSelectionScreen.ReasonSelectionList.Entry ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: reason.
Parameters
ReportReason reportReason
ตัวอย่างใช้งาน
ReportReason reportReason = ...;
ReportReasonSelectionScreen.ReasonSelectionList.Entry instance = new ReportReasonSelectionScreen.ReasonSelectionList.Entry(reportReason);
net.minecraft.client.gui.screens.reporting.ReportReasonSelectionScreen$ReasonSelectionList$Entry#getNarration()
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ReportReasonSelectionScreen.java:184 - Modifiers:
public - Return:
Component
คืออะไร
อ่านค่า Narration
ทำงานยังไง
เรียกต่อ: translatable(), title(), description(). คืนค่า: Component.translatable("gui.abuseReport.reason.narration", new Object[]{this.reason.title(), this.reason.description()}).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
ReportReasonSelectionScreen.ReasonSelectionList.Entry instance = ...;
Component result = instance.getNarration();
net.minecraft.client.gui.screens.reporting.ReportReasonSelectionScreen$ReasonSelectionList$Entry#getReason()
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ReportReasonSelectionScreen.java:195 - Modifiers:
public - Return:
ReportReason
คืออะไร
อ่านค่า Reason
ทำงานยังไง
คืนค่า: this.reason.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
ReportReasonSelectionScreen.ReasonSelectionList.Entry instance = ...;
ReportReason result = instance.getReason();
net.minecraft.client.gui.screens.reporting.ReportReasonSelectionScreen$ReasonSelectionList$Entry#mouseClicked(double,double,int)
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ReportReasonSelectionScreen.java:189 - Modifiers:
public - Return:
boolean
คืออะไร
ดำเนินการ mouseClicked ตาม implementation ของ ReportReasonSelectionScreen$ReasonSelectionList$Entry
ทำงานยังไง
เรียกต่อ: setSelected(). คืนค่า: super.mouseClicked(d, e, i).
Parameters
double ddouble eint i
ตัวอย่างใช้งาน
ReportReasonSelectionScreen.ReasonSelectionList.Entry instance = ...;
boolean result = instance.mouseClicked(0.0D, 0.0D, 0);
net.minecraft.client.gui.screens.reporting.ReportReasonSelectionScreen$ReasonSelectionList$Entry#render(GuiGraphics,int,int,int,int,int,int,int,boolean,float)
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/ReportReasonSelectionScreen.java:177 - Modifiers:
public - Return:
void
คืออะไร
เรนเดอร์ render
ทำงานยังไง
เรียกต่อ: drawString(), title().
Parameters
GuiGraphics guiGraphicsint iint jint kint lint mint nint oboolean blfloat f
ตัวอย่างใช้งาน
ReportReasonSelectionScreen.ReasonSelectionList.Entry instance = ...;
GuiGraphics guiGraphics = ...;
instance.render(guiGraphics, 0, 0, 0, 0, 0, 0, 0, true, 0.0F);
SkinReportScreen
- Full name:
net.minecraft.client.gui.screens.reporting.SkinReportScreen - Package:
net.minecraft.client.gui.screens.reporting - Source:
clientOnly—net/minecraft/client/gui/screens/reporting/SkinReportScreen.java - Type:
class - Modifiers:
public - Extends:
AbstractReportScreen<SkinReport.Builder>
net.minecraft.client.gui.screens.reporting.SkinReportScreen#addContent()
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/SkinReportScreen.java:40 - Modifiers:
protected - Return:
void
คืออะไร
เพิ่ม Content
ทำงานยังไง
แก้ state: selectReasonButton, commentBox. เรียกต่อ: addChild(), horizontal(), spacing(), defaultCellSetting(), alignVerticallyMiddle(), getEntityModels(), report(), getSkinGetter(). สร้างออบเจ็กต์: PlayerSkinWidget, ReportReasonSelectionScreen.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.gui.screens.reporting.SkinReportScreen#mouseReleased(double,double,int)
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/SkinReportScreen.java:74 - Modifiers:
public - Return:
boolean
คืออะไร
ดำเนินการ mouseReleased ตาม implementation ของ SkinReportScreen
ทำงานยังไง
คืนค่า: super.mouseReleased(d, e, i) ? true : this.commentBox.mouseReleased(d, e, i).
Parameters
double ddouble eint i
ตัวอย่างใช้งาน
net.minecraft.client.gui.screens.reporting.SkinReportScreen#onReportChanged()
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/SkinReportScreen.java:62 - Modifiers:
protected - Return:
void
คืออะไร
จัดการเหตุการณ์ Report Changed
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: reason(), setMessage(), title().
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.gui.screens.reporting.SkinReportScreen#SkinReportScreen(Screen,ReportingContext,SkinReport)
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/SkinReportScreen.java:36 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ SkinReportScreen ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
เรียกต่อ: Builder(), sender(), reportLimits(). สร้างออบเจ็กต์: SkinReport.Builder.
Parameters
Screen screenReportingContext reportingContextSkinReport skinReport
ตัวอย่างใช้งาน
Screen screen = ...;
ReportingContext reportingContext = ...;
SkinReport skinReport = ...;
SkinReportScreen instance = new SkinReportScreen(screen, reportingContext, skinReport);
net.minecraft.client.gui.screens.reporting.SkinReportScreen#SkinReportScreen(Screen,ReportingContext,UUID,Supplier<PlayerSkin>)
- Origin:
clientOnly - Source:
net/minecraft/client/gui/screens/reporting/SkinReportScreen.java:32 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ SkinReportScreen ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
เรียกต่อ: Builder(), sender(), reportLimits(). สร้างออบเจ็กต์: SkinReport.Builder.
Parameters
Screen screenReportingContext reportingContextUUID uUIDSupplier<PlayerSkin> supplier
ตัวอย่างใช้งาน
Screen screen = ...;
ReportingContext reportingContext = ...;
UUID uUID = ...;
Supplier<PlayerSkin> supplier = ...;
SkinReportScreen instance = new SkinReportScreen(screen, reportingContext, uUID, supplier);