This is a BDS mod which allows generating useful data used in AllayMC Project
(such as block_attributes and item_data) from BDS server.
- Install windows version BedrockServer. see here.
- Set the property
block-network-ids-are-hashes
in fileserver.properties
tofalse
. - Download PeEditor. see here,then move
PeEditor.exe
in the same path as BDS
runPeEditor -m -n
. - Download PreLoader. see here,then move
PreLoader.dll
in the same path as BDS. - Download the latest release and put it in the
plugins
folder. - Run
bedrock_server_mod.exe
, then enter the game, teleport to pos0 200 0
, typeext
in the chat, the output files will create indata/*
.
- Clone project source
git clone https://github.com/AllayMC/DataExtractor
. - You need to install Visual Studio's C++ desktop application development and SDK for Windows 10 or above, as well as
xmake
build tool. - Before building, please run
xmake project -k cmake
to generate the cmakefile for code completion, then will download thePeEditor.exe
. After that, a file selection window will pop up, please select the symbol file(.pdb
) corresponding to the BDS version. - Install the xmake extension for Visual Studio, open it in
extensions/XMake
, selectmode release
,platform windows
,architecture x64
, and click Build.
Note: If you are updating your BDS version, before build this plugin, you also need to update bedrock_server_api.lib
and bedrock_server_var.lib
in the DataExtractor\build\bds\lib
folder. To generate these files, please run PeEditor.exe -l
in the same path as BDS
Thanks to LeviLamina for their great work!
Thanks to bds-data-scraper for providing me some ideas about how to get the block types!