Interface DisplayInfo
- 
 public interface DisplayInfo
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static interfaceDisplayInfo.BuilderA builder to createDisplayInfos.
 - 
Method SummaryAll Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static DisplayInfo.Builderbuilder()Creates a newDisplayInfo.Builderto createDisplayInfos.Componentdescription()Gets the description.booleandoesAnnounceToChat()Gets whether a notification should be shown in the global chat.booleandoesShowToast()Gets whether a toast should be shown.ItemStackSnapshoticon()Gets the icon.booleanisHidden()Gets whether this advancement is hidden.Componenttitle()Gets the title.AdvancementTypetype()Gets theAdvancementType.
 
- 
- 
- 
Method Detail- 
builderstatic DisplayInfo.Builder builder() Creates a newDisplayInfo.Builderto createDisplayInfos.- Returns:
- The new builder
 
 - 
typeAdvancementType type() Gets theAdvancementType.- Returns:
- The advancement type
 
 - 
descriptionComponent description() Gets the description.- Returns:
- The description
 
 - 
iconItemStackSnapshot icon() Gets the icon.- Returns:
- The icon
 
 - 
titleComponent title() Gets the title.- Returns:
- The title
 
 - 
doesShowToastboolean 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
 
 - 
doesAnnounceToChatboolean doesAnnounceToChat() Gets whether a notification should be shown in the global chat.- Returns:
- Announce to chat
 
 - 
isHiddenboolean 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
 
 
- 
 
-