pub struct JigsawConfig {
pub start_pool: Identifier,
pub max_depth: i32,
pub use_expansion_hack: bool,
pub project_start_to_heightmap: Option<String>,
pub start_height: StartHeight,
pub max_distance_from_center: i32,
pub start_jigsaw_name: Option<Identifier>,
pub dimension_padding: DimensionPadding,
pub pool_aliases: Vec<PoolAlias>,
pub liquid_settings: LiquidSettingsData,
}Expand description
Jigsaw-specific configuration parsed from structure JSON.
Fields§
§start_pool: IdentifierStarting template pool.
max_depth: i32Maximum recursion depth (vanilla calls this size).
use_expansion_hack: boolWhether the expansion hack is enabled.
project_start_to_heightmap: Option<String>If set, project the start piece to this heightmap type.
start_height: StartHeightStart height provider type and value.
max_distance_from_center: i32Maximum distance from center for piece placement.
start_jigsaw_name: Option<Identifier>Optional named jigsaw to anchor the start piece to.
dimension_padding: DimensionPaddingDimension padding (min distance from world height limits).
pool_aliases: Vec<PoolAlias>Pool alias configurations.
liquid_settings: LiquidSettingsDataLiquid handling mode.
Trait Implementations§
Source§impl Clone for JigsawConfig
impl Clone for JigsawConfig
Source§fn clone(&self) -> JigsawConfig
fn clone(&self) -> JigsawConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for JigsawConfig
impl RefUnwindSafe for JigsawConfig
impl Send for JigsawConfig
impl Sync for JigsawConfig
impl Unpin for JigsawConfig
impl UnsafeUnpin for JigsawConfig
impl UnwindSafe for JigsawConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more