Remove deprecated crates and introduce OpenCL matcher integration

This commit is contained in:
2025-04-09 13:41:50 +02:00
parent 2a584e878f
commit 47bbf25ac7
17 changed files with 202 additions and 187 deletions

View File

@@ -0,0 +1,20 @@
use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, Copy, Deserialize, Serialize)]
pub struct SearchBehavior {
pub ignore_block_data: bool,
pub ignore_block_entities: bool,
pub ignore_air: bool,
pub air_as_any: bool,
pub ignore_entities: bool,
pub threshold: f32,
pub invalid_nbt: bool,
}
#[derive(Debug, Clone, Copy, Default, Deserialize, Serialize)]
pub struct Match {
pub x: u16,
pub y: u16,
pub z: u16,
pub percent: f32,
}