Table of Contents

Class JukeboxPlayableDataComponent

Namespace
Obsidian.API.Inventory.DataComponents
Assembly
Obsidian.API.dll
public sealed class JukeboxPlayableDataComponent : IDataComponent
Inheritance
JukeboxPlayableDataComponent
Implements
Inherited Members

Constructors

JukeboxPlayableDataComponent()

public JukeboxPlayableDataComponent()

Properties

Identifier

public string Identifier { get; }

Property Value

string

ShowInTooltip

public bool ShowInTooltip { get; set; }

Property Value

bool

Song

public EitherHolder<string, JukeboxSong> Song { get; set; }

Property Value

EitherHolder<string, JukeboxSong>

Type

public DataComponentType Type { get; }

Property Value

DataComponentType

Methods

Read(INetStreamReader)

public void Read(INetStreamReader reader)

Parameters

reader INetStreamReader

Write(INetStreamWriter)

public void Write(INetStreamWriter writer)

Parameters

writer INetStreamWriter