Releases: UgnilJoZ/rust-minetestworld
Releases · UgnilJoZ/rust-minetestworld
v0.5.4
v0.5.3
v0.5.2
v0.5.1
v0.5.0
Public API changes
- Add the ability to modify map by using
MapData::set_mapblock_data
- Add
VoxelManip
which makes handling individual nodes comfortable (reading and writing) - Add full examples
- Rename
World::new
toWorld::open
to reduce ambiguity - Improve documentation
- Replace itemstring type in
Node
byVec<u8>
to eliminate lossy conversion - Add
NodeVar
struct - Let
NodeMetadata
use thePosition
struct instead of an integer - Complete
NodeMetadata
by adding aninventory
member - Let
NodeTimer
use thePosition
struct instead of an integer - Complete
MapBlock
decoding - Implement
MapBlock
serialization - Replace dimension parameters of
MapBlock::get_node_at
by position parameter - Add
node_timers
member andget_content_id
,get_or_create_content_id
,set_content
,set_param1
,set_param2
, andcontent_names
methods toMapBlock
- Change member of
MapDataError::MapBlockNonexistent
toPosition
instead of i64 - Add new error variants:
MapBlockError::UnsupportedNodeMetadataVersion
,MapDataError::IoError
- Add read_only parameter to
MapData::from_sqlite_file
- Let
MapData::all_mapblock_positions
return a Stream instead of a Vec - Position: Implement useful traits like Add and Sub and add
new
,mapblock_at
, andsplit_at_block
methods - Add
World::create_sqlite
method to build a new Sqlite world - Add
get_map_data_backend
,get_mutable_map_data
,get_voxel_manip
to World struct