C# Класс BlockExtensions, Immersion

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Neighbor ( this block, BlockFacing face ) : IBlock

Returns a neighboring block from the same IBlockStorage.

Relative ( this block, int x, int y, int z ) : IBlock

Returns another block from the same IBlockStorage relative to this block.

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

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

Returns a neighboring block from the same IBlockStorage.
public static Neighbor ( this block, BlockFacing face ) : IBlock
block this
face BlockFacing
Результат IBlock

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

Returns another block from the same IBlockStorage relative to this block.
public static Relative ( this block, int x, int y, int z ) : IBlock
block this
x int
y int
z int
Результат IBlock