Package: rbedrock 0.3.2

Reed Cartwright

rbedrock: Analysis and Manipulation of Data from Minecraft Bedrock Edition

Implements an interface to Minecraft (Bedrock Edition) worlds. Supports the analysis and management of these worlds and game saves.

Authors:Reed Cartwright [aut, cre], Rich FitzJohn [ctb], Christian Stigen Larsen [ctb], The LevelDB Authors [cph]

rbedrock_0.3.2.tar.gz
rbedrock_0.3.2.tar.gz(r-4.5-noble)rbedrock_0.3.2.tar.gz(r-4.4-noble)
rbedrock.pdf |rbedrock.html
rbedrock/json (API)
NEWS

# Install 'rbedrock' in R:
install.packages('rbedrock', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/reedacartwright/rbedrock/issues

Uses libs:
  • zlib– Compression library
  • c++– GNU Standard C++ Library v3

zlibcpp

1.70 score 3 scripts 744 downloads 213 exports 34 dependencies

Last updated 12 months agofrom:9156c07c20. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKNov 26 2024
R-4.5-linux-x86_64OKNov 26 2024

Exports:%>%bedrock_leveldb_openbedrock_random_create_seedbedrock_random_get_doublebedrock_random_get_floatbedrock_random_get_intbedrock_random_get_uintbedrock_random_seedbedrock_random_statebedrockdbbiome_idchrkeys_to_rawkeyschunk_originchunk_origin<-chunk_originschunk_positionschunk_tag_intchunk_tag_strcompact_worldcreate_acdig_keyscreate_chunk_keyscreate_worlddelete_valuesexport_worldfrom_rnbtfrom_rnbt_payloadget_acdig_dataget_acdig_valueget_actors_dataget_actors_valueget_biomes_dataget_biomes_valueget_biomes_valuesget_block_entity_dataget_block_entity_valueget_block_entity_valuesget_checksums_dataget_checksums_valueget_checksums_valuesget_chunk_blocks_dataget_chunk_blocks_valueget_chunk_blocks_valuesget_chunk_version_dataget_chunk_version_valueget_chunk_version_valuesget_dataget_data2d_dataget_data2d_valueget_data2d_valuesget_data3d_dataget_data3d_valueget_data3d_valuesget_entity_dataget_entity_valueget_entity_valuesget_finalized_state_dataget_finalized_state_valueget_finalized_state_valuesget_hsa_dataget_hsa_valueget_hsa_valuesget_keysget_legacy_biomes_dataget_legacy_biomes_valueget_legacy_biomes_valuesget_nbt_dataget_nbt_tagget_nbt_valueget_nbt_valuesget_pending_ticks_dataget_pending_ticks_valueget_pending_ticks_valuesget_random_ticks_dataget_random_ticks_valueget_random_ticks_valuesget_subchunk_blocks_dataget_subchunk_blocks_from_chunkget_subchunk_blocks_valueget_subchunk_blocks_valuesget_subchunk_layers_dataget_subchunk_layers_from_chunkget_subchunk_layers_valueget_subchunk_layers_valuesget_valueget_valuesget_world_pathhas_valuesimport_worldis_bedrockdbis_nbtlist_biomeslist_worldslocate_blocksnbt_bytenbt_byte_arraynbt_compoundnbt_doublenbt_floatnbt_intnbt_int_arraynbt_listnbt_longnbt_long_arraynbt_raw_stringnbt_shortnbt_stringnew_nbtnew_nbt_bytenew_nbt_byte_arraynew_nbt_compoundnew_nbt_doublenew_nbt_floatnew_nbt_intnew_nbt_int_arraynew_nbt_listnew_nbt_longnew_nbt_long_arraynew_nbt_raw_stringnew_nbt_shortnew_nbt_stringparse_chunk_keyspayloadput_acdig_dataput_acdig_valueput_actors_dataput_actors_valueput_biomes_dataput_biomes_valueput_biomes_valuesput_block_entity_dataput_block_entity_valueput_block_entity_valuesput_chunk_blocks_dataput_chunk_blocks_valueput_chunk_blocks_valuesput_chunk_version_dataput_chunk_version_valueput_chunk_version_valuesput_dataput_data2d_dataput_data2d_valueput_data2d_valuesput_data3d_dataput_data3d_valueput_data3d_valuesput_entity_dataput_entity_valueput_entity_valuesput_finalized_state_dataput_finalized_state_valueput_finalized_state_valuesput_hsa_dataput_hsa_valueput_hsa_valuesput_legacy_biomes_dataput_legacy_biomes_valueput_legacy_biomes_valuesput_nbt_dataput_nbt_valueput_nbt_valuesput_pending_ticks_dataput_pending_ticks_valueput_pending_ticks_valuesput_random_ticks_dataput_random_ticks_valueput_random_ticks_valuesput_subchunk_blocks_dataput_subchunk_blocks_valueput_subchunk_blocks_valuesput_subchunk_layers_dataput_subchunk_layers_valueput_subchunk_layers_valuesput_valueput_valuesrawkeys_to_chrkeysrbedrock_examplerbedrock_example_worldread_acdig_valueread_checksums_valueread_chunk_version_valueread_data2d_valueread_data3d_valueread_finalized_state_valueread_hsa_valueread_leveldatread_nbtread_nbt_dataread_rnbtread_subchunk_blocks_valueread_subchunk_layers_valuerepair_worldsimulation_areaspawning_areasubchunk_coordssubchunk_originsto_rnbtto_rnbt_payloadunnbtupdate_checksums_dataworlds_dir_pathwrite_acdig_valuewrite_checksums_valuewrite_chunk_version_valuewrite_data2d_valuewrite_data3d_valuewrite_finalized_state_valuewrite_hsa_valuewrite_leveldatwrite_nbtwrite_nbt_datawrite_rnbtwrite_subchunk_blocks_valuewrite_subchunk_layers_value

Dependencies:bitbit64clicliprcpp11crayondigestdplyrfansifsgenericsgluehmslifecyclemagrittrpillarpkgconfigprettyunitsprogresspurrrR6rappdirsreadrrlangstringistringrtibbletidyrtidyselecttzdbutf8vctrsvroomwithr

Readme and manuals

Help Manual

Help pageTopics
Read and write Actor Digest DataActorDigest create_acdig_keys get_acdig_data get_acdig_value put_acdig_data put_acdig_value read_acdig_value write_acdig_value
Read and write Actor dataActors get_actors_data get_actors_value put_actors_data put_actors_value
Random Number Generation for Minecraftbedrock_random bedrock_random_get_double bedrock_random_get_float bedrock_random_get_int bedrock_random_get_uint bedrock_random_seed bedrock_random_state
Random Number Seeds for Minecraftbedrock_random_create_seed
Open a Bedrock Edition world for reading and writing.bedrockdb close.bedrockdb is_bedrockdb
Read and write biomes data.Biomes get_biomes_data get_biomes_value get_biomes_values get_legacy_biomes_data get_legacy_biomes_value get_legacy_biomes_values put_biomes_data put_biomes_value put_biomes_values put_legacy_biomes_data put_legacy_biomes_value put_legacy_biomes_values
Load and store BlockEntity NBT dataBlockEntity get_block_entity_data get_block_entity_value get_block_entity_values put_block_entity_data put_block_entity_value put_block_entity_values
Load and store Checksums dataChecksums get_checksums_data get_checksums_value get_checksums_values read_checksums_value update_checksums_data write_checksums_value
Read and manipulate chunk keyschunk_keys chunk_origins chunk_positions chunk_tag_int chunk_tag_str create_chunk_keys parse_chunk_keys
Get or set the coordinates of the origin of a chunkchunk_origin chunk_origin<-
Read and write chunk version dataChunkVersion get_chunk_version_data get_chunk_version_value get_chunk_version_values put_chunk_version_data put_chunk_version_value put_chunk_version_values read_chunk_version_value write_chunk_version_value
Read and write Data2D dataData2D get_data2d_data get_data2d_value get_data2d_values put_data2d_data put_data2d_value put_data2d_values read_data2d_value write_data2d_value
Read and write Data3D dataData3D get_data3d_data get_data3d_value get_data3d_values put_data3d_data put_data3d_value put_data3d_values read_data3d_value write_data3d_value
Remove values from a bedrockdb.delete_values
Load and store Entity NBT dataEntity get_entity_data get_entity_value get_entity_values put_entity_data put_entity_value put_entity_values
Load and store FinalizedState dataFinalizedState get_finalized_state_data get_finalized_state_value get_finalized_state_values put_finalized_state_data put_finalized_state_value put_finalized_state_values read_finalized_state_value write_finalized_state_value
Load block data from one or more chunksget_chunk_blocks_data get_chunk_blocks_value get_chunk_blocks_values put_chunk_blocks_data put_chunk_blocks_value put_chunk_blocks_values
Get a list of keys stored in a bedrockdb.get_keys
Read and Write NBT Dataget_nbt_data get_nbt_value get_nbt_values put_nbt_data put_nbt_value put_nbt_values read_nbt read_nbt_data write_nbt write_nbt_data
Read values stored in a bedrockdb.get_data get_value get_values has_values
Read and write HardcodedSpawnArea (HSA) dataget_hsa_data get_hsa_value get_hsa_values HSA put_hsa_data put_hsa_value put_hsa_values read_hsa_value write_hsa_value
List Minecraft Bedrock Edition biomes.biome_id list_biomes
Locate the coordinates of blocks in a chunklocate_blocks
Utilities for working with Minecraft world folders.create_world export_world get_world_path import_world list_worlds minecraft_worlds worlds_dir_path
Create an NBT valueget_nbt_tag is_nbt nbt_byte nbt_byte_array nbt_compound nbt_double nbt_float nbt_int nbt_int_array nbt_list nbt_long nbt_long_array nbt_raw_string nbt_short nbt_string payload unnbt
Load and store PendingTicks NBT dataget_pending_ticks_data get_pending_ticks_value get_pending_ticks_values PendingTicks put_pending_ticks_data put_pending_ticks_value put_pending_ticks_values
Write values to a bedrockdb.put_data put_value put_values
Load and store RandomTicks NBT dataget_random_ticks_data get_random_ticks_value get_random_ticks_values put_random_ticks_data put_random_ticks_value put_random_ticks_values RandomTicks
Get path to rbedrock examplerbedrock_example rbedrock_example_world
Read and write data from a world's level.dat file.read_leveldat write_leveldat
Calculate a player-based simulation areasimulation_area
Calculate a player-based spawning areaspawning_area
Load and store SubchunkBlocks dataget_subchunk_blocks_data get_subchunk_blocks_from_chunk get_subchunk_blocks_value get_subchunk_blocks_values put_subchunk_blocks_data put_subchunk_blocks_value put_subchunk_blocks_values read_subchunk_blocks_value SubchunkBlocks subchunk_coords subchunk_origins write_subchunk_blocks_value