reinit branch
This commit is contained in:
8
OrekiWoofsBees.Common/StructVec3i.cs
Normal file
8
OrekiWoofsBees.Common/StructVec3i.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
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);
|
||||
}
|
||||
Reference in New Issue
Block a user