issues
search
NTNU-GDMC
/
GDMC
1
stars
1
forks
source link
update nbt_builder
#16
Closed
KutsunaSubaRya
closed
1 year ago
KutsunaSubaRya
commented
1 year ago
Usage of nbt_builder
absPath = getNBTAbsPath(name, type, level)
get the absolute path of the nbt file.
name, level can be found in src/building_util/building.py
type can be found in src/building_util/building_info.py
nbt_struct = nbt.NBTFile(absPath)
get the nbt structure.
buildFromStructureNBT(nbt_struct, baseX, baseY, baseZ, biome)
build the structure
biome default is "".
Usage of nbt_builder