9 lines
222 B
C#
9 lines
222 B
C#
using Vintagestory.API.MathTools;
|
|
|
|
namespace OrekiWoofsBees.Common;
|
|
|
|
public readonly record struct StructVec3i(int X, int Y, int Z)
|
|
{
|
|
public static StructVec3i FromBlockPos(BlockPos pos) => new(pos.X, pos.Y, pos.Z);
|
|
}
|