C# 클래스 BlockExtensions, Immersion

파일 보기 프로젝트 열기: copygirl/Immersion 1 사용 예제들

공개 메소드들

메소드 설명
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