from typing import Optional, List, Dict, Union, Any
class BlockState:
def __init__(self, name: str) -> None:
...
@property
def name(self) -> str:
...
@property
def properties(self) -> Dict[str, str]:
...
def with_property(self, key: str, value: str) -> BlockState:
...
class Schematic:
def __init__(self, name: Optional[str] = Default) -> None:
...
@property
def dimensions(self) -> List[int]:
...
@property
def block_count(self) -> int:
...
@property
def volume(self) -> int:
...
@property
def region_names(self) -> List[str]:
...
def from_data(self, data: bytes) -> None:
...
def from_litematic(self, data: bytes) -> None:
...
def to_litematic(self) -> bytes:
...
def from_schematic(self, data: bytes) -> None:
...
def to_schematic(self) -> bytes:
...
def set_block(self, x: int, y: int, z: int, block_name: str) -> None:
...
def set_block_with_properties(self, x: int, y: int, z: int, block_name: str, properties: Dict[str, str]) -> None:
...
def get_block(self, x: int, y: int, z: int) -> Optional[BlockState]:
...
def load_schematic(path: str) -> Schematic:
...
def save_schematic(schematic: Schematic, path: str, format: str = auto) -> None:
...
def debug_schematic(schematic: Schematic) -> str:
...
def debug_json_schematic(schematic: Schematic) -> str:
...