C# Class BlockFacingExtensions, Immersion

Afficher le fichier Open project: copygirl/Immersion

Méthodes publiques

Méthode Description
GetOpposite ( this facing ) : BlockFacing
IsValid ( this facing ) : bool
MoveRelative ( this facing, BlockPos, pos ) : BlockPos,
MoveRelative ( this facing, int &x, int &y, int &z ) : void
ToVector ( this facing ) : Vector3

Method Details

GetOpposite() public static méthode

public static GetOpposite ( this facing ) : BlockFacing
facing this
Résultat BlockFacing

IsValid() public static méthode

public static IsValid ( this facing ) : bool
facing this
Résultat bool

MoveRelative() public static méthode

public static MoveRelative ( this facing, BlockPos, pos ) : BlockPos,
facing this
pos BlockPos,
Résultat BlockPos,

MoveRelative() public static méthode

public static MoveRelative ( this facing, int &x, int &y, int &z ) : void
facing this
x int
y int
z int
Résultat void

ToVector() public static méthode

public static ToVector ( this facing ) : Vector3
facing this
Résultat Vector3