shibetemple / mc-negative Goto Github PK
View Code? Open in Web Editor NEWTranspose Minecraft world changes, even across versions.
Transpose Minecraft world changes, even across versions.
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'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.