Table of Contents

Class PotionContentsDataComponent

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

Constructors

PotionContentsDataComponent()

public PotionContentsDataComponent()

Properties

CustomColor

public int? CustomColor { get; set; }

Property Value

int?

CustomEffects

public List<PotionEffectData> CustomEffects { get; set; }

Property Value

List<PotionEffectData>

CustomName

public string? CustomName { get; set; }

Property Value

string

Identifier

public string Identifier { get; }

Property Value

string

Potion

public Potion? Potion { get; set; }

Property Value

Potion?

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