DisplayData

data class DisplayData(val title: String, val description: String, val icon: EffectiveAdvancement.IconData, val frame: EffectiveAdvancement.FrameType, val background: String? = null, val showToast: Boolean = true, val announceToChat: Boolean = true, val hidden: Boolean = false)

Visual/behavioral display of an advancement.

Constructors

Link copied to clipboard
constructor(title: String, description: String, icon: EffectiveAdvancement.IconData, frame: EffectiveAdvancement.FrameType, background: String? = null, showToast: Boolean = true, announceToChat: Boolean = true, hidden: Boolean = false)

Properties

Link copied to clipboard

whether the grant is broadcast to chat

Link copied to clipboard

background texture path (root advancements only)

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

whether it stays hidden until unlocked

Link copied to clipboard
Link copied to clipboard

whether the toast pops on grant

Link copied to clipboard