You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue is present with handling of NBT data within OldBlock class. Possibly need to create a new-block-object with the same properties (referenced from OldBlock object) instead of just referencing the same object. <-- within core loop of negative.py.
This issue could be solved with some brain time but it comes with larger issues behind the current anvil parser. Will keep issue open for documentation purposes, however re-write of anvil parser will take priority in work-time.
====================================================================================================
ALL ARGUMENTS: ['negative.py', 'Pre', 'Post', 'new', 'output', '-t', '12']
ARGUMENTS: ['-t', '12']
pre: Pre post: Post new: new output: output
wd: A:\!\M\Minecraft Negative\aaron test 1
====================================================================================================
Thread count set to (12)
REGION[ -01 000 ] new thread
REGION[ 000 000 ] new thread
REGION[ -01 000 ] region file exists in all
REGION[ 000 000 ] region file exists in all
Traceback (most recent call last):
File "A:\!\M\Minecraft Negative\aaron test 1\negative.py", line 260, in <module>
threading_results = pool.starmap(process_region, zip(filelist, itertools.repeat(wd_pre_region), itertools.repeat(wd_post_region), itertools.repeat(wd_new_region), itertools.repeat(wd_output_region), itertools.repeat(include_bedrock)))
File "C:\Users\bjg15\AppData\Local\Programs\Python\Python39\lib\multiprocessing\pool.py", line 372, in starmap
return self._map_async(func, iterable, starmapstar, chunksize).get()
File "C:\Users\bjg15\AppData\Local\Programs\Python\Python39\lib\multiprocessing\pool.py", line 771, in get
raise self._value
File "C:\Users\bjg15\AppData\Local\Programs\Python\Python39\lib\multiprocessing\pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "C:\Users\bjg15\AppData\Local\Programs\Python\Python39\lib\multiprocessing\pool.py", line 51, in starmapstar
return list(itertools.starmap(args[0], args[1]))
File "A:\!\M\Minecraft Negative\aaron test 1\negative.py", line 234, in process_region
output_region.save(file_to_save)
File "A:\!\M\Minecraft Negative\aaron test 1\anvil\empty_region.py", line 218, in save
nbt_data = chunk.save()
File "A:\!\M\Minecraft Negative\aaron test 1\anvil\empty_chunk.py", line 161, in save
sections.tags.append(s.save())
File "A:\!\M\Minecraft Negative\aaron test 1\anvil\empty_section.py", line 152, in save
tag.tags.append(nbt.TAG_String(name='Name', value=block.name()))
AttributeError: 'OldBlock' object has no attribute 'name'
The text was updated successfully, but these errors were encountered:
Issue is present with handling of NBT data within OldBlock class. Possibly need to create a new-block-object with the same properties (referenced from OldBlock object) instead of just referencing the same object. <-- within core loop of negative.py.
This issue could be solved with some brain time but it comes with larger issues behind the current anvil parser. Will keep issue open for documentation purposes, however re-write of anvil parser will take priority in work-time.
The text was updated successfully, but these errors were encountered: