Interface DisplayInfo
public interface DisplayInfo
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic DisplayInfo.Builderbuilder()Creates a newDisplayInfo.Builderto createDisplayInfos.Gets the description.booleanGets whether a notification should be shown in the global chat.booleanGets whether a toast should be shown.icon()Gets the icon.booleanisHidden()Gets whether this advancement is hidden.title()Gets the title.type()Gets theAdvancementType.
-
Method Details
-
builder
Creates a newDisplayInfo.Builderto createDisplayInfos.- Returns:
- The new builder
-
type
-
description
-
icon
-
title
-
doesShowToast
boolean doesShowToast()Gets whether a toast should be shown.The toast is the notification that will be displayed in the top right corner.
- Returns:
- Show toast
-
doesAnnounceToChat
boolean doesAnnounceToChat()Gets whether a notification should be shown in the global chat.- Returns:
- Announce to chat
-
isHidden
boolean isHidden()Gets whether this advancement is hidden.Hidden advancements will only appear in the tree once they are unlocked. The lines that connect them to other advancements are still present.
- Returns:
- Is hidden
-