LZ-#17 - Finish initial implementation

This commit is contained in:
zontreck 2024-04-12 07:52:00 -07:00
parent 059055044d
commit 7d924f7740
13 changed files with 336 additions and 31 deletions

View file

@ -5,7 +5,7 @@ import dev.zontreck.libzontreck.vectors.Vector2i;
import net.minecraft.nbt.CompoundTag;
import net.minecraft.world.phys.Vec2;
public interface Vector2<T>
public interface Vector2<T> extends Cloneable, Comparable<Vector2<T>>
{
/**
* Converts the current Vector2 representation into a minecraft Vec2

View file

@ -7,7 +7,7 @@ import net.minecraft.core.Vec3i;
import net.minecraft.nbt.CompoundTag;
import net.minecraft.world.phys.Vec3;
public interface Vector3<T>
public interface Vector3<T> extends Cloneable, Comparable<Vector3<T>>
{
/**
* Converts the current Vector3 representation into a minecraft Vec3