@Test @SuppressWarnings("unchecked") public void testToNative() { for (int x = -1; x <= 1; x++) for (int y = -1; y <= 1; y++) for (int z = -1; z <= 1; z++) assertThat(converter.toNative(new Vector3D(x, y, z))).isEqualTo(new BlockPos(x, y, z)); }
@Override public BlockPos toNative(Vector3D vec) { return new BlockPos(vec.getX(), vec.getY(), vec.getZ()); }
VectorConverter implements NativeConverter<Vector3D, BlockPos> { @Override public BlockPos toNative(Vector3D vec) { return new BlockPos(vec.getX(), vec.getY(), vec.getZ()); } }
VectorConverter implements NativeConverter<Vector3D, BlockPos> { @Override public BlockPos toNative(Vector3D vec) { return new BlockPos(vec.getX(), vec.getY(), vec.getZ()); }  }
VectorConverter implements NativeConverter<Vector3D, BlockPos> { @Override public BlockPos toNative(Vector3D vec) { return new BlockPos(vec.getX(), vec.getY(), vec.getZ()); }  static VectorConverter instance(); @Override Class<Vector3D> getNovaSide(); @Override Class<BlockPos> getNativeSide(); Vector3D toNova(Vec3d pos); @Override Vector3D toNova(BlockPos pos); @Override BlockPos toNative(Vector3D vec); }
VectorConverter implements NativeConverter<Vector3D, BlockPos> { @Override public BlockPos toNative(Vector3D vec) { return new BlockPos(vec.getX(), vec.getY(), vec.getZ()); }  static VectorConverter instance(); @Override Class<Vector3D> getNovaSide(); @Override Class<BlockPos> getNativeSide(); Vector3D toNova(Vec3d pos); @Override Vector3D toNova(BlockPos pos); @Override BlockPos toNative(Vector3D vec);  }