Skip to content

API reference Obsidian.API

ClientSuggestionsAttribute class

Has the client suggest values for a command parameter with one of its own suggestion providers, instead of asking the server.

public sealed class ClientSuggestionsAttribute : Attribute

In Obsidian.API.

Constructors

ClientSuggestionsAttribute(string)

public ClientSuggestionsAttribute(string provider);

Has the client suggest values for a command parameter with one of its own suggestion providers, instead of asking the server.

Parameters

provider
The provider's identifier: minecraft:available_sounds or minecraft:summonable_entities.

Properties

public string Provider { get; }

Fields

public const string AvailableSounds = "minecraft:available_sounds";public const string SummonableEntities = "minecraft:summonable_entities";

On this page