struct Rosegold::DataComponents::Trim::TrimMaterial::InlineTrimMaterial

Overview

Inline TrimMaterial (1.21.8/1.21.11 DIRECT_STREAM_CODEC): AssetInfo base (String suffix) Map<ResourceKey, AssetInfo> (prefixed array of (Identifier key, String suffix)) TextComponent description

Defined in:

rosegold/inventory/slot.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(asset_name : String = "", override_armor_materials : Hash(String, String) = Hash(String, String).new, description : Rosegold::TextComponent = Rosegold::TextComponent.new("")) #

[View source]
def self.read(io) : self #

[View source]

Instance Method Detail

def asset_name : String #

[View source]
def asset_name=(asset_name : String) #

[View source]
def description : Rosegold::TextComponent #

[View source]
def description=(description : Rosegold::TextComponent) #

[View source]
def override_armor_materials : Hash(String, String) #

[View source]
def override_armor_materials=(override_armor_materials : Hash(String, String)) #

[View source]
def write(io) : Nil #

[View source]