Class BlockPredicatesDataComponent
- Namespace
- Obsidian.API.Inventory.DataComponents
- Assembly
- Obsidian.API.dll
public abstract class BlockPredicatesDataComponent : IDataComponent
- Inheritance
-
BlockPredicatesDataComponent
- Implements
-
- Derived
-
- Inherited Members
-
Constructors
BlockPredicatesDataComponent()
protected BlockPredicatesDataComponent()
Properties
Identifier
public abstract string Identifier { get; }
Property Value
- string
Predicates
public List<BlockPredicate> Predicates { get; init; }
Property Value
- List<BlockPredicate>
public bool ShowInTooltip { get; init; }
Property Value
- bool
Type
public abstract DataComponentType Type { get; }
Property Value
- DataComponentType
Methods
Read(INetStreamReader)
public virtual void Read(INetStreamReader reader)
Parameters
reader
INetStreamReader
Write(INetStreamWriter)
public virtual void Write(INetStreamWriter writer)
Parameters
writer
INetStreamWriter