Skip to content

API reference Obsidian.API.Advancements

AdvancementDisplay class

public sealed class AdvancementDisplay

In Obsidian.API.

Constructors

public AdvancementDisplay(ChatMessage title, ChatMessage description, Item icon, AdvancementFrameType advancementFrameType, AdvancementFlags flags, string backgroundTexture, float xCoord, float yCoord);

Properties

public AdvancementFrameType AdvancementFrameType { get; init; }public bool AnnounceToChat { get; init; }public string BackgroundTexture { get; init; }public ChatMessage Description { get; init; }public AdvancementFlags Flags { get; init; }public Item Icon { get; init; }

IconStack

public ItemStack IconStack { get; init; }

The complete icon stack, including data components when specified in JSON.

public ChatMessage Title { get; init; }public float XCoord { get; init; }public float YCoord { get; init; }

On this page