C# Класс MineViewer.Scheme

Defines a mapping of block types to materials.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Names byte>.Dictionary

Открытые методы

Метод Описание
Load ( Stream File ) : Scheme>.Dictionary

Loads a set of named schemes from a file.

MaterialBorder ( byte Lower, byte Higher, Axis Axis ) : Material

Gets the material between two blocks of the specified type, bordered on the specified axis.

Scheme ( IMaterial>.Dictionary Materials ) : System

Приватные методы

Метод Описание
Scheme ( ) : System

Описание методов

Load() публичный статический Метод

Loads a set of named schemes from a file.
public static Load ( Stream File ) : Scheme>.Dictionary
File Stream
Результат Scheme>.Dictionary

MaterialBorder() публичный Метод

Gets the material between two blocks of the specified type, bordered on the specified axis.
public MaterialBorder ( byte Lower, byte Higher, Axis Axis ) : Material
Lower byte
Higher byte
Axis Axis
Результат Material

Scheme() публичный Метод

public Scheme ( IMaterial>.Dictionary Materials ) : System
Materials IMaterial>.Dictionary
Результат System

Описание свойств

Names публичное статическое свойство

Block names.
public static Dictionary Names
Результат byte>.Dictionary