Code Monkey home page Code Monkey logo

mc-negative's People

Contributors

shibetemple avatar

Watchers

 avatar  avatar

mc-negative's Issues

Pre 1.13 to 1.13+ world does not work

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'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.